0s autopkgtest [11:22:14]: starting date and time: 2024-11-13 11:22:14+0000 0s autopkgtest [11:22:14]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [11:22:14]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ophsook6/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-20.secgroup --name adt-plucky-s390x-glib2.0-20241113-112213-juju-7f2275-prod-proposed-migration-environment-2-f7a279aa-b58f-4bb6-82c1-fe3191bf7e60 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 120s autopkgtest [11:24:14]: testbed dpkg architecture: s390x 120s autopkgtest [11:24:14]: testbed apt version: 2.9.8 120s autopkgtest [11:24:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 121s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 121s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 121s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 121s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 121s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [85.8 kB] 121s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [565 kB] 121s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 121s Fetched 1689 kB in 1s (2314 kB/s) 122s Reading package lists... 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Calculating upgrade... 124s The following NEW packages will be installed: 124s python3.13-gdbm 124s The following packages will be upgraded: 124s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 124s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 124s Need to get 252 kB of archives. 124s After this operation, 98.3 kB of additional disk space will be used. 124s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.7-1 [27.4 kB] 124s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.7-1 [24.0 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.7-1 [10.0 kB] 124s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-gdbm s390x 3.13.0-2 [31.0 kB] 125s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-gdbm s390x 3.12.7-1 [8642 B] 125s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.23.2-5ubuntu4 [151 kB] 125s Fetched 252 kB in 0s (636 kB/s) 125s (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 ... 55510 files and directories currently installed.) 125s Preparing to unpack .../python3-minimal_3.12.7-1_s390x.deb ... 125s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 125s Setting up python3-minimal (3.12.7-1) ... 125s (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 ... 55510 files and directories currently installed.) 125s Preparing to unpack .../python3_3.12.7-1_s390x.deb ... 125s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 125s Preparing to unpack .../libpython3-stdlib_3.12.7-1_s390x.deb ... 125s Unpacking libpython3-stdlib:s390x (3.12.7-1) over (3.12.6-0ubuntu1) ... 125s Selecting previously unselected package python3.13-gdbm. 125s Preparing to unpack .../python3.13-gdbm_3.13.0-2_s390x.deb ... 125s Unpacking python3.13-gdbm (3.13.0-2) ... 125s Preparing to unpack .../python3-gdbm_3.12.7-1_s390x.deb ... 125s Unpacking python3-gdbm:s390x (3.12.7-1) over (3.12.6-1ubuntu1) ... 125s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_s390x.deb ... 125s Unpacking libgpgme11t64:s390x (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 125s Setting up libgpgme11t64:s390x (1.23.2-5ubuntu4) ... 125s Setting up python3.13-gdbm (3.13.0-2) ... 125s Setting up libpython3-stdlib:s390x (3.12.7-1) ... 125s Setting up python3 (3.12.7-1) ... 125s Setting up python3-gdbm:s390x (3.12.7-1) ... 125s Processing triggers for man-db (2.12.1-3) ... 126s Processing triggers for libc-bin (2.40-1ubuntu3) ... 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 127s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 127s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 127s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 128s Reading package lists... 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s Calculating upgrade... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s autopkgtest [11:24:27]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 133s autopkgtest [11:24:27]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 142s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (dsc) [4656 B] 142s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [263 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [5554 kB] 142s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (diff) [132 kB] 142s gpgv: Signature made Tue Sep 24 13:26:08 2024 UTC 142s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 142s gpgv: Can't check signature: No public key 142s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.1-0ubuntu1.dsc: no acceptable signature found 143s autopkgtest [11:24:37]: testing package glib2.0 version 2.82.1-0ubuntu1 143s autopkgtest [11:24:37]: build not needed 146s autopkgtest [11:24:40]: test build: preparing testbed 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Starting pkgProblemResolver with broken count: 0 148s Starting 2 pkgProblemResolver with broken count: 0 148s Done 148s The following additional packages will be installed: 148s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 148s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 148s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 148s libffi-dev libgcc-14-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 148s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 148s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 148s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 148s libubsan1 pkgconf pkgconf-bin python3-packaging uuid-dev zlib1g-dev 148s Suggested packages: 148s cpp-doc gcc-14-locales cpp-14-doc gcc-14-doc gcc-multilib manpages-dev 148s autoconf automake libtool flex bison gdb gcc-doc gdb-s390x-linux-gnu 148s gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils 148s libstdc++-14-doc 149s The following NEW packages will be installed: 149s autopkgtest-satdep build-essential cpp cpp-14 cpp-14-s390x-linux-gnu 149s cpp-s390x-linux-gnu g++ g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu 149s gcc gcc-14 gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev 149s libcc1-0 libffi-dev libgcc-14-dev libgirepository-2.0-0 libglib2.0-bin 149s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev 149s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 149s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 149s libubsan1 pkgconf pkgconf-bin python3-packaging uuid-dev zlib1g-dev 149s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 149s Need to get 54.2 MB/54.2 MB of archives. 149s After this operation, 179 MB of additional disk space will be used. 149s Get:1 /tmp/autopkgtest.6MOKpm/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 149s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 149s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 149s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [9570 kB] 149s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-8ubuntu1 [1026 B] 149s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 149s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 149s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-8ubuntu1 [50.6 kB] 149s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-8ubuntu1 [151 kB] 149s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-8ubuntu1 [30.9 kB] 149s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-8ubuntu1 [2963 kB] 150s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-8ubuntu1 [1184 kB] 150s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-8ubuntu1 [1037 kB] 150s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [18.7 MB] 150s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-8ubuntu1 [518 kB] 150s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 150s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 150s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-8ubuntu1 [2608 kB] 151s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [11.0 MB] 151s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-8ubuntu1 [19.9 kB] 151s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 151s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 151s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 151s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.1-0ubuntu1 [74.4 kB] 151s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.82.1-0ubuntu1 [100 kB] 151s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.6-1build1 [58.8 kB] 151s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 151s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.1-0ubuntu1 [139 kB] 151s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-1ubuntu1 [52.4 kB] 151s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-1ubuntu1 [231 kB] 151s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 151s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 151s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 151s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 151s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 151s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.5-2ubuntu5 [167 kB] 151s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-1ubuntu1 [33.0 kB] 151s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 47.0-2 [51.5 kB] 151s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 151s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 151s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 151s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 151s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev s390x 2.82.1-0ubuntu1 [1893 kB] 152s Fetched 54.2 MB in 3s (19.6 MB/s) 152s Selecting previously unselected package libisl23:s390x. 152s (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 ... 55517 files and directories currently installed.) 152s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 152s Unpacking libisl23:s390x (0.27-1) ... 152s Selecting previously unselected package libmpc3:s390x. 152s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 152s Unpacking libmpc3:s390x (1.3.1-1build2) ... 152s Selecting previously unselected package cpp-14-s390x-linux-gnu. 152s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package cpp-14. 152s Preparing to unpack .../03-cpp-14_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package cpp-s390x-linux-gnu. 152s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 152s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 152s Selecting previously unselected package cpp. 152s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 152s Unpacking cpp (4:14.1.0-2ubuntu1) ... 152s Selecting previously unselected package libcc1-0:s390x. 152s Preparing to unpack .../06-libcc1-0_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libcc1-0:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package libgomp1:s390x. 152s Preparing to unpack .../07-libgomp1_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libgomp1:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package libitm1:s390x. 152s Preparing to unpack .../08-libitm1_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libitm1:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package libasan8:s390x. 152s Preparing to unpack .../09-libasan8_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libasan8:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package libubsan1:s390x. 152s Preparing to unpack .../10-libubsan1_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libubsan1:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package libgcc-14-dev:s390x. 152s Preparing to unpack .../11-libgcc-14-dev_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package gcc-14-s390x-linux-gnu. 152s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package gcc-14. 152s Preparing to unpack .../13-gcc-14_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package gcc-s390x-linux-gnu. 152s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 152s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 152s Selecting previously unselected package gcc. 152s Preparing to unpack .../15-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 152s Unpacking gcc (4:14.1.0-2ubuntu1) ... 152s Selecting previously unselected package libstdc++-14-dev:s390x. 152s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 152s Selecting previously unselected package g++-14-s390x-linux-gnu. 152s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 152s Unpacking g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 153s Selecting previously unselected package g++-14. 153s Preparing to unpack .../18-g++-14_14.2.0-8ubuntu1_s390x.deb ... 153s Unpacking g++-14 (14.2.0-8ubuntu1) ... 153s Selecting previously unselected package g++-s390x-linux-gnu. 153s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 153s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Selecting previously unselected package g++. 153s Preparing to unpack .../20-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 153s Unpacking g++ (4:14.1.0-2ubuntu1) ... 153s Selecting previously unselected package build-essential. 153s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 153s Unpacking build-essential (12.10ubuntu1) ... 153s Selecting previously unselected package libgirepository-2.0-0:s390x. 153s Preparing to unpack .../22-libgirepository-2.0-0_2.82.1-0ubuntu1_s390x.deb ... 153s Unpacking libgirepository-2.0-0:s390x (2.82.1-0ubuntu1) ... 153s Selecting previously unselected package libglib2.0-bin. 153s Preparing to unpack .../23-libglib2.0-bin_2.82.1-0ubuntu1_s390x.deb ... 153s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 153s Selecting previously unselected package libffi-dev:s390x. 153s Preparing to unpack .../24-libffi-dev_3.4.6-1build1_s390x.deb ... 153s Unpacking libffi-dev:s390x (3.4.6-1build1) ... 153s Selecting previously unselected package python3-packaging. 153s Preparing to unpack .../25-python3-packaging_24.1-1_all.deb ... 153s Unpacking python3-packaging (24.1-1) ... 153s Selecting previously unselected package libglib2.0-dev-bin. 153s Preparing to unpack .../26-libglib2.0-dev-bin_2.82.1-0ubuntu1_s390x.deb ... 153s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 153s Selecting previously unselected package uuid-dev:s390x. 153s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu1_s390x.deb ... 153s Unpacking uuid-dev:s390x (2.40.2-1ubuntu1) ... 153s Selecting previously unselected package libblkid-dev:s390x. 153s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu1_s390x.deb ... 153s Unpacking libblkid-dev:s390x (2.40.2-1ubuntu1) ... 153s Selecting previously unselected package libsepol-dev:s390x. 153s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ... 153s Unpacking libsepol-dev:s390x (3.7-1) ... 153s Selecting previously unselected package libpcre2-16-0:s390x. 153s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 153s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 153s Selecting previously unselected package libpcre2-32-0:s390x. 153s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 153s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 153s Selecting previously unselected package libpcre2-posix3:s390x. 153s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 153s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 153s Selecting previously unselected package libpcre2-dev:s390x. 153s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 153s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 153s Selecting previously unselected package libselinux1-dev:s390x. 153s Preparing to unpack .../34-libselinux1-dev_3.5-2ubuntu5_s390x.deb ... 153s Unpacking libselinux1-dev:s390x (3.5-2ubuntu5) ... 153s Selecting previously unselected package libmount-dev:s390x. 153s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu1_s390x.deb ... 153s Unpacking libmount-dev:s390x (2.40.2-1ubuntu1) ... 153s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 153s Preparing to unpack .../36-libsysprof-capture-4-dev_47.0-2_s390x.deb ... 153s Unpacking libsysprof-capture-4-dev:s390x (47.0-2) ... 153s Selecting previously unselected package libpkgconf3:s390x. 153s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ... 153s Unpacking libpkgconf3:s390x (1.8.1-4) ... 153s Selecting previously unselected package pkgconf-bin. 153s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ... 153s Unpacking pkgconf-bin (1.8.1-4) ... 153s Selecting previously unselected package pkgconf:s390x. 153s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ... 153s Unpacking pkgconf:s390x (1.8.1-4) ... 153s Selecting previously unselected package zlib1g-dev:s390x. 153s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 153s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 153s Selecting previously unselected package libglib2.0-dev:s390x. 153s Preparing to unpack .../41-libglib2.0-dev_2.82.1-0ubuntu1_s390x.deb ... 153s Unpacking libglib2.0-dev:s390x (2.82.1-0ubuntu1) ... 153s Selecting previously unselected package autopkgtest-satdep. 153s Preparing to unpack .../42-1-autopkgtest-satdep.deb ... 153s Unpacking autopkgtest-satdep (0) ... 153s Setting up libgirepository-2.0-0:s390x (2.82.1-0ubuntu1) ... 153s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 153s Setting up libgomp1:s390x (14.2.0-8ubuntu1) ... 153s Setting up libffi-dev:s390x (3.4.6-1build1) ... 153s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 153s Setting up libsysprof-capture-4-dev:s390x (47.0-2) ... 153s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 153s Setting up python3-packaging (24.1-1) ... 153s Setting up libpkgconf3:s390x (1.8.1-4) ... 153s Setting up uuid-dev:s390x (2.40.2-1ubuntu1) ... 153s Setting up libmpc3:s390x (1.3.1-1build2) ... 153s Setting up libsepol-dev:s390x (3.7-1) ... 153s Setting up pkgconf-bin (1.8.1-4) ... 153s Setting up libubsan1:s390x (14.2.0-8ubuntu1) ... 153s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 153s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 153s Setting up libasan8:s390x (14.2.0-8ubuntu1) ... 153s Setting up libisl23:s390x (0.27-1) ... 153s Setting up libcc1-0:s390x (14.2.0-8ubuntu1) ... 153s Setting up libitm1:s390x (14.2.0-8ubuntu1) ... 153s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 153s Setting up libblkid-dev:s390x (2.40.2-1ubuntu1) ... 153s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 153s Setting up libselinux1-dev:s390x (3.5-2ubuntu5) ... 153s Setting up pkgconf:s390x (1.8.1-4) ... 153s Setting up cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 153s Setting up cpp-14 (14.2.0-8ubuntu1) ... 153s Setting up libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 153s Setting up libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 153s Setting up libmount-dev:s390x (2.40.2-1ubuntu1) ... 153s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Setting up gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 153s Setting up libglib2.0-dev:s390x (2.82.1-0ubuntu1) ... 153s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Setting up g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 153s Setting up cpp (4:14.1.0-2ubuntu1) ... 153s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Setting up gcc-14 (14.2.0-8ubuntu1) ... 153s Setting up g++-14 (14.2.0-8ubuntu1) ... 153s Setting up gcc (4:14.1.0-2ubuntu1) ... 153s Setting up g++ (4:14.1.0-2ubuntu1) ... 153s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 153s Setting up build-essential (12.10ubuntu1) ... 153s Processing triggers for libc-bin (2.40-1ubuntu3) ... 153s Processing triggers for man-db (2.12.1-3) ... 154s Processing triggers for libglib2.0-0t64:s390x (2.82.1-0ubuntu1) ... 154s No schema files found: doing nothing. 154s Processing triggers for install-info (7.1.1-1) ... 154s Setting up autopkgtest-satdep (0) ... 156s (Reading database ... 57622 files and directories currently installed.) 156s Removing autopkgtest-satdep (0) ... 156s autopkgtest [11:24:50]: test build: [----------------------- 157s + mode=dynamic 157s + getopt -o --long static -n debian/tests/build -- 157s + getopt_temp= -- 157s + eval set -- -- 157s + set -- -- 157s + true 157s + shift 157s + break 157s + mktemp -d 157s + WORKDIR=/tmp/tmp.vVWt6Vpl3C 157s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 157s + cd /tmp/tmp.vVWt6Vpl3C 157s + [ -n ] 157s + CROSS_COMPILE= 157s + cat 157s + cat 157s + cat 157s + cat 157s + cat 157s + cat 157s + cflags= 157s + pcflags= 157s + packages=glib-2.0 157s + pkg-config --cflags --libs glib-2.0 157s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 157s build (glib, dynamic): OK 157s + echo build (glib, dynamic): OK 157s + [ -x glib-dynamic ] 157s + foo=bar ./glib-dynamic 157s run (glib, dynamic): OK 157s + echo run (glib, dynamic): OK 157s + cflags= 157s + pcflags= 157s + packages=gobject-2.0 157s + pkg-config --cflags --libs gobject-2.0 157s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 157s + echo build (gobject, dynamic): OK 157s + [ -x gobject-dynamic ] 157s + foo=bar ./gobject-dynamic 157s build (gobject, dynamic): OK 157s + echo run (gobject, dynamic): OK 157s + cflags= 157s + pcflags= 157s + packages=gio-2.0 157s + pkg-config --cflags --libs gio-2.0 157s run (gobject, dynamic): OK 157s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 157s + echo build (gio, dynamic): OK 157s + [ -x gio-dynamic ] 157s + foo=bar ./gio-dynamic 157s build (gio, dynamic): OK 157s run (gio, dynamic): OK 157s + echo run (gio, dynamic): OK 157s + cflags= 157s + pcflags= 157s + packages=gio-unix-2.0 157s + pkg-config --cflags --libs gio-unix-2.0 157s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 157s + echo build (gio-unix, dynamic): OK 157s + [ -x gio-unix-dynamic ] 157s + foo=bar ./gio-unix-dynamic 157s + echo run (gio-unix, dynamic): OK 157s + cflags= 157s + pcflags= 157s + packages=gmodule-2.0 157s + pkg-config --cflags --libs gmodule-2.0 157s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 157s build (gio-unix, dynamic): OK 157s run (gio-unix, dynamic): OK 157s + echo build (gmodule, dynamic): OK 157s + [ -x gmodule-dynamic ] 157s + foo=bar ./gmodule-dynamic 157s + echo run (gmodule, dynamic): OK 157s + cflags= 157s + pcflags= 157s + packages=gthread-2.0 157s + pkg-config --cflags --libs gthread-2.0 157s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 157s build (gmodule, dynamic): OK 157s run (gmodule, dynamic): OK 157s build (gthread, dynamic): OK 157s run (gthread, dynamic): OK 157s + echo build (gthread, dynamic): OK 157s + [ -x gthread-dynamic ] 157s + foo=bar ./gthread-dynamic 157s + echo run (gthread, dynamic): OK 157s + rm -rf /tmp/tmp.vVWt6Vpl3C 158s autopkgtest [11:24:52]: test build: -----------------------] 158s build PASS (superficial) 158s autopkgtest [11:24:52]: test build: - - - - - - - - - - results - - - - - - - - - - 159s autopkgtest [11:24:53]: test build-static: preparing testbed 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Starting pkgProblemResolver with broken count: 0 160s Starting 2 pkgProblemResolver with broken count: 0 160s Done 160s The following NEW packages will be installed: 160s autopkgtest-satdep 160s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 160s Need to get 0 B/720 B of archives. 160s After this operation, 0 B of additional disk space will be used. 160s Get:1 /tmp/autopkgtest.6MOKpm/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 161s Selecting previously unselected package autopkgtest-satdep. 161s (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 ... 57622 files and directories currently installed.) 161s Preparing to unpack .../2-autopkgtest-satdep.deb ... 161s Unpacking autopkgtest-satdep (0) ... 161s Setting up autopkgtest-satdep (0) ... 162s (Reading database ... 57622 files and directories currently installed.) 162s Removing autopkgtest-satdep (0) ... 163s autopkgtest [11:24:57]: test build-static: [----------------------- 163s + mode=dynamic 163s + getopt -o --long static -n debian/tests/build -- --static 163s + getopt_temp= --static -- 163s + eval set -- --static -- 163s + set -- --static -- 163s + true 163s + mode=static 163s + shift 163s + continue 163s + true 163s + shift 163s + break 163s + mktemp -d 163s + WORKDIR=/tmp/tmp.09nU7aLXHV 163s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 163s + cd /tmp/tmp.09nU7aLXHV 163s + [ -n ] 163s + CROSS_COMPILE= 163s + cat 163s + cat 163s + cat 163s + cat 163s + cat 163s + cat 163s + cflags= 163s + pcflags= 163s + packages=glib-2.0 163s + cflags=-static 163s + pcflags=--static 163s + pkg-config --static --cflags --libs glib-2.0 163s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 163s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 163s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s build (glib, static): OK 163s + echo build (glib, static): OK 163s + [ -x glib-static ] 163s + foo=bar ./glib-static 163s + echo run (glib, static): OK 163s + cflags= 163s + pcflags= 163s + packages=gobject-2.0 163s + cflags=-static 163s + pcflags=--static 163s + run (glib, static): OK 163s pkg-config --static --cflags --libs gobject-2.0 163s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 163s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 163s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s build (gobject, static): OK 163s + echo build (gobject, static): OK 163s + [ -x gobject-static ] 163s + foo=bar ./gobject-static 163s run (gobject, static): OK 163s + echo run (gobject, static): OK 163s + cflags= 163s + pcflags= 163s + packages=gio-2.0 163s + cflags=-static 163s + pcflags=--static 163s + continue 163s + cflags= 163s + pcflags= 163s + packages=gio-unix-2.0 163s + cflags=-static 163s + pcflags=--static 163s + continue 163s + cflags= 163s + pcflags= 163s + packages=gmodule-2.0 163s + cflags=-static 163s + pcflags=--static 163s + pkg-config --static --cflags --libs gmodule-2.0 163s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 163s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 163s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 163s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 163s build (gmodule, static): OK 163s + echo build (gmodule, static): OK 163s + [ -x gmodule-static ] 163s + foo=bar ./gmodule-static 163s + echo run (gmodule, static): OK 163s + cflags= 163s + pcflags= 163s + packages=gthread-2.0 163s + cflags=-static 163s + pcflags=--static 163s run (gmodule, static): OK 163s + pkg-config --static --cflags --libs gthread-2.0 163s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 164s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 164s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 164s build (gthread, static): OK 164s + echo build (gthread, static): OK 164s + [ -x gthread-static ] 164s + foo=bar ./gthread-static 164s run (gthread, static): OK 164s + echo run (gthread, static): OK 164s + rm -rf /tmp/tmp.09nU7aLXHV 164s autopkgtest [11:24:58]: test build-static: -----------------------] 164s autopkgtest [11:24:58]: test build-static: - - - - - - - - - - results - - - - - - - - - - 164s build-static PASS (superficial) 165s autopkgtest [11:24:59]: test installed-tests: preparing testbed 300s autopkgtest [11:27:14]: testbed dpkg architecture: s390x 300s autopkgtest [11:27:14]: testbed apt version: 2.9.8 300s autopkgtest [11:27:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 301s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 302s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 302s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 302s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 302s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 302s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [85.8 kB] 302s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [565 kB] 302s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 302s Fetched 1689 kB in 1s (2121 kB/s) 302s Reading package lists... 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 305s Calculating upgrade... 305s The following NEW packages will be installed: 305s python3.13-gdbm 305s The following packages will be upgraded: 305s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 305s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 305s Need to get 252 kB of archives. 305s After this operation, 98.3 kB of additional disk space will be used. 305s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.7-1 [27.4 kB] 305s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.7-1 [24.0 kB] 305s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.7-1 [10.0 kB] 305s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-gdbm s390x 3.13.0-2 [31.0 kB] 305s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-gdbm s390x 3.12.7-1 [8642 B] 305s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.23.2-5ubuntu4 [151 kB] 305s Fetched 252 kB in 0s (620 kB/s) 306s (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 ... 55510 files and directories currently installed.) 306s Preparing to unpack .../python3-minimal_3.12.7-1_s390x.deb ... 306s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 306s Setting up python3-minimal (3.12.7-1) ... 306s (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 ... 55510 files and directories currently installed.) 306s Preparing to unpack .../python3_3.12.7-1_s390x.deb ... 306s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 306s Preparing to unpack .../libpython3-stdlib_3.12.7-1_s390x.deb ... 306s Unpacking libpython3-stdlib:s390x (3.12.7-1) over (3.12.6-0ubuntu1) ... 306s Selecting previously unselected package python3.13-gdbm. 306s Preparing to unpack .../python3.13-gdbm_3.13.0-2_s390x.deb ... 306s Unpacking python3.13-gdbm (3.13.0-2) ... 306s Preparing to unpack .../python3-gdbm_3.12.7-1_s390x.deb ... 306s Unpacking python3-gdbm:s390x (3.12.7-1) over (3.12.6-1ubuntu1) ... 306s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_s390x.deb ... 306s Unpacking libgpgme11t64:s390x (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 306s Setting up libgpgme11t64:s390x (1.23.2-5ubuntu4) ... 306s Setting up python3.13-gdbm (3.13.0-2) ... 306s Setting up libpython3-stdlib:s390x (3.12.7-1) ... 306s Setting up python3 (3.12.7-1) ... 306s Setting up python3-gdbm:s390x (3.12.7-1) ... 306s Processing triggers for man-db (2.12.1-3) ... 306s Processing triggers for libc-bin (2.40-1ubuntu3) ... 307s Reading package lists... 307s Building dependency tree... 307s Reading state information... 307s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 307s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 308s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 308s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 308s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 308s Reading package lists... 308s Reading package lists... 309s Building dependency tree... 309s Reading state information... 309s Calculating upgrade... 309s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 309s Reading package lists... 309s Building dependency tree... 309s Reading state information... 309s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 313s Reading package lists... 313s Building dependency tree... 313s Reading state information... 314s Starting pkgProblemResolver with broken count: 0 314s Starting 2 pkgProblemResolver with broken count: 0 314s Done 314s The following additional packages will be installed: 314s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 314s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgirepository-2.0-0 libgl1 314s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 314s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 314s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 314s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 314s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 314s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 314s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 314s xvfb 314s Suggested packages: 314s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 314s Recommended packages: 314s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 314s xfonts-base 314s The following NEW packages will be installed: 314s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 314s libdrm-amdgpu1 libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 314s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 314s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 314s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 314s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 314s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 314s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 314s mesa-libgallium python3-dbusmock python3-packaging x11-common x11-xkb-utils 314s xserver-common xvfb 314s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 314s Need to get 13.9 MB/13.9 MB of archives. 314s After this operation, 58.3 MB of additional disk space will be used. 314s Get:1 /tmp/autopkgtest.6MOKpm/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 314s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dbus-x11 s390x 1.14.10-4ubuntu5 [24.0 kB] 314s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x desktop-file-utils s390x 0.27-2build1 [54.0 kB] 314s Get:4 http://ftpmaster.internal/ubuntu plucky/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB] 314s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libdrm-amdgpu1 s390x 2.4.123-1 [21.2 kB] 314s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libdrm-radeon1 s390x 2.4.123-1 [22.4 kB] 314s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB] 314s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 314s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libwayland-server0 s390x 1.23.0-1 [36.5 kB] 314s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB] 314s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libglapi-mesa s390x 24.2.3-1ubuntu1 [67.8 kB] 314s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B] 314s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri2-0 s390x 1.17.0-2 [7448 B] 314s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B] 314s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B] 314s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B] 314s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB] 314s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B] 314s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x mesa-libgallium s390x 24.2.3-1ubuntu1 [7709 kB] 315s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgbm1 s390x 24.2.3-1ubuntu1 [33.7 kB] 315s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.1-0ubuntu1 [74.4 kB] 315s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libvulkan1 s390x 1.3.296.0-1 [143 kB] 315s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1-mesa-dri s390x 24.2.3-1ubuntu1 [34.4 kB] 315s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-bin s390x 2.82.1-0ubuntu1 [100 kB] 315s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 315s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.1-0ubuntu1 [139 kB] 315s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dbusmock all 0.32.2-1 [90.6 kB] 315s Get:28 http://ftpmaster.internal/ubuntu plucky/universe s390x libglib2.0-tests s390x 2.82.1-0ubuntu1 [2162 kB] 315s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB] 315s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 315s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libxfixes3 s390x 1:6.0.0-2build1 [11.3 kB] 315s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B] 315s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libglx-mesa0 s390x 24.2.3-1ubuntu1 [175 kB] 315s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 315s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 315s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 315s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 315s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 315s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 315s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 315s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 315s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB] 315s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB] 315s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 315s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB] 315s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x x11-xkb-utils s390x 7.7+9 [169 kB] 315s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x xserver-common all 2:21.1.14-1ubuntu1 [33.7 kB] 315s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB] 315s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB] 315s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1 s390x 1.7.0-1build1 [142 kB] 315s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x xvfb s390x 2:21.1.14-1ubuntu1 [940 kB] 315s Fetched 13.9 MB in 1s (10.6 MB/s) 315s Selecting previously unselected package dbus-x11. 315s (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 ... 55517 files and directories currently installed.) 315s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_s390x.deb ... 315s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 315s Selecting previously unselected package desktop-file-utils. 315s Preparing to unpack .../01-desktop-file-utils_0.27-2build1_s390x.deb ... 315s Unpacking desktop-file-utils (0.27-2build1) ... 316s Selecting previously unselected package gnome-desktop-testing. 316s Preparing to unpack .../02-gnome-desktop-testing_2021.1-4_s390x.deb ... 316s Unpacking gnome-desktop-testing (2021.1-4) ... 316s Selecting previously unselected package libdrm-amdgpu1:s390x. 316s Preparing to unpack .../03-libdrm-amdgpu1_2.4.123-1_s390x.deb ... 316s Unpacking libdrm-amdgpu1:s390x (2.4.123-1) ... 316s Selecting previously unselected package libdrm-radeon1:s390x. 316s Preparing to unpack .../04-libdrm-radeon1_2.4.123-1_s390x.deb ... 316s Unpacking libdrm-radeon1:s390x (2.4.123-1) ... 316s Selecting previously unselected package libfontenc1:s390x. 316s Preparing to unpack .../05-libfontenc1_1%3a1.1.8-1build1_s390x.deb ... 316s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ... 316s Selecting previously unselected package libfreetype6:s390x. 316s Preparing to unpack .../06-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 316s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 316s Selecting previously unselected package libwayland-server0:s390x. 316s Preparing to unpack .../07-libwayland-server0_1.23.0-1_s390x.deb ... 316s Unpacking libwayland-server0:s390x (1.23.0-1) ... 316s Selecting previously unselected package libxcb-randr0:s390x. 316s Preparing to unpack .../08-libxcb-randr0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-randr0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libglapi-mesa:s390x. 316s Preparing to unpack .../09-libglapi-mesa_24.2.3-1ubuntu1_s390x.deb ... 316s Unpacking libglapi-mesa:s390x (24.2.3-1ubuntu1) ... 316s Selecting previously unselected package libx11-xcb1:s390x. 316s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.10-2_s390x.deb ... 316s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ... 316s Selecting previously unselected package libxcb-dri2-0:s390x. 316s Preparing to unpack .../11-libxcb-dri2-0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-dri2-0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxcb-dri3-0:s390x. 316s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxcb-present0:s390x. 316s Preparing to unpack .../13-libxcb-present0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-present0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxcb-sync1:s390x. 316s Preparing to unpack .../14-libxcb-sync1_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-sync1:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxcb-xfixes0:s390x. 316s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxshmfence1:s390x. 316s Preparing to unpack .../16-libxshmfence1_1.3-1build5_s390x.deb ... 316s Unpacking libxshmfence1:s390x (1.3-1build5) ... 316s Selecting previously unselected package mesa-libgallium:s390x. 316s Preparing to unpack .../17-mesa-libgallium_24.2.3-1ubuntu1_s390x.deb ... 316s Unpacking mesa-libgallium:s390x (24.2.3-1ubuntu1) ... 316s Selecting previously unselected package libgbm1:s390x. 316s Preparing to unpack .../18-libgbm1_24.2.3-1ubuntu1_s390x.deb ... 316s Unpacking libgbm1:s390x (24.2.3-1ubuntu1) ... 316s Selecting previously unselected package libgirepository-2.0-0:s390x. 316s Preparing to unpack .../19-libgirepository-2.0-0_2.82.1-0ubuntu1_s390x.deb ... 316s Unpacking libgirepository-2.0-0:s390x (2.82.1-0ubuntu1) ... 316s Selecting previously unselected package libvulkan1:s390x. 316s Preparing to unpack .../20-libvulkan1_1.3.296.0-1_s390x.deb ... 316s Unpacking libvulkan1:s390x (1.3.296.0-1) ... 316s Selecting previously unselected package libgl1-mesa-dri:s390x. 316s Preparing to unpack .../21-libgl1-mesa-dri_24.2.3-1ubuntu1_s390x.deb ... 316s Unpacking libgl1-mesa-dri:s390x (24.2.3-1ubuntu1) ... 316s Selecting previously unselected package libglib2.0-bin. 316s Preparing to unpack .../22-libglib2.0-bin_2.82.1-0ubuntu1_s390x.deb ... 316s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 316s Selecting previously unselected package python3-packaging. 316s Preparing to unpack .../23-python3-packaging_24.1-1_all.deb ... 316s Unpacking python3-packaging (24.1-1) ... 316s Selecting previously unselected package libglib2.0-dev-bin. 316s Preparing to unpack .../24-libglib2.0-dev-bin_2.82.1-0ubuntu1_s390x.deb ... 316s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 316s Selecting previously unselected package python3-dbusmock. 316s Preparing to unpack .../25-python3-dbusmock_0.32.2-1_all.deb ... 316s Unpacking python3-dbusmock (0.32.2-1) ... 316s Selecting previously unselected package libglib2.0-tests. 316s Preparing to unpack .../26-libglib2.0-tests_2.82.1-0ubuntu1_s390x.deb ... 316s Unpacking libglib2.0-tests (2.82.1-0ubuntu1) ... 316s Selecting previously unselected package libxcb-glx0:s390x. 316s Preparing to unpack .../27-libxcb-glx0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-glx0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxcb-shm0:s390x. 316s Preparing to unpack .../28-libxcb-shm0_1.17.0-2_s390x.deb ... 316s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 316s Selecting previously unselected package libxfixes3:s390x. 316s Preparing to unpack .../29-libxfixes3_1%3a6.0.0-2build1_s390x.deb ... 316s Unpacking libxfixes3:s390x (1:6.0.0-2build1) ... 316s Selecting previously unselected package libxxf86vm1:s390x. 316s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ... 316s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ... 316s Selecting previously unselected package libglx-mesa0:s390x. 316s Preparing to unpack .../31-libglx-mesa0_24.2.3-1ubuntu1_s390x.deb ... 316s Unpacking libglx-mesa0:s390x (24.2.3-1ubuntu1) ... 316s Selecting previously unselected package x11-common. 316s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu3_all.deb ... 316s Unpacking x11-common (1:7.7+23ubuntu3) ... 316s Selecting previously unselected package libice6:s390x. 316s Preparing to unpack .../33-libice6_2%3a1.1.1-1_s390x.deb ... 316s Unpacking libice6:s390x (2:1.1.1-1) ... 316s Selecting previously unselected package libpixman-1-0:s390x. 316s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_s390x.deb ... 316s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 316s Selecting previously unselected package libsm6:s390x. 316s Preparing to unpack .../35-libsm6_2%3a1.2.4-1_s390x.deb ... 316s Unpacking libsm6:s390x (2:1.2.4-1) ... 316s Selecting previously unselected package libxt6t64:s390x. 316s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 316s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 316s Selecting previously unselected package libxmu6:s390x. 316s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 316s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 316s Selecting previously unselected package libxpm4:s390x. 316s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 316s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 316s Selecting previously unselected package libxaw7:s390x. 316s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_s390x.deb ... 316s Unpacking libxaw7:s390x (2:1.0.16-1) ... 316s Selecting previously unselected package libxfont2:s390x. 316s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_s390x.deb ... 316s Unpacking libxfont2:s390x (1:2.0.6-1build1) ... 316s Selecting previously unselected package libxkbfile1:s390x. 316s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ... 316s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ... 316s Selecting previously unselected package libxrender1:s390x. 316s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 316s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 316s Selecting previously unselected package libxrandr2:s390x. 316s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_s390x.deb ... 316s Unpacking libxrandr2:s390x (2:1.5.4-1) ... 316s Selecting previously unselected package x11-xkb-utils. 316s Preparing to unpack .../44-x11-xkb-utils_7.7+9_s390x.deb ... 316s Unpacking x11-xkb-utils (7.7+9) ... 316s Selecting previously unselected package xserver-common. 316s Preparing to unpack .../45-xserver-common_2%3a21.1.14-1ubuntu1_all.deb ... 316s Unpacking xserver-common (2:21.1.14-1ubuntu1) ... 316s Selecting previously unselected package libglvnd0:s390x. 316s Preparing to unpack .../46-libglvnd0_1.7.0-1build1_s390x.deb ... 316s Unpacking libglvnd0:s390x (1.7.0-1build1) ... 316s Selecting previously unselected package libglx0:s390x. 316s Preparing to unpack .../47-libglx0_1.7.0-1build1_s390x.deb ... 316s Unpacking libglx0:s390x (1.7.0-1build1) ... 316s Selecting previously unselected package libgl1:s390x. 316s Preparing to unpack .../48-libgl1_1.7.0-1build1_s390x.deb ... 316s Unpacking libgl1:s390x (1.7.0-1build1) ... 316s Selecting previously unselected package xvfb. 316s Preparing to unpack .../49-xvfb_2%3a21.1.14-1ubuntu1_s390x.deb ... 316s Unpacking xvfb (2:21.1.14-1ubuntu1) ... 316s Selecting previously unselected package autopkgtest-satdep. 316s Preparing to unpack .../50-3-autopkgtest-satdep.deb ... 316s Unpacking autopkgtest-satdep (0) ... 316s Setting up gnome-desktop-testing (2021.1-4) ... 316s Setting up libxcb-dri3-0:s390x (1.17.0-2) ... 316s Setting up libpixman-1-0:s390x (0.44.0-3) ... 316s Setting up libwayland-server0:s390x (1.23.0-1) ... 316s Setting up libx11-xcb1:s390x (2:1.8.10-2) ... 316s Setting up libxcb-xfixes0:s390x (1.17.0-2) ... 316s Setting up desktop-file-utils (0.27-2build1) ... 316s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 316s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 316s Setting up libgirepository-2.0-0:s390x (2.82.1-0ubuntu1) ... 316s Setting up libdrm-radeon1:s390x (2.4.123-1) ... 316s Setting up libglvnd0:s390x (1.7.0-1build1) ... 316s Setting up libxcb-glx0:s390x (1.17.0-2) ... 316s Setting up x11-common (1:7.7+23ubuntu3) ... 317s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 317s Setting up libxcb-shm0:s390x (1.17.0-2) ... 317s Setting up python3-dbusmock (0.32.2-1) ... 317s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ... 317s Setting up libxcb-present0:s390x (1.17.0-2) ... 317s Setting up libfontenc1:s390x (1:1.1.8-1build1) ... 317s Setting up python3-packaging (24.1-1) ... 317s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 317s Setting up libxfixes3:s390x (1:6.0.0-2build1) ... 317s Setting up libxcb-sync1:s390x (1.17.0-2) ... 317s Setting up libxrandr2:s390x (2:1.5.4-1) ... 317s Setting up libglapi-mesa:s390x (24.2.3-1ubuntu1) ... 317s Setting up libvulkan1:s390x (1.3.296.0-1) ... 317s Setting up libxcb-dri2-0:s390x (1.17.0-2) ... 317s Setting up libxshmfence1:s390x (1.3-1build5) ... 317s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 317s Setting up libxcb-randr0:s390x (1.17.0-2) ... 317s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ... 317s Setting up libxfont2:s390x (1:2.0.6-1build1) ... 317s Setting up libdrm-amdgpu1:s390x (2.4.123-1) ... 317s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 317s Setting up libice6:s390x (2:1.1.1-1) ... 317s Setting up mesa-libgallium:s390x (24.2.3-1ubuntu1) ... 317s Setting up libgbm1:s390x (24.2.3-1ubuntu1) ... 317s Setting up libgl1-mesa-dri:s390x (24.2.3-1ubuntu1) ... 317s Setting up libglib2.0-tests (2.82.1-0ubuntu1) ... 317s Setting up libsm6:s390x (2:1.2.4-1) ... 317s Setting up libglx-mesa0:s390x (24.2.3-1ubuntu1) ... 317s Setting up libglx0:s390x (1.7.0-1build1) ... 317s Setting up libgl1:s390x (1.7.0-1build1) ... 317s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 317s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 317s Setting up libxaw7:s390x (2:1.0.16-1) ... 317s Setting up x11-xkb-utils (7.7+9) ... 317s Setting up xserver-common (2:21.1.14-1ubuntu1) ... 317s Setting up xvfb (2:21.1.14-1ubuntu1) ... 317s Setting up autopkgtest-satdep (0) ... 317s Processing triggers for man-db (2.12.1-3) ... 318s Processing triggers for libc-bin (2.40-1ubuntu3) ... 321s (Reading database ... 56974 files and directories currently installed.) 321s Removing autopkgtest-satdep (0) ... 329s autopkgtest [11:27:43]: test installed-tests: [----------------------- 329s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 329s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 329s group entry: ubuntu:x:1000: 329s Environment: 329s ADTTMP=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp 329s ADT_ARTIFACTS=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts 329s ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1 329s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts 329s AUTOPKGTEST_TESTBED_ARCH=s390x 329s AUTOPKGTEST_TEST_ARCH=s390x 329s AUTOPKGTEST_TMP=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp 329s DEBIAN_FRONTEND=noninteractive 329s DEB_BUILD_OPTIONS=parallel=2 329s GIO_USE_VFS=local 329s GIO_USE_VOLUME_MONITOR=unix 329s HOME=/home/ubuntu 329s LANG=C.UTF-8 329s LOGNAME=ubuntu 329s MAIL=/var/mail/ubuntu 329s OLDPWD=/home/ubuntu 329s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 329s PWD=/tmp/autopkgtest.6MOKpm/build.caQ/src 329s SHELL=/bin/bash 329s SHLVL=1 329s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests 329s SUDO_GID=1000 329s SUDO_UID=1000 329s SUDO_USER=ubuntu 329s TERM=linux 329s USER=ubuntu 329s XDG_RUNTIME_DIR=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp 329s http_proxy=http://squid.internal:3128 329s https_proxy=http://squid.internal:3128 329s 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 329s run-with-locales: de_DE=ISO-8859-1... 329s Character set: ISO-8859-1 329s Source file: de_DE 329s Output: /tmp/tmp.xlI1exKh0h/de_DE 329s run-with-locales: de_DE.utf8... 329s Character set: UTF-8 329s Source file: de_DE 329s Output: /tmp/tmp.xlI1exKh0h/de_DE.utf8 330s run-with-locales: de_DE@euro.utf8... 330s Character set: UTF-8 330s Source file: de_DE@euro 330s Output: /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8 331s run-with-locales: el_GR.utf8... 331s Character set: UTF-8 331s Source file: el_GR 331s Output: /tmp/tmp.xlI1exKh0h/el_GR.utf8 332s run-with-locales: en_GB=ISO-8859-1... 332s Character set: ISO-8859-1 332s Source file: en_GB 332s Output: /tmp/tmp.xlI1exKh0h/en_GB 333s run-with-locales: en_GB.utf8... 333s Character set: UTF-8 333s Source file: en_GB 333s Output: /tmp/tmp.xlI1exKh0h/en_GB.utf8 334s run-with-locales: en_US=ISO-8859-1... 334s Character set: ISO-8859-1 334s Source file: en_US 334s Output: /tmp/tmp.xlI1exKh0h/en_US 334s run-with-locales: en_US.utf8... 334s Character set: UTF-8 334s Source file: en_US 334s Output: /tmp/tmp.xlI1exKh0h/en_US.utf8 335s run-with-locales: es_ES.utf8... 335s Character set: UTF-8 335s Source file: es_ES 335s Output: /tmp/tmp.xlI1exKh0h/es_ES.utf8 336s run-with-locales: fa_IR=UTF-8... 336s Character set: UTF-8 336s Source file: fa_IR 336s Output: /tmp/tmp.xlI1exKh0h/fa_IR 337s run-with-locales: fa_IR.utf8... 337s Character set: UTF-8 337s Source file: fa_IR 337s Output: /tmp/tmp.xlI1exKh0h/fa_IR.utf8 338s run-with-locales: fr_FR.utf8... 338s Character set: UTF-8 338s Source file: fr_FR 338s Output: /tmp/tmp.xlI1exKh0h/fr_FR.utf8 339s run-with-locales: hr_HR.utf8... 339s Character set: UTF-8 339s Source file: hr_HR 339s Output: /tmp/tmp.xlI1exKh0h/hr_HR.utf8 340s run-with-locales: ja_JP.utf8... 340s Character set: UTF-8 340s Source file: ja_JP 340s Output: /tmp/tmp.xlI1exKh0h/ja_JP.utf8 341s run-with-locales: ja_JP.EUC-JP... 341s Character set: EUC-JP 341s Source file: ja_JP 341s Output: /tmp/tmp.xlI1exKh0h/ja_JP.eucjp 341s run-with-locales: lt_LT.utf8... 341s Character set: UTF-8 341s Source file: lt_LT 341s Output: /tmp/tmp.xlI1exKh0h/lt_LT.utf8 343s run-with-locales: pl_PL=ISO-8859-2... 343s Character set: ISO-8859-2 343s Source file: pl_PL 343s Output: /tmp/tmp.xlI1exKh0h/pl_PL 343s run-with-locales: pl_PL.ISO-8859-2... 343s Character set: ISO-8859-2 343s Source file: pl_PL 343s Output: /tmp/tmp.xlI1exKh0h/pl_PL.iso88592 344s run-with-locales: pl_PL.utf8... 344s Character set: UTF-8 344s Source file: pl_PL 344s Output: /tmp/tmp.xlI1exKh0h/pl_PL.utf8 345s run-with-locales: ru_RU=ISO-8859-5... 345s Character set: ISO-8859-5 345s Source file: ru_RU 345s Output: /tmp/tmp.xlI1exKh0h/ru_RU 345s run-with-locales: ru_RU.utf8... 345s Character set: UTF-8 345s Source file: ru_RU 345s Output: /tmp/tmp.xlI1exKh0h/ru_RU.utf8 346s run-with-locales: sr_RS=UTF-8... 346s Character set: UTF-8 346s Source file: sr_RS 346s Output: /tmp/tmp.xlI1exKh0h/sr_RS 347s run-with-locales: sr_RS@latin=UTF-8... 347s Character set: UTF-8 347s Source file: sr_RS@latin 347s Output: /tmp/tmp.xlI1exKh0h/sr_RS@latin 348s run-with-locales: sv_SE=ISO-8859-1... 348s Character set: ISO-8859-1 348s Source file: sv_SE 348s Output: /tmp/tmp.xlI1exKh0h/sv_SE 349s run-with-locales: sv_SE.utf8... 349s Character set: UTF-8 349s Source file: sv_SE 349s Output: /tmp/tmp.xlI1exKh0h/sv_SE.utf8 350s run-with-locales: tr_TR=ISO-8859-9... 350s Character set: ISO-8859-9 350s Source file: tr_TR 350s Output: /tmp/tmp.xlI1exKh0h/tr_TR 350s run-with-locales: tr_TR.utf8... 350s Character set: UTF-8 350s Source file: tr_TR 350s Output: /tmp/tmp.xlI1exKh0h/tr_TR.utf8 351s run-with-locales: tt_RU=UTF-8... 351s Character set: UTF-8 351s Source file: tt_RU 351s Output: /tmp/tmp.xlI1exKh0h/tt_RU 352s run-with-locales: tt_RU.utf8... 352s Character set: UTF-8 352s Source file: tt_RU 352s Output: /tmp/tmp.xlI1exKh0h/tt_RU.utf8 353s run-with-locales: tt_RU@iqtelif=UTF-8... 353s Character set: UTF-8 353s Source file: tt_RU@iqtelif 353s Output: /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif 354s /tmp/tmp.xlI1exKh0h 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/ja_JP.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_NAME 354s /tmp/tmp.xlI1exKh0h/sr_RS@latin/LC_TIME 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/fr_FR.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/lt_LT.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/tr_TR.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/hr_HR.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_NAME 354s /tmp/tmp.xlI1exKh0h/pl_PL.iso88592/LC_TIME 354s /tmp/tmp.xlI1exKh0h/pl_PL 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_NAME 354s /tmp/tmp.xlI1exKh0h/pl_PL/LC_TIME 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/fa_IR.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/de_DE@euro.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/sr_RS 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_NAME 354s /tmp/tmp.xlI1exKh0h/sr_RS/LC_TIME 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/el_GR.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/tt_RU.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/ru_RU.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/pl_PL.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/es_ES.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/fa_IR 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_NAME 354s /tmp/tmp.xlI1exKh0h/fa_IR/LC_TIME 354s /tmp/tmp.xlI1exKh0h/tt_RU 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_NAME 354s /tmp/tmp.xlI1exKh0h/tt_RU/LC_TIME 354s /tmp/tmp.xlI1exKh0h/en_US.utf8 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/en_US.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/sv_SE 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_NAME 354s /tmp/tmp.xlI1exKh0h/sv_SE/LC_TIME 354s /tmp/tmp.xlI1exKh0h/de_DE 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_NAME 354s /tmp/tmp.xlI1exKh0h/de_DE/LC_TIME 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/sv_SE.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/de_DE.utf8/LC_TIME 354s /tmp/tmp.xlI1exKh0h/en_GB 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_NAME 354s /tmp/tmp.xlI1exKh0h/en_GB/LC_TIME 354s /tmp/tmp.xlI1exKh0h/en_US 354s /tmp/tmp.xlI1exKh0h/en_US/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/en_US/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/en_US/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/en_US/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_US/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_US/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/en_US/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/en_US/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/en_US/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/en_US/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/en_US/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/en_US/LC_NAME 354s /tmp/tmp.xlI1exKh0h/en_US/LC_TIME 354s /tmp/tmp.xlI1exKh0h/tr_TR 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_NAME 354s /tmp/tmp.xlI1exKh0h/tr_TR/LC_TIME 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_NAME 354s /tmp/tmp.xlI1exKh0h/tt_RU@iqtelif/LC_TIME 354s /tmp/tmp.xlI1exKh0h/ru_RU 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_NAME 354s /tmp/tmp.xlI1exKh0h/ru_RU/LC_TIME 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_NAME 354s /tmp/tmp.xlI1exKh0h/ja_JP.eucjp/LC_TIME 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_NUMERIC 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_COLLATE 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_TELEPHONE 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_CTYPE 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_ADDRESS 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_IDENTIFICATION 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_PAPER 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_MONETARY 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_MEASUREMENT 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_NAME 354s /tmp/tmp.xlI1exKh0h/en_GB.utf8/LC_TIME 354s 1..319 354s # Running test: glib/enums.test 354s TAP version 14 354s # random seed: R02Sbf228a8a092700721c9386116c72f2cf 354s 1..4 354s # Start of enum tests 354s ok 1 /enum/basic 354s ok 2 /enum/define-type 354s # End of enum tests 354s # Start of flags tests 354s ok 3 /flags/basic 354s ok 4 /flags/define-type 354s # End of flags tests 354s ok - glib/enums.test 354s # Running test: glib/timer.test 354s TAP version 14 354s # random seed: R02S6ed783c74c72ccc51e1657d4cee2c634 354s 1..10 354s # Start of timer tests 354s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 354s ok 2 /timer/stop 354s ok 3 /timer/continue 354s ok 4 /timer/reset 354s ok 5 /timer/is_active 354s # End of timer tests 354s # Start of timeval tests 354s ok 6 /timeval/add 354s ok 7 /timeval/from-iso8601 354s ok 8 /timeval/to-iso8601 354s # Start of to-iso8601 tests 354s ok 9 /timeval/to-iso8601/overflow 354s # End of to-iso8601 tests 354s # End of timeval tests 354s # Start of usleep tests 354s ok 10 /usleep/with-zero-wait 354s # End of usleep tests 354s ok - glib/timer.test 354s # Running test: glib/application-command-line.test 354s TAP version 14 354s # random seed: R02Sdc6798c26aac60ac433cdeaa933cb716 354s 1..1 354s # Start of application-command-line tests 354s ok 1 /application-command-line/basic-properties 354s # End of application-command-line tests 354s ok - glib/application-command-line.test 354s # Running test: glib/shell.test 354s TAP version 14 354s # random seed: R02Scb5ad1b6b9a2fb3fb089835784dbc683 354s 1..51 354s # Start of shell tests 354s # Start of cmdline tests 354s test cmdline: foo bar 354s ok 1 /shell/cmdline/0 354s test cmdline: foo 'bar' 354s ok 2 /shell/cmdline/1 354s test cmdline: foo "bar" 354s ok 3 /shell/cmdline/2 354s test cmdline: foo '' 'bar' 354s ok 4 /shell/cmdline/3 354s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 354s ok 5 /shell/cmdline/4 354s test cmdline: foo blah foo bar baz 354s ok 6 /shell/cmdline/5 354s test cmdline: foo ' spaces more spaces lots of spaces in this ' 354s ok 7 /shell/cmdline/6 354s test cmdline: foo \ 354s bar 354s ok 8 /shell/cmdline/7 354s test cmdline: foo '' '' 354s ok 9 /shell/cmdline/8 354s test cmdline: foo \" la la la 354s ok 10 /shell/cmdline/9 354s test cmdline: foo \ foo woo woo\ 354s ok 11 /shell/cmdline/10 354s test cmdline: foo "yada yada \$\"" 354s ok 12 /shell/cmdline/11 354s test cmdline: foo "c:\\" 354s ok 13 /shell/cmdline/12 354s test cmdline: foo # bla bla bla 354s bar 354s ok 14 /shell/cmdline/13 354s test cmdline: foo a#b 354s ok 15 /shell/cmdline/14 354s test cmdline: #foo 354s ok 16 /shell/cmdline/15 354s test cmdline: foo bar \ 354s ok 17 /shell/cmdline/16 354s test cmdline: foo 'bar baz 354s ok 18 /shell/cmdline/17 354s test cmdline: foo '"bar" baz 354s ok 19 /shell/cmdline/18 354s test cmdline: 354s ok 20 /shell/cmdline/19 354s test cmdline: 354s ok 21 /shell/cmdline/20 354s test cmdline: # foo bar 354s ok 22 /shell/cmdline/21 354s test cmdline: foo '/bar/summer'\''09 tours.pdf' 354s ok 23 /shell/cmdline/22 354s # End of cmdline tests 354s # Start of quote tests 354s ok 24 /shell/quote/0 354s ok 25 /shell/quote/1 354s ok 26 /shell/quote/2 354s ok 27 /shell/quote/3 354s ok 28 /shell/quote/4 354s ok 29 /shell/quote/5 354s ok 30 /shell/quote/6 354s # End of quote tests 354s # Start of unquote tests 354s ok 31 /shell/unquote/0 354s ok 32 /shell/unquote/1 354s ok 33 /shell/unquote/2 354s ok 34 /shell/unquote/3 354s ok 35 /shell/unquote/4 354s ok 36 /shell/unquote/5 354s ok 37 /shell/unquote/6 354s ok 38 /shell/unquote/7 354s ok 39 /shell/unquote/8 354s ok 40 /shell/unquote/9 354s ok 41 /shell/unquote/10 354s ok 42 /shell/unquote/11 354s ok 43 /shell/unquote/12 354s ok 44 /shell/unquote/13 354s ok 45 /shell/unquote/14 354s ok 46 /shell/unquote/15 354s ok 47 /shell/unquote/16 354s ok 48 /shell/unquote/17 354s ok 49 /shell/unquote/18 354s ok 50 /shell/unquote/19 354s ok 51 /shell/unquote/20 354s # End of unquote tests 354s # End of shell tests 354s ok - glib/shell.test 354s # Running test: glib/gdbus-server-auth.test 354s TAP version 14 354s # random seed: R02S59ad3fb75a2b2845e141adc0b682f33e 354s 1..9 354s # Start of gdbus tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/.dirs/runtime 354s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-TBC5W2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 354s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-TBC5W2/dbus-58pUTR5g 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2785 354s ok 1 /gdbus/server-auth 354s # Start of server-auth tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/abstract/.dirs/runtime 354s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-AKL4W2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 354s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-AKL4W2/dbus-21Tpjrvl 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 354s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 354s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2785 354s ok 2 /gdbus/server-auth/abstract 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/tcp/.dirs/runtime 354s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 354s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/.dirs/runtime 354s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-ATQ4W2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 354s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-ATQ4W2/dbus-3qPMIWwu 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2785 354s ok 4 /gdbus/server-auth/anonymous 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/.dirs/runtime 354s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-68YHX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 354s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-68YHX2/dbus-UG7Yaxc5 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2785 354s ok 5 /gdbus/server-auth/external 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/.dirs/runtime 354s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-ECSGX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 354s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 354s # Start of anonymous tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 354s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 354s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 354s # End of anonymous tests 354s # Start of external tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/external/require-same-user/.dirs/runtime 354s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-L2RGX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 354s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_3LC5W2/gdbus-server-auth-L2RGX2/dbus-rJyFyVqn 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2785 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 354s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 354s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2785,uid=1000,gid=1000 354s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2785 354s ok 8 /gdbus/server-auth/external/require-same-user 354s # End of external tests 354s # Start of sha1 tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_3LC5W2/gdbus/server-auth/sha1/tcp/.dirs/runtime 354s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 354s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 354s # End of sha1 tests 354s # End of server-auth tests 354s # End of gdbus tests 354s ok - glib/gdbus-server-auth.test 354s # Running test: glib/basic-signals.test 354s TAP version 14 354s # random seed: R02S65f2a91572e86d855a1553ffadb46474 354s 1..1 354s # Start of gobject tests 354s ok 1 /gobject/basic-signals 354s # End of gobject tests 354s ok - glib/basic-signals.test 354s # Running test: glib/gdbus-address-get-session.test 354s TAP version 14 354s # random seed: R02S298db5fec367faf26721d87422bf61f2 354s 1..2 354s # Start of gdbus tests 354s ok 1 /gdbus/x11-autolaunch 354s ok 2 /gdbus/xdg-runtime 354s # End of gdbus tests 354s ok - glib/gdbus-address-get-session.test 354s # Running test: glib/environment.test 354s TAP version 14 354s # random seed: R02Saeb281dc83e37974f55fb80fe5c38ba9 354s 1..6 354s # Start of environ tests 354s # /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. 354s ok 1 /environ/listenv 354s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 354s ok 2 /environ/getenv 354s ok 3 /environ/setenv 354s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 354s ok 4 /environ/array 354s # /environ/null summary: Test getting and setting variables on a NULL envp array. 354s ok 5 /environ/null 354s # /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. 354s ok 6 /environ/case 354s # End of environ tests 354s ok - glib/environment.test 354s # Running test: glib/gdbus-connection-slow.test 354s TAP version 14 354s # random seed: R02Sa1b326461a5c2812d28c476709a04a51 354s 1..2 354s # Start of gdbus tests 354s # Start of connection tests 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/flush/.dirs/runtime 354s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s ok 1 /gdbus/connection/flush 354s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/home 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/cache 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/system-config2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/config 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/system-data2 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/data 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/state 354s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JOBHX2/gdbus/connection/large_message/.dirs/runtime 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 354s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 354s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s ok 2 /gdbus/connection/large_message 355s # End of connection tests 355s # End of gdbus tests 355s ok - glib/gdbus-connection-slow.test 355s # Running test: glib/cxx-14.test 355s TAP version 14 355s # random seed: R02S093ce8624975558be3698fe52982367c 355s 1..2 355s # Start of gtask tests 355s # 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. 355s ok 1 /gtask/name 355s # Start of name tests 355s # 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. 355s ok 2 /gtask/name/macro-wrapper 355s # End of name tests 355s # End of gtask tests 355s ok - glib/cxx-14.test 355s # Running test: glib/win32-appinfo.test 355s TAP version 14 355s # random seed: R02S315ba79a9a118e2678ca8284f849a944 355s 1..5 355s # Start of appinfo tests 355s ok 1 /appinfo/utf16-strfuncs 355s ok 2 /appinfo/win32-extract-executable 355s ok 3 /appinfo/win32-rundll32-fixup 355s ok 4 /appinfo/win32-parse-filename 355s ok 5 /appinfo/win32-utf16-conversion-fail 355s # Start of subprocess tests 355s # End of subprocess tests 355s # End of appinfo tests 355s ok - glib/win32-appinfo.test 355s # Running test: glib/contenttype.test 355s TAP version 14 355s # random seed: R02Sf21b65daaabdc39876a690ae24fe1e16 355s 1..13 355s # Start of contenttype tests 355s ok 1 /contenttype/guess 355s ok 2 /contenttype/guess_svg_from_data 355s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 355s ok 4 /contenttype/unknown 355s ok 5 /contenttype/subtype 355s ok 6 /contenttype/list 355s ok 7 /contenttype/executable 355s ok 8 /contenttype/description 355s ok 9 /contenttype/icon 355s ok 10 /contenttype/symbolic-icon 355s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 355s ok 11 /contenttype/tree 355s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 355s ok 12 /contenttype/tree_invalid_encoding 355s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 355s ok 13 /contenttype/test_type_is_a_special_case 355s # End of contenttype tests 355s ok - glib/contenttype.test 355s # Running test: glib/bitlock.test 355s TAP version 14 355s # random seed: R02Sc5ed459a285d7c24fa874c7ca09ca7a5 355s 1..1 355s # Start of bitlock tests 355s # Start of performance tests 355s # max perf: iterations per second 355s ok 1 /bitlock/performance/uncontended 355s # End of performance tests 355s # End of bitlock tests 355s ok - glib/bitlock.test 355s # Running test: glib/gdbus-message.test 355s TAP version 14 355s # random seed: R02S7ee53938263b07e1bae8c869355c2e48 355s 1..3 355s # Start of gdbus tests 355s # Start of message tests 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQX6W2/gdbus/message/lock/.dirs/runtime 355s ok 1 /gdbus/message/lock 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQX6W2/gdbus/message/copy/.dirs/runtime 355s ok 2 /gdbus/message/copy 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MQX6W2/gdbus/message/bytes-needed/.dirs/runtime 355s # Vector: 0 355s # Vector: 1 355s # Vector: 2 355s # Vector: 3 355s # Vector: 4 355s # Vector: 5 355s ok 3 /gdbus/message/bytes-needed 355s # End of message tests 355s # End of gdbus tests 355s ok - glib/gdbus-message.test 355s # Running test: glib/gdbus-method-invocation.test 355s TAP version 14 355s # random seed: R02S9b45624224399b45f33aa969e426682c 355s 1..1 355s # Start of gdbus tests 355s # Start of method-invocation tests 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_RL16W2/gdbus/method-invocation/return/.dirs/runtime 355s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 355s # Calling org.freedesktop.DBus.Properties.Get 355s # Calling org.freedesktop.DBus.Properties.Get 355s # Calling org.freedesktop.DBus.Properties.Get 355s # Calling org.freedesktop.DBus.Properties.Set 355s # Calling org.freedesktop.DBus.Properties.GetAll 355s # Calling org.example.Foo.WrongReturnType 355s # Calling org.example.Foo.GetFDs 355s # Calling org.example.Foo.GetFDs 355s # Calling org.example.Foo.ReturnError 355s # Calling org.example.Foo.CloseBeforeReturning 355s ok 1 /gdbus/method-invocation/return 355s # End of method-invocation tests 355s # End of gdbus tests 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 355s ok - glib/gdbus-method-invocation.test 355s # Running test: glib/union-info.test 355s TAP version 14 355s # random seed: R02S5ceb2d994df79ffdeb1db227286c6eb0 355s 1..2 355s # Start of union-info tests 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_WX76W2/union-info/basic/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_WX76W2/union-info/basic/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_WX76W2/union-info/basic/.dirs/runtime 355s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 355s # /union-info/basic summary: Test basic properties of GIUnionInfo 355s ok 1 /union-info/basic 355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/home 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/cache 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_WX76W2/union-info/methods/.dirs/system-config2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/config 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_WX76W2/union-info/methods/.dirs/system-data2 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/data 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/state 355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_WX76W2/union-info/methods/.dirs/runtime 355s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 355s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 355s ok 2 /union-info/methods 355s # End of union-info tests 355s ok - glib/union-info.test 355s # Running test: glib/properties-refcount1.test 355s TAP version 14 355s # random seed: R02S5f95a0a05d184b5c7d8de0df2762e6de 355s 1..1 355s # Start of gobject tests 355s # Start of refcount tests 355s # .d 355s # .d 355s # .f 355s # .c 355s # .b 355s # .e 355s # .d 355s # .f 355s # .c 355s # .b 355s # .e 355s # .d 355s # .f 355s # .e 355s # .b 355s # .c 355s # .f 355s # .d 355s # .e 355s # .b 355s # .f 355s # .c 355s # .d 355s # .e 355s # .b 355s # .f 355s # .c 355s # .e 355s # .b 355s # .d 355s # .e 355s # .f 355s # .b 355s # .d 355s # .c 355s # .f 355s # .d 355s # .e 355s # .b 355s # .c 355s # .e 355s # .d 355s # .f 355s # .d 355s # .b 355s # .c 355s # .d 355s # .e 355s # .d 355s # .f 355s # .d 355s # .d 355s # .c 355s # .e 355s # .f 355s # .b 355s # .d 355s # .e 355s # .c 355s # .f 355s # .b 355s # .c 355s # .e 355s # .f 355s # .d 355s # .b 355s # .c 355s # .b 355s # .f 355s # .c 355s # .e 355s # .d 355s # .b 355s # .c 355s # .e 355s # .f 355s # .c 355s # .b 355s # .d 355s # .b 355s # .f 355s # .e 355s # .c 355s # .d 355s # .f 355s # .e 355s # .b 355s # .d 355s # .f 355s # .b 355s # .c 355s # .d 355s # .f 355s # .e 355s # .b 356s # .c 356s # .f 356s # .b 356s # .c 356s # .f 356s # .d 356s # .e 356s # .c 356s # .f 356s # .b 356s # .c 356s # .d 356s # .f 356s # .b 356s # .f 356s # .e 356s # .c 356s # .b 356s # .e 356s # .f 356s # .d 356s # .b 356s # .c 356s # .f 356s # .e 356s # .d 356s # .b 356s # .c 356s # .e 356s # .f 356s # .d 356s # .b 356s # .c 356s # .f 356s # .e 356s # .d 356s # .b 356s # .f 356s # .d 356s # .c 356s # .e 356s # .b 356s # .f 356s # .c 356s # .d 356s # .e 356s # .f 356s # .d 356s # .c 356s # .b 356s # .f 356s # .d 356s # .f 356s # .e 356s # .d 356s # .b 356s # .c 356s # .f 356s # .d 356s # .f 356s # .e 356s # .f 356s # .e 356s # .d 356s # .f 356s # .d 356s # .b 356s # .f 356s # .d 356s # .f 356s # .d 356s # .f 356s # .c 356s # .d 356s # .f 356s # .d 356s # .b 356s # .e 356s # .d 356s # .f 356s # .d 356s # .c 356s # .b 356s # .f 356s # .e 356s # .d 356s # .c 356s # .f 356s # .b 356s # .d 356s # .e 356s # .f 356s # .c 356s # .b 356s # .d 356s # .f 356s # .c 356s # .e 356s # .d 356s # .e 356s # .b 356s # .f 356s # .c 356s # .c 357s # .c 357s # .d 357s # .b 357s # .f 357s # .e 357s # .b 357s # .d 357s # .c 357s # .f 357s # .d 357s # .f 357s # .c 357s # .b 357s # .e 357s # .f 357s # .d 357s # .c 357s # .e 357s # .c 357s # .b 357s # .f 357s # .d 357s # .c 357s # .e 357s # .c 357s # .c 357s # .f 357s # .b 357s # .c 357s # .e 357s # .c 357s # .d 357s # .b 357s # .c 357s # .d 357s # .f 357s # .e 357s # .c 357s # .d 357s # .b 357s # .f 357s # .e 357s # .c 357s # .d 357s # .f 357s # .c 357s # .b 357s # .d 357s # .e 357s # .f 357s # .f 357s # .c 357s # .d 357s # .b 357s # .e 357s # .f 357s # .b 357s # .c 357s # .d 357s # .f 357s # .e 357s # .b 357s # .d 357s # .f 357s # .e 357s # .c 357s # .d 357s # .f 357s # .b 357s # .c 357s # .d 357s # .e 357s # .b 357s # .f 357s # .c 357s # .e 357s # .d 357s # .f 357s # .b 357s # .e 357s # .d 357s # .c 357s # .f 357s # .b 357s # .e 357s # .d 357s # .f 357s # .c 357s # .b 357s # .e 357s # .f 357s # .d 357s # .c 357s # .f 357s # .e 357s # .b 357s # .d 357s # .c 357s # .f 357s # .e 357s # .d 357s # .b 357s # .c 357s # .f 357s # .e 357s # .d 357s # .f 357s # .c 357s # .b 357s # .e 357s # .d 357s # .f 357s # .c 358s # .b 358s # .e 358s # .f 358s # .d 358s # .b 358s # .f 358s # .c 358s # .e 358s # .d 358s # .f 358s # .b 358s # .f 358s # .d 358s # .c 358s # .b 358s # .e 358s ok 1 /gobject/refcount/properties-1 358s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 358s # End of refcount tests 358s # End of gobject tests 358s ok - glib/properties-refcount1.test 358s # Running test: glib/gsubprocess.test 358s TAP version 14 358s # random seed: R02Sa418bd1d5cfc4748c9a9cba794fa5727 358s 1..83 358s # Start of gsubprocess tests 358s ok 1 /gsubprocess/noop 358s ok 2 /gsubprocess/noop-all-to-null 358s ok 3 /gsubprocess/noop-no-wait 358s ok 4 /gsubprocess/noop-stdin-inherit 358s ok 5 /gsubprocess/search-path 358s ok 6 /gsubprocess/search-path-from-envp 359s # Executing: glib/gsubprocess.test 361s ok 7 /gsubprocess/signal 361s # slow test /gsubprocess/signal executed in 3.57 secs 361s ok 8 /gsubprocess/exit1 361s ok 9 /gsubprocess/echo1 361s ok 10 /gsubprocess/echo-merged 361s ok 11 /gsubprocess/cat-utf8 362s ok 12 /gsubprocess/cat-eof 362s # slow test /gsubprocess/cat-eof executed in 1.00 secs 364s # Executing: glib/gsubprocess.test 365s ok 13 /gsubprocess/multi1 365s # slow test /gsubprocess/multi1 executed in 3.01 secs 365s ok 14 /gsubprocess/communicate 368s ok 15 /gsubprocess/terminate 368s # slow test /gsubprocess/terminate executed in 2.98 secs 368s ok 16 /gsubprocess/env 368s ok 17 /gsubprocess/cwd 368s ok 18 /gsubprocess/launcher-close 368s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 368s ok 19 /gsubprocess/stdout-file 368s ok 20 /gsubprocess/stdout-fd 368s ok 21 /gsubprocess/child-setup 368s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 368s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 368s ok 22 /gsubprocess/launcher-environment 368s # Start of exit1 tests 368s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 368s ok 23 /gsubprocess/exit1/cancel 368s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 368s ok 24 /gsubprocess/exit1/cancel_in_cb 368s # End of exit1 tests 368s # Start of communicate tests 368s ok 25 /gsubprocess/communicate/cancelled 368s ok 26 /gsubprocess/communicate/async 368s ok 27 /gsubprocess/communicate/utf8 368s # hello world 368s ok 28 /gsubprocess/communicate/no-pipes 368s ok 29 /gsubprocess/communicate/separate-stderr 368s ok 30 /gsubprocess/communicate/stdout-only 368s # hello world 368s ok 31 /gsubprocess/communicate/stderr-only 368s ok 32 /gsubprocess/communicate/stdout-silence 368s ok 33 /gsubprocess/communicate/nothing 368s # Start of async tests 368s ok 34 /gsubprocess/communicate/async/cancelled 368s # hello world 368s ok 35 /gsubprocess/communicate/async/no-pipes 368s ok 36 /gsubprocess/communicate/async/separate-stderr 368s ok 37 /gsubprocess/communicate/async/stdout-only 368s # hello world 368s ok 38 /gsubprocess/communicate/async/stderr-only 368s ok 39 /gsubprocess/communicate/async/stdout-silence 368s # Start of cancelled tests 368s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 368s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 368s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 368s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 368s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 368s # End of cancelled tests 368s # End of async tests 368s # Start of utf8 tests 368s ok 45 /gsubprocess/communicate/utf8/cancelled 368s ok 46 /gsubprocess/communicate/utf8/async 368s # hello world 368s ok 47 /gsubprocess/communicate/utf8/no-pipes 368s ok 48 /gsubprocess/communicate/utf8/separate-stderr 368s ok 49 /gsubprocess/communicate/utf8/stdout-only 368s # hello world 368s ok 50 /gsubprocess/communicate/utf8/stderr-only 368s ok 51 /gsubprocess/communicate/utf8/stdout-silence 368s ok 52 /gsubprocess/communicate/utf8/invalid 368s # Start of async tests 368s ok 53 /gsubprocess/communicate/utf8/async/cancelled 368s # hello world 368s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 368s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 368s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 368s # hello world 368s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 368s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 368s ok 59 /gsubprocess/communicate/utf8/async/invalid 368s # Start of cancelled tests 368s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 368s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 368s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 368s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 368s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 368s # End of cancelled tests 368s # End of async tests 368s # Start of cancelled tests 368s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 368s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 368s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 368s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 368s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 368s # End of cancelled tests 368s # End of utf8 tests 368s # Start of cancelled tests 368s ok 70 /gsubprocess/communicate/cancelled/no-pipes 368s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 368s ok 72 /gsubprocess/communicate/cancelled/stdout-only 368s ok 73 /gsubprocess/communicate/cancelled/stderr-only 368s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 368s # End of cancelled tests 368s # End of communicate tests 368s # Start of env tests 368s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 368s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 368s ok 75 /gsubprocess/env/inherit 368s # End of env tests 368s # Start of pass-fd tests 368s ok 76 /gsubprocess/pass-fd/basic 368s ok 77 /gsubprocess/pass-fd/empty-child-setup 368s ok 78 /gsubprocess/pass-fd/inherit-fds 368s # End of pass-fd tests 368s # Start of fd-conflation tests 368s ok 79 /gsubprocess/fd-conflation/basic 368s ok 80 /gsubprocess/fd-conflation/empty-child-setup 368s ok 81 /gsubprocess/fd-conflation/inherit-fds 368s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 368s # End of fd-conflation tests 368s # Start of exit-status tests 368s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 368s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 368s ok 83 /gsubprocess/exit-status/trapped 368s # End of exit-status tests 368s # End of gsubprocess tests 368s ok - glib/gsubprocess.test 368s # Running test: glib/portal-support-flatpak-none.test 368s TAP version 14 368s # random seed: R02Sb159755562bd2337091837a1f1a05178 368s 1..1 368s # Start of portal-support tests 368s # Start of flatpak tests 368s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/home 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/cache 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/system-config2 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/config 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/system-data2 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/data 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/state 368s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/runtime 368s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_6J1BX2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 368s ok 1 /portal-support/flatpak/none 368s # End of flatpak tests 368s # End of portal-support tests 368s ok - glib/portal-support-flatpak-none.test 368s # Running test: glib/overflow-fallback.test 368s TAP version 14 368s # random seed: R02S18b9791eafde61a6dc205cb07d77d46b 368s 1..6 368s # Start of glib tests 368s # Start of checked-math tests 368s ok 1 /glib/checked-math/guint-add 368s ok 2 /glib/checked-math/guint-mul 368s ok 3 /glib/checked-math/guint64-add 368s ok 4 /glib/checked-math/guint64-mul 368s ok 5 /glib/checked-math/gsize-add 368s ok 6 /glib/checked-math/gsize-mul 368s # End of checked-math tests 368s # End of glib tests 368s ok - glib/overflow-fallback.test 368s # Running test: glib/sequence.test 368s TAP version 14 368s # random seed: R02Sb2dc172d38e3ae1f8cf66d51eff40ffd 368s 1..16 368s # Start of sequence tests 368s ok 1 /sequence/out-of-range-jump 368s ok 2 /sequence/iter-move 368s ok 3 /sequence/insert-sorted-non-pointer 368s ok 4 /sequence/stable-sort 368s ok 5 /sequence/is_empty 368s # Start of random tests 369s ok 6 /sequence/random/seed:825541564 369s # slow test /sequence/random/seed:825541564 executed in 0.69 secs 369s # Executing: glib/sequence.test 370s ok 7 /sequence/random/seed:801678400 370s # slow test /sequence/random/seed:801678400 executed in 0.64 secs 370s ok 8 /sequence/random/seed:1477639090 370s # slow test /sequence/random/seed:1477639090 executed in 0.69 secs 371s ok 9 /sequence/random/seed:3369132895 371s # slow test /sequence/random/seed:3369132895 executed in 0.67 secs 372s ok 10 /sequence/random/seed:1192944867 372s # slow test /sequence/random/seed:1192944867 executed in 0.71 secs 373s ok 11 /sequence/random/seed:770458294 373s # slow test /sequence/random/seed:770458294 executed in 0.75 secs 373s ok 12 /sequence/random/seed:1099575817 373s # slow test /sequence/random/seed:1099575817 executed in 0.67 secs 374s ok 13 /sequence/random/seed:590523467 374s # slow test /sequence/random/seed:590523467 executed in 0.71 secs 374s # Executing: glib/sequence.test 375s ok 14 /sequence/random/seed:3583571454 375s # slow test /sequence/random/seed:3583571454 executed in 0.71 secs 376s ok 15 /sequence/random/seed:579241222 376s # slow test /sequence/random/seed:579241222 executed in 0.83 secs 376s ok 16 /sequence/random/seed:1545808880 376s # slow test /sequence/random/seed:1545808880 executed in 0.80 secs 376s # End of random tests 376s # End of sequence tests 376s ok - glib/sequence.test 376s # Running test: glib/convert.test 376s TAP version 14 376s # random seed: R02Sa4d593b4d6c55c3ad3018599b2ac4cc5 376s 1..14 376s # Start of conversion tests 376s ok 1 /conversion/no-conv 376s ok 2 /conversion/iconv-state 376s ok 3 /conversion/illegal-sequence 376s ok 4 /conversion/byte-order 376s ok 5 /conversion/unicode 376s ok 6 /conversion/filename-utf8 376s ok 7 /conversion/filename-display 376s ok 8 /conversion/convert-embedded-nul 376s # Start of locale-to-utf8 tests 376s ok 9 /conversion/locale-to-utf8/embedded-nul 376s # Start of embedded-nul tests 376s # Start of subprocess tests 376s # End of subprocess tests 376s # End of embedded-nul tests 376s # End of locale-to-utf8 tests 376s # Start of locale-from-utf8 tests 376s ok 10 /conversion/locale-from-utf8/embedded-nul 376s # Start of embedded-nul tests 376s # Start of subprocess tests 376s # End of subprocess tests 376s # End of embedded-nul tests 376s # End of locale-from-utf8 tests 376s # Start of filename-to-utf8 tests 376s ok 11 /conversion/filename-to-utf8/embedded-nul 376s # Start of embedded-nul tests 376s # Start of subprocess tests 376s # End of subprocess tests 376s # End of embedded-nul tests 376s # End of filename-to-utf8 tests 376s # Start of filename-from-utf8 tests 376s ok 12 /conversion/filename-from-utf8/embedded-nul 376s # Start of embedded-nul tests 376s # Start of subprocess tests 376s # End of subprocess tests 376s # End of embedded-nul tests 376s # End of filename-from-utf8 tests 376s # Start of filename-from-uri tests 376s ok 13 /conversion/filename-from-uri/query-is-ignored 376s ok 14 /conversion/filename-from-uri/fragment-is-ignored 376s # End of filename-from-uri tests 376s # End of conversion tests 376s ok - glib/convert.test 376s # Running test: glib/utf8-pointer.test 376s TAP version 14 376s # random seed: R02S76694b89464c50b14de72e0680526566 376s 1..3 376s # Start of utf8 tests 377s ok 1 /utf8/offsets 377s # slow test /utf8/offsets executed in 0.87 secs 377s ok 2 /utf8/lengths 377s ok 3 /utf8/find 377s # End of utf8 tests 377s ok - glib/utf8-pointer.test 377s # Running test: glib/cxx-03.test 377s TAP version 14 377s # random seed: R02S5885bceffeb9d13f6e94267d31a7f788 377s 1..2 377s # Start of gtask tests 377s # 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. 377s ok 1 /gtask/name 377s # Start of name tests 377s # 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. 377s ok 2 /gtask/name/macro-wrapper 377s # End of name tests 377s # End of gtask tests 377s ok - glib/cxx-03.test 377s # Running test: glib/gdbus-introspection.test 377s TAP version 14 377s # random seed: R02Se6967034c73721cd1715b894a4f464e3 377s 1..4 377s # Start of gdbus tests 377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/home 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/cache 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/system-config2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/config 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/system-data2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/data 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/state 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-parser/.dirs/runtime 377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 377s ok 1 /gdbus/introspection-parser 377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/home 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/cache 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/system-config2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/config 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/system-data2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/data 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/state 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-generate/.dirs/runtime 377s ok 2 /gdbus/introspection-generate 377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/home 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/cache 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/system-config2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/config 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/system-data2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/data 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/state 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-default-direction/.dirs/runtime 377s ok 3 /gdbus/introspection-default-direction 377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/home 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/cache 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/system-config2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/config 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/system-data2 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/data 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/state 377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HNOJX2/gdbus/introspection-extra-data/.dirs/runtime 377s ok 4 /gdbus/introspection-extra-data 377s # End of gdbus tests 377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 377s ok - glib/gdbus-introspection.test 377s # Running test: glib/assert-msg-test.py.test 377s TAP version 13 377s ok 1 __main__.TestAssertMessage.test_gassert 377s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 377s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 377s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 377s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 377s # Error: ** 377s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 377s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 377s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 377s 1..2 377s ok - glib/assert-msg-test.py.test 377s # Running test: glib/proxy-test.test 377s TAP version 14 377s # random seed: R02S223b60502c1b9e99db2042ca08ba55b8 377s 1..11 377s # Start of proxy tests 377s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 377s ok 1 /proxy/direct_sync 377s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 377s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412d9c0 and GSocketClientAsyncConnectData 0x2aa34123260 377s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 377s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 377s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3412e3d0 for GSocketClientAsyncConnectData 0x2aa34123260 377s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 377s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 377s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 377s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 377s ok 2 /proxy/direct_async 377s ok 3 /proxy/single_sync 377s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 377s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412fcd0 and GSocketClientAsyncConnectData 0x2aa3412ee20 377s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 377s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 377s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34130830 for GSocketClientAsyncConnectData 0x2aa3412ee20 377s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 377s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 377s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 377s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 377s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 377s ok 4 /proxy/single_async 377s ok 5 /proxy/multiple_sync 377s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 377s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34130560 and GSocketClientAsyncConnectData 0x2aa34130330 377s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 377s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 377s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34130eb0 for GSocketClientAsyncConnectData 0x2aa34130330 377s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 377s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 377s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 377s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 377s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 377s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 377s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa341308c0 for GSocketClientAsyncConnectData 0x2aa34130330 377s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 377s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 377s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 377s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 377s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 377s ok 6 /proxy/multiple_async 377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 378s ok 7 /proxy/invalid-uris-sync 378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34130c40 and GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412fcd0 and GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412fcd0 and GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3412e930 for GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa34130560 and GSocketClientAsyncConnectData 0x2aa34130620 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3412ebe0 for GSocketClientAsyncConnectData 0x2aa34130620 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 378s ok 8 /proxy/invalid-uris-async 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412fcd0 and GSocketClientAsyncConnectData 0x2aa341302b0 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 378s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa341302b0 and GSocketClientAsyncConnectData 0x2aa34130620 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa341315e0 for GSocketClientAsyncConnectData 0x2aa34130620 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412fcd0 and GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34130310 for GSocketClientAsyncConnectData 0x2aa34130140 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 378s ok 9 /proxy/dns 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412e810 and GSocketClientAsyncConnectData 0x2aa34130900 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa341315e0 for GSocketClientAsyncConnectData 0x2aa34130900 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3412f9e0 and GSocketClientAsyncConnectData 0x2aa3412fc10 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3412ebe0 for GSocketClientAsyncConnectData 0x2aa3412fc10 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 378s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 378s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 378s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa341302b0 and GSocketClientAsyncConnectData 0x2aa34130900 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 378s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa34131600 for GSocketClientAsyncConnectData 0x2aa34130900 378s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 378s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 378s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 378s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 378s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 378s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 378s ok 10 /proxy/override 378s ok 11 /proxy/enumerator-ports 378s # End of proxy tests 378s ok - glib/proxy-test.test 378s # Running test: glib/gdbus-test-codegen-old.test 378s TAP version 14 378s # random seed: R02S6a89d1f4ccdb55c92684203ddb9b10c7 378s 1..8 378s # Start of gdbus tests 378s # Start of codegen tests 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/annotations/.dirs/runtime 378s ok 1 /gdbus/codegen/annotations 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/interface_stability/.dirs/runtime 378s ok 2 /gdbus/codegen/interface_stability 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/object-manager/.dirs/runtime 378s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 378s ok 3 /gdbus/codegen/object-manager 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/property-naming/.dirs/runtime 378s ok 4 /gdbus/codegen/property-naming 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/autocleanups/.dirs/runtime 378s ok 5 /gdbus/codegen/autocleanups 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/deprecations/.dirs/runtime 378s ok 6 /gdbus/codegen/deprecations 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 378s ok 7 /gdbus/codegen/standalone-interface-info 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_S5BCX2/gdbus/codegen/unix-fd-list/.dirs/runtime 378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 378s ok 8 /gdbus/codegen/unix-fd-list 378s # End of codegen tests 378s # End of gdbus tests 378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 378s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 378s ok - glib/gdbus-test-codegen-old.test 378s # Running test: glib/power-profile-monitor-dbus.test 378s TAP version 13 378s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 378s 1..1 378s ok - glib/power-profile-monitor-dbus.test 378s # Running test: glib/autoptr-gio.test 378s TAP version 14 378s # random seed: R02S8691f43d4087257c3f51a5a472b2e00e 378s 1..1 378s # Start of autoptr tests 378s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 378s ok 1 /autoptr/autoptr 378s # End of autoptr tests 378s ok - glib/autoptr-gio.test 378s # Running test: glib/throws.test 378s TAP version 14 378s # random seed: R02S06db257d0a987cc307e1c7cb5c54ba76 378s 1..3 378s # Start of throws tests 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B3V2W2/throws/invoke-gerror/.dirs/runtime 378s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 378s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 378s ok 1 /throws/invoke-gerror 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B3V2W2/throws/vfunc-can-throw-gerror/.dirs/runtime 378s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 378s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 378s ok 2 /throws/vfunc-can-throw-gerror 378s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/home 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/cache 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/system-config2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/config 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/system-data2 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/data 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/state 378s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_B3V2W2/throws/callback-can-throw-gerror/.dirs/runtime 378s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 378s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 378s ok 3 /throws/callback-can-throw-gerror 378s # End of throws tests 378s ok - glib/throws.test 378s # Running test: glib/defaultiface.test 378s TAP version 14 378s # random seed: R02Sd628c1a88f7dca1797d219e096314480 378s 1..2 378s # Start of gobject tests 378s ok 1 /gobject/static-iface 378s ok 2 /gobject/dynamic-iface 378s # End of gobject tests 378s ok - glib/defaultiface.test 378s # Running test: glib/strfuncs.test 378s TAP version 14 378s # random seed: R02Se55bd080115638bac938ef767e264f2d 378s 1..50 378s # Start of strfuncs tests 378s ok 1 /strfuncs/ascii-strcasecmp 378s ok 2 /strfuncs/ascii_strdown 378s ok 3 /strfuncs/ascii_strdup 378s ok 4 /strfuncs/ascii_strtod 378s ok 5 /strfuncs/bounds-check 378s ok 6 /strfuncs/has-prefix 378s ok 7 /strfuncs/has-prefix-macro 378s ok 8 /strfuncs/has-suffix 378s ok 9 /strfuncs/has-suffix-macro 378s ok 10 /strfuncs/memdup 378s ok 11 /strfuncs/memdup2 378s ok 12 /strfuncs/set_str 378s ok 13 /strfuncs/stpcpy 378s ok 14 /strfuncs/str_match_string 378s ok 15 /strfuncs/str_tokenize_and_fold 378s ok 16 /strfuncs/strcanon 378s ok 17 /strfuncs/strchomp 378s ok 18 /strfuncs/strchug 378s ok 19 /strfuncs/strcompress-strescape 378s ok 20 /strfuncs/strconcat 378s ok 21 /strfuncs/strdelimit 378s ok 22 /strfuncs/strdup 378s ok 23 /strfuncs/strdup-printf 378s ok 24 /strfuncs/strdupv 378s ok 25 /strfuncs/strerror 378s ok 26 /strfuncs/strip-context 378s ok 27 /strfuncs/strjoin 378s ok 28 /strfuncs/strjoinv 378s ok 29 /strfuncs/strlcat 378s ok 30 /strfuncs/strlcpy 378s ok 31 /strfuncs/strncasecmp 378s ok 32 /strfuncs/strndup 378s ok 33 /strfuncs/strnfill 378s ok 34 /strfuncs/strreverse 378s ok 35 /strfuncs/strsignal 378s ok 36 /strfuncs/strsplit 378s ok 37 /strfuncs/strsplit-set 378s ok 38 /strfuncs/strstr 378s ok 39 /strfuncs/strtod 378s ok 40 /strfuncs/strtoull-strtoll 378s ok 41 /strfuncs/strup 378s ok 42 /strfuncs/strv-contains 378s ok 43 /strfuncs/strv-equal 378s ok 44 /strfuncs/strv-length 378s ok 45 /strfuncs/test-is-to-digit 378s ok 46 /strfuncs/transliteration 378s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 378s ok 47 /strfuncs/str-equal 378s # Start of ascii-string-to-num tests 378s ok 48 /strfuncs/ascii-string-to-num/pathological 378s ok 49 /strfuncs/ascii-string-to-num/usual 378s # End of ascii-string-to-num tests 378s # Start of strdup tests 378s ok 50 /strfuncs/strdup/inline 378s # End of strdup tests 378s # End of strfuncs tests 378s ok - glib/strfuncs.test 378s # Running test: glib/io-stream.test 378s TAP version 14 378s # random seed: R02Sbddee57b74a26ce3b37cd5dad36148b2 378s 1..3 378s # Start of io-stream tests 378s ok 1 /io-stream/copy-chunks 378s # Start of close tests 378s # Start of async tests 378s ok 2 /io-stream/close/async/memory 378s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 378s ok 3 /io-stream/close/async/file 378s # End of async tests 378s # End of close tests 378s # End of io-stream tests 378s ok - glib/io-stream.test 378s # Running test: glib/collate.test 378s TAP version 14 378s # random seed: R02S5d41d82ddfbdc680df0423efafae6bb0 378s 1..9 378s # Start of unicode tests 378s # Start of collate tests 378s ok 1 /unicode/collate/0 378s ok 2 /unicode/collate/1 378s ok 3 /unicode/collate/2 378s # End of collate tests 378s # Start of collate-key tests 378s ok 4 /unicode/collate-key/0 378s ok 5 /unicode/collate-key/1 378s ok 6 /unicode/collate-key/2 378s # End of collate-key tests 378s # Start of collate-filename tests 378s ok 7 /unicode/collate-filename/0 378s ok 8 /unicode/collate-filename/1 378s ok 9 /unicode/collate-filename/2 378s # End of collate-filename tests 378s # End of unicode tests 378s ok - glib/collate.test 378s # Running test: glib/slice.test 378s TAP version 14 378s # random seed: R02S6d1bc16b5ee8a59d3d50f523d6061d6f 378s 1..3 378s # Start of slice tests 378s ok 1 /slice/copy 378s ok 2 /slice/chain 378s ok 3 /slice/allocate 378s # End of slice tests 378s ok - glib/slice.test 378s # Running test: glib/memchunk.test 378s TAP version 14 378s # random seed: R02Sb781aad6f0a09c8161a68e859388f214 378s 1..1 378s # Start of memchunk tests 378s ok 1 /memchunk/basic 378s # End of memchunk tests 378s ok - glib/memchunk.test 378s # Running test: glib/converter-stream.test 378s TAP version 14 378s # random seed: R02Saacc064e0ac86564334870db27d077da 378s 1..17 378s # Start of converter tests 378s ok 1 /converter/basics 378s # End of converter tests 378s # Start of converter-input-stream tests 378s ok 2 /converter-input-stream/expander 378s ok 3 /converter-input-stream/compressor 378s # Start of truncation tests 378s ok 4 /converter-input-stream/truncation/zlib 378s ok 5 /converter-input-stream/truncation/gzip 379s ok 6 /converter-input-stream/truncation/raw 379s # End of truncation tests 379s # Start of charset tests 379s ok 7 /converter-input-stream/charset/utf8->latin1 379s ok 8 /converter-input-stream/charset/latin1->utf8 379s ok 9 /converter-input-stream/charset/fallbacks 379s # End of charset tests 379s # End of converter-input-stream tests 379s # Start of converter-output-stream tests 379s # Start of roundtrip tests 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 10 /converter-output-stream/roundtrip/zlib-0 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 11 /converter-output-stream/roundtrip/zlib-9 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 12 /converter-output-stream/roundtrip/gzip-0 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 13 /converter-output-stream/roundtrip/gzip-9 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 14 /converter-output-stream/roundtrip/raw-0 379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 379s ok 15 /converter-output-stream/roundtrip/raw-9 379s # End of roundtrip tests 379s # End of converter-output-stream tests 379s # Start of converter-stream tests 379s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 379s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa09f95ec0 and GSocketClientAsyncConnectData 0x2aa0a381270 379s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 379s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 379s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa09f9f020 for GSocketClientAsyncConnectData 0x2aa0a381270 379s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 379s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 379s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 379s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 379s ok 16 /converter-stream/pollable 379s ok 17 /converter-stream/leftover 379s # End of converter-stream tests 379s ok - glib/converter-stream.test 379s # Running test: glib/performance.test 379s Running test simple-construction 379s # Executing: glib/performance.test 384s # Executing: glib/performance.test 387s simple-construction: Millions of constructed objects per second: 20.661 387s Running test simple-construction1 389s # Executing: glib/performance.test 390s simple-construction1: Millions of constructed objects per second: 81.524 390s Running test complex-construction 394s complex-construction: Millions of constructed objects per second: 7.837 394s Running test complex-construction1 394s # Executing: glib/performance.test 399s complex-construction1: Millions of constructed objects per second: 14.213 399s Running test complex-construction2 399s # Executing: glib/performance.test 404s complex-construction2: Millions of constructed objects per second: 15.243 404s Running test finalization 404s # Executing: glib/performance.test 405s finalization: Millions of finalized objects per second: 4.613 405s Running test type-check 405s type-check: Million type checks per second: inf 405s Running test emit-unhandled 406s emit-unhandled: Emissions per second: 8712577 406s Running test emit-unhandled-empty 408s emit-unhandled-empty: Emissions per second: 55179513 408s Running test emit-unhandled-generic 409s emit-unhandled-generic: Emissions per second: 11829881 409s Running test emit-unhandled-generic-empty 409s # Executing: glib/performance.test 410s emit-unhandled-generic-empty: Emissions per second: 54719283 410s Running test emit-unhandled-args 411s emit-unhandled-args: Emissions per second: 7023335 411s Running test emit-handled 412s emit-handled: Emissions per second: 5818880 412s Running test emit-handled-empty 413s emit-handled-empty: Emissions per second: 6282064 413s Running test emit-handled-generic 414s # Executing: glib/performance.test 414s emit-handled-generic: Emissions per second: 6199875 414s Running test emit-handled-generic-empty 416s emit-handled-generic-empty: Emissions per second: 11367974 416s Running test emit-handled-args 417s emit-handled-args: Emissions per second: 5108966 417s Running test notify-unhandled 418s notify-unhandled: Notify (unhandled) per second: 36032187 418s Running test notify-by-pspec-unhandled 419s notify-by-pspec-unhandled: Notify (unhandled) per second: 117750031 419s Running test notify-handled 419s # Executing: glib/performance.test 420s notify-handled: Notify per second: 3034705 420s Running test notify-by-pspec-handled 421s notify-by-pspec-handled: Notify per second: 3241418 421s Running test property-set 422s property-set: Property set per second: 21669214 422s Running test property-get 423s property-get: Property get per second: 19989147 423s Running test refcount 424s # Executing: glib/performance.test 424s refcount: Million refs+unref per second: 59.14 424s Running test refcount-1 426s refcount-1: Million refs+unref per second: 157.79 426s Running test refcount-toggle 427s refcount-toggle: Million refs+unref per second: 87.63 427s ok - glib/performance.test 427s # Running test: glib/thread.test 427s TAP version 14 427s # random seed: R02S63319a2bf8709303fa8665766affa247 427s 1..7 427s # Start of thread tests 427s ok 1 /thread/thread1 427s ok 2 /thread/thread2 427s ok 3 /thread/thread3 427s ok 4 /thread/thread4 427s ok 5 /thread/thread5 427s ok 6 /thread/thread6 427s ok 7 /thread/thread7 427s # End of thread tests 427s ok - glib/thread.test 427s # Running test: glib/signals-refcount2.test 427s TAP version 14 427s # random seed: R02S253b61b39ff90346f51e86fe77a4833a 427s 1..1 427s # Start of gobject tests 427s # Start of refcount tests 427s # init 0x2aa27d0f420 427s # 427s # init 0x2aa27d0f5c0 427s # 429s # Executing: glib/signals-refcount2.test 432s # dispose 0x2aa27d0f420! 432s # 432s # dispose 0x2aa27d0f5c0! 432s # 432s ok 1 /gobject/refcount/signals 432s # slow test /gobject/refcount/signals executed in 5.00 secs 432s # End of refcount tests 432s # End of gobject tests 432s ok - glib/signals-refcount2.test 432s # Running test: glib/spawn-singlethread.test 432s TAP version 14 432s # random seed: R02Sf14d1337ef871805bcc7b3f39d3bb9ec 432s 1..9 432s # Start of gthread tests 432s ok 1 /gthread/spawn-single-sync 432s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 432s ok 2 /gthread/spawn-stderr-socket 432s ok 3 /gthread/spawn-single-async 432s # thread 1 432s # thread 1 432s ok 4 /gthread/spawn-single-async-with-fds 432s ok 5 /gthread/spawn-async-with-invalid-fds 432s ok 6 /gthread/spawn-script 432s ok 7 /gthread/spawn-posix-spawn 432s # Start of spawn tests 432s ok 8 /gthread/spawn/nonexistent 432s # FD map: 432s # • 5 → 15 432s # • 6 → 16 432s # • 7 → 17 432s # • 8 → 18 432s # • 9 → 19 432s # • 10 → 20 432s # • 11 → 21 432s # • 12 → 22 432s # • 13 → 23 432s # • 3 → 13 432s ok 9 /gthread/spawn/fd-assignment-clash 432s # End of spawn tests 432s # End of gthread tests 432s ok - glib/spawn-singlethread.test 432s # Running test: glib/converter.test 432s TAP version 14 432s # random seed: R02S4117e9405115f8605ac021eeb8a2705a 432s 1..1 432s # Start of converter tests 432s ok 1 /converter/bytes 432s # End of converter tests 432s ok - glib/converter.test 432s # Running test: glib/markup-subparser.test 432s TAP version 14 432s # random seed: R02S1043708e05f71850ac161f0e301e7bc0 432s 1..14 432s # Start of glib tests 432s # Start of markup tests 432s # Start of subparser tests 432s # Start of success tests 432s ok 1 /glib/markup/subparser/success/0 432s ok 2 /glib/markup/subparser/success/1 432s ok 3 /glib/markup/subparser/success/2 432s ok 4 /glib/markup/subparser/success/3 432s ok 5 /glib/markup/subparser/success/4 432s ok 6 /glib/markup/subparser/success/5 432s ok 7 /glib/markup/subparser/success/6 432s # End of success tests 432s # Start of failure tests 432s ok 8 /glib/markup/subparser/failure/0 432s ok 9 /glib/markup/subparser/failure/1 432s ok 10 /glib/markup/subparser/failure/2 432s ok 11 /glib/markup/subparser/failure/3 432s ok 12 /glib/markup/subparser/failure/4 432s ok 13 /glib/markup/subparser/failure/5 432s ok 14 /glib/markup/subparser/failure/6 432s # End of failure tests 432s # End of subparser tests 432s # End of markup tests 432s # End of glib tests 432s ok - glib/markup-subparser.test 432s # Running test: glib/cmph-bdz.test 432s TAP version 14 432s # random seed: R02S0b22a0d5cc3b23e895f8c478bc5aa17b 432s 1..2 432s # Start of cmph-bdz tests 432s ok 1 /cmph-bdz/search 432s ok 2 /cmph-bdz/search-packed 432s # End of cmph-bdz tests 432s ok - glib/cmph-bdz.test 432s # Running test: glib/memory-settings-backend.test 432s TAP version 14 432s # random seed: R02S61eb82ff344c4b8eb7edf6e1f3fc7c83 432s 1..1 432s # Start of memory-settings-backend tests 432s ok 1 /memory-settings-backend/extension-point-registered 432s # End of memory-settings-backend tests 432s ok - glib/memory-settings-backend.test 432s # Running test: glib/appmonitor.test 432s TAP version 14 432s # random seed: R02S98e0ec9893e21a566cc68e869315e875 432s 1..1 432s # Start of monitor tests 432s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/home 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/cache 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/system-config2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/config 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/system-data2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/data 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/state 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/runtime 432s # Using data directory: /tmp/test_appmonitor_G84ZW2/monitor/app/.dirs/data 432s ok 1 /monitor/app 432s # End of monitor tests 432s ok - glib/appmonitor.test 432s # Running test: glib/relation.test 432s TAP version 14 432s # random seed: R02S65745a17f643222a743aebbe288e83cd 432s 1..1 432s # Start of glib tests 432s ok 1 /glib/relation 432s # End of glib tests 432s ok - glib/relation.test 432s # Running test: glib/atomic-c-17.test 432s TAP version 14 432s # random seed: R02S378064bcd081c2001c73064fa522e146 432s 1..2 432s # Start of atomic tests 432s ok 1 /atomic/types 432s ok 2 /atomic/threaded 432s # End of atomic tests 432s ok - glib/atomic-c-17.test 432s # Running test: glib/binding.test 432s TAP version 14 432s # random seed: R02S45781958518931f7f21e1520570cabdb 432s 1..19 432s # Start of binding tests 432s ok 1 /binding/default 432s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 432s ok 2 /binding/canonicalisation 432s ok 3 /binding/bidirectional 432s ok 4 /binding/transform 432s ok 5 /binding/transform-default 432s ok 6 /binding/transform-closure 432s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 432s ok 7 /binding/chain 432s ok 8 /binding/sync-create 432s ok 9 /binding/invert-boolean 432s ok 10 /binding/same-object 432s ok 11 /binding/unbind 432s ok 12 /binding/unbind-weak 432s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 432s ok 13 /binding/unbind-multiple 432s ok 14 /binding/fail 432s ok 15 /binding/interface 432s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 432s ok 16 /binding/concurrent-unbind 432s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 432s ok 17 /binding/concurrent-finalizing 432s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 432s ok 18 /binding/dispose-source 432s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 432s ok 19 /binding/dispose-target 432s # End of binding tests 432s ok - glib/binding.test 432s # Running test: glib/struct-info.test 432s TAP version 14 432s # random seed: R02S230caaca708329323751118ce693082a 432s 1..4 432s # Start of struct-info tests 432s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/home 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/cache 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/system-config2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/config 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/system-data2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/data 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/state 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QDS1W2/struct-info/field-iterators/.dirs/runtime 432s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 432s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 432s ok 1 /struct-info/field-iterators 432s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/home 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/cache 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/system-config2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/config 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/system-data2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/data 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/state 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QDS1W2/struct-info/sizeof-gvalue/.dirs/runtime 432s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 432s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 432s ok 2 /struct-info/sizeof-gvalue 432s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QDS1W2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 432s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 432s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 432s ok 3 /struct-info/is-pointer-for-struct-method-arg 432s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/home 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/cache 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/system-config2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/config 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/system-data2 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/data 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/state 432s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_QDS1W2/struct-info/boxed/.dirs/runtime 432s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 432s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 432s ok 4 /struct-info/boxed 432s # End of struct-info tests 432s ok - glib/struct-info.test 432s # Running test: glib/unicode-normalize.test 432s TAP version 14 432s # random seed: R02S4b7ccdb3d5580300c4e50a9bf5329ce6 432s 1..3 432s # Start of unicode tests 432s # Processing Part0 # Specific cases 432s # Processing Part1 # Character by character test 432s # Processing Part2 # Canonical Order Test 432s # Processing Part3 # PRI #29 Test 432s ok 1 /unicode/normalize 432s # Invalid UTF-8 vector 0 432s # Invalid UTF-8 vector 1 432s # Invalid UTF-8 vector 2 432s # Invalid UTF-8 vector 3 432s # Invalid UTF-8 vector 4 432s # Invalid UTF-8 vector 5 432s # Invalid UTF-8 vector 6 432s # Invalid UTF-8 vector 7 432s # Invalid UTF-8 vector 8 432s # Invalid UTF-8 vector 9 432s # Invalid UTF-8 vector 10 432s # Invalid UTF-8 vector 11 432s # Invalid UTF-8 vector 12 432s ok 2 /unicode/normalize-invalid 432s # Start of normalize tests 432s ok 3 /unicode/normalize/bad-length 432s # End of normalize tests 432s # End of unicode tests 432s ok - glib/unicode-normalize.test 432s # Running test: glib/thread-pool-slow.test 432s TAP version 14 432s # random seed: R02S9a1b72539e6e631053629904f55a2ece 432s 1..7 432s # Start of threadpool tests 432s ok 1 /threadpool/functions 432s ok 2 /threadpool/stop-unused 432s # slow test /threadpool/stop-unused executed in 0.51 secs 433s ok 3 /threadpool/pools 433s # [unsorted] ===> pushed new thread with id:80, number of threads:1, unprocessed:0 433s # [unsorted] ===> pushed new thread with id:39, number of threads:2, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:69, number of threads:3, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:10, number of threads:4, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:34, number of threads:5, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:27, number of threads:6, unprocessed:2 433s # [unsorted] ===> pushed new thread with id:99, number of threads:7, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:26, number of threads:8, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:9, number of threads:9, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:1 433s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:2 433s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:3 433s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:4 433s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:5 433s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:6 433s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:7 433s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:8 433s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:9 433s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:10 433s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:11 433s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:12 433s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:13 433s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:14 433s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:15 433s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:16 433s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:17 433s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:18 433s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:19 433s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:20 433s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:21 433s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:22 433s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:23 433s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:24 433s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:25 433s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:26 433s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:27 433s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:28 433s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:29 433s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:30 433s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:31 433s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:32 433s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:33 433s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:34 433s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:35 433s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:36 433s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:37 433s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:38 433s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:39 433s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:40 433s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:41 433s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:42 433s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:43 433s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:44 433s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:45 433s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:46 433s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:47 433s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:48 433s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:49 433s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:50 433s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:51 433s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:52 433s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:53 433s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:54 433s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:55 433s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:56 433s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:57 433s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:58 433s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:59 433s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:60 433s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:61 433s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:62 433s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:63 433s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:64 433s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:65 433s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:66 433s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:67 433s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:68 433s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:69 433s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:70 433s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:71 433s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:72 433s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:73 433s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:74 433s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:75 433s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:76 433s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:77 433s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:78 433s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:79 433s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:80 433s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:81 433s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:82 433s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:83 433s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:84 433s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:85 433s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:86 433s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:87 433s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:88 433s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:89 433s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:90 433s ok 4 /threadpool/no-sort 433s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:1 433s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:2 433s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:3 433s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:4 433s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:5 433s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:6 433s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:7 433s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:8 433s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:9 433s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:10 433s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:11 433s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:12 433s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:13 433s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:14 433s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:15 433s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:16 433s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:17 433s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:18 433s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:19 433s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:20 433s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:21 433s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:22 433s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:23 433s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:24 433s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:25 433s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:26 433s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:27 433s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:28 433s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:29 433s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:30 433s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:31 433s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:32 433s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:33 433s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:34 433s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:35 433s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:36 433s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:37 433s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:38 433s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:39 433s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:40 433s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:41 433s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:42 433s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:43 433s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:44 433s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:45 433s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:46 433s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:47 433s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:48 433s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:49 433s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:50 433s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:51 433s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:52 433s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:53 433s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:54 433s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:55 433s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:56 433s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:57 433s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:58 433s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:59 433s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:60 433s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:61 433s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:62 433s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:63 433s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:64 433s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:65 433s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:66 433s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:67 433s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:68 433s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:69 433s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:70 433s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:71 433s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:72 433s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:73 433s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:74 433s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:75 433s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:76 433s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:77 433s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:78 433s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:79 433s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:80 433s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:81 433s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:82 433s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:83 433s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:84 433s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:85 433s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:86 433s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:87 433s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:88 433s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:89 433s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:90 433s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:91 433s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:92 433s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:93 433s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:94 433s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:95 433s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:96 433s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:97 433s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:98 433s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:99 433s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:100 433s # Starting thread pool processing 433s ok 5 /threadpool/sort 433s ok 6 /threadpool/stop-unused-multiple 433s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 433s # Pool idle thread count: 0, unprocessed jobs: 48 434s # Pool idle thread count: 0, unprocessed jobs: 0 434s # Pool idle thread count: 0, unprocessed jobs: 0 434s # Executing: glib/thread-pool-slow.test 434s # Pool idle thread count: 10, unprocessed jobs: 0 434s # Pool idle thread count: 10, unprocessed jobs: 0 435s # Pool idle thread count: 10, unprocessed jobs: 0 435s # Pool idle thread count: 10, unprocessed jobs: 0 435s # Pool idle thread count: 10, unprocessed jobs: 0 435s # Pool idle thread count: 10, unprocessed jobs: 0 436s # Pool idle thread count: 10, unprocessed jobs: 0 436s # Pool idle thread count: 10, unprocessed jobs: 0 436s # Pool idle thread count: 10, unprocessed jobs: 0 436s # Pool idle thread count: 10, unprocessed jobs: 0 437s # Pool idle thread count: 10, unprocessed jobs: 0 437s # Pool idle thread count: 10, unprocessed jobs: 0 437s # Pool idle thread count: 10, unprocessed jobs: 0 437s # Pool idle thread count: 10, unprocessed jobs: 0 438s # Pool idle thread count: 10, unprocessed jobs: 0 438s # Pool idle thread count: 10, unprocessed jobs: 0 438s # Pool idle thread count: 10, unprocessed jobs: 0 438s # Pool idle thread count: 10, unprocessed jobs: 0 439s # Pool idle thread count: 10, unprocessed jobs: 0 439s # Pool idle thread count: 10, unprocessed jobs: 0 439s # Executing: glib/thread-pool-slow.test 439s # Pool idle thread count: 10, unprocessed jobs: 0 439s # Pool idle thread count: 10, unprocessed jobs: 0 440s # Pool idle thread count: 10, unprocessed jobs: 0 440s # Pool idle thread count: 10, unprocessed jobs: 0 440s # Pool idle thread count: 10, unprocessed jobs: 0 440s # Pool idle thread count: 10, unprocessed jobs: 0 441s # Pool idle thread count: 10, unprocessed jobs: 0 441s # Pool idle thread count: 10, unprocessed jobs: 0 441s # Pool idle thread count: 10, unprocessed jobs: 0 441s # Pool idle thread count: 10, unprocessed jobs: 0 442s # Pool idle thread count: 10, unprocessed jobs: 0 442s # Pool idle thread count: 10, unprocessed jobs: 0 442s # Pool idle thread count: 10, unprocessed jobs: 2 442s # Pool idle thread count: 10, unprocessed jobs: 2 442s # Pool idle thread count: 8, unprocessed jobs: 0 442s # Pool idle thread count: 8, unprocessed jobs: 0 443s # Pool idle thread count: 10, unprocessed jobs: 0 443s # Pool idle thread count: 10, unprocessed jobs: 0 443s # Pool idle thread count: 10, unprocessed jobs: 0 443s # Pool idle thread count: 10, unprocessed jobs: 0 444s # Pool idle thread count: 10, unprocessed jobs: 0 444s # Pool idle thread count: 10, unprocessed jobs: 0 444s # Executing: glib/thread-pool-slow.test 444s # Pool idle thread count: 2, unprocessed jobs: 0 444s # Pool idle thread count: 2, unprocessed jobs: 0 445s # Pool idle thread count: 2, unprocessed jobs: 0 445s # Pool idle thread count: 2, unprocessed jobs: 0 445s # Pool idle thread count: 2, unprocessed jobs: 0 445s # Pool idle thread count: 2, unprocessed jobs: 0 446s # Pool idle thread count: 2, unprocessed jobs: 0 446s # Pool idle thread count: 2, unprocessed jobs: 0 446s # Pool idle thread count: 2, unprocessed jobs: 0 446s # Pool idle thread count: 2, unprocessed jobs: 0 447s # Pool idle thread count: 2, unprocessed jobs: 0 447s # Pool idle thread count: 2, unprocessed jobs: 0 447s # Pool idle thread count: 2, unprocessed jobs: 0 447s # Pool idle thread count: 2, unprocessed jobs: 0 448s # Pool idle thread count: 2, unprocessed jobs: 0 448s # Pool idle thread count: 2, unprocessed jobs: 0 448s # Pool idle thread count: 2, unprocessed jobs: 0 448s # Pool idle thread count: 2, unprocessed jobs: 0 449s # Pool idle thread count: 2, unprocessed jobs: 0 449s # Pool idle thread count: 2, unprocessed jobs: 0 449s # Executing: glib/thread-pool-slow.test 449s # Pool idle thread count: 2, unprocessed jobs: 0 449s # Pool idle thread count: 2, unprocessed jobs: 0 450s # Pool idle thread count: 2, unprocessed jobs: 0 450s # Pool idle thread count: 2, unprocessed jobs: 0 450s # Pool idle thread count: 2, unprocessed jobs: 0 450s # Pool idle thread count: 2, unprocessed jobs: 0 451s # Pool idle thread count: 2, unprocessed jobs: 0 451s # Pool idle thread count: 2, unprocessed jobs: 0 451s # Pool idle thread count: 2, unprocessed jobs: 0 451s # Pool idle thread count: 2, unprocessed jobs: 0 452s # Pool idle thread count: 2, unprocessed jobs: 0 452s # Pool idle thread count: 2, unprocessed jobs: 0 452s # Pool idle thread count: 2, unprocessed jobs: 0 452s # Pool idle thread count: 2, unprocessed jobs: 0 453s ok 7 /threadpool/idle-time 453s # slow test /threadpool/idle-time executed in 19.52 secs 453s # End of threadpool tests 453s ok - glib/thread-pool-slow.test 453s # Running test: glib/custom-dispatch.test 453s TAP version 14 453s # random seed: R02S58608533668d75e9876a224b00d27d29 453s 1..2 453s # Start of properties tests 453s # Start of custom-dispatch tests 453s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 453s ok 1 /properties/custom-dispatch/init 453s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 453s ok 2 /properties/custom-dispatch/set 453s # End of custom-dispatch tests 453s # End of properties tests 453s ok - glib/custom-dispatch.test 453s # Running test: glib/cxx.test 453s TAP version 14 453s # random seed: R02S97a7d609998066047d9a21f7fbc47e85 453s 1..2 453s # Start of gtask tests 453s # 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. 453s ok 1 /gtask/name 453s # Start of name tests 453s # 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. 453s ok 2 /gtask/name/macro-wrapper 453s # End of name tests 453s # End of gtask tests 453s ok - glib/cxx.test 453s # Running test: glib/tls-bindings.test 453s TAP version 14 453s # random seed: R02S219c4c362cb03a71c0c71444019e23c7 453s 1..2 453s # Start of tls-connection tests 453s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 453s ok 1 /tls-connection/get-tls-channel-binding 453s ok 2 /tls-connection/get-dtls-channel-binding 453s # End of tls-connection tests 453s ok - glib/tls-bindings.test 453s # Running test: glib/gmenumodel.test 453s TAP version 14 453s # random seed: R02Sc6f8ab3b341a28fc36446c585015afd2 453s 1..15 453s # Start of gmenu tests 453s ok 1 /gmenu/equality 454s ok 2 /gmenu/random 454s ok 3 /gmenu/attributes 454s ok 4 /gmenu/links 454s ok 5 /gmenu/mutable 454s ok 6 /gmenu/convenience 454s ok 7 /gmenu/menuitem 454s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 454s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 454s ok 8 /gmenu/input-validation 454s # Start of dbus tests 454s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 454s # Executing: glib/gmenumodel.test 455s ok 9 /gmenu/dbus/roundtrip 455s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 455s ok 10 /gmenu/dbus/subscriptions 456s ok 11 /gmenu/dbus/threaded 456s # slow test /gmenu/dbus/threaded executed in 0.55 secs 456s # Start of peer tests 457s ok 12 /gmenu/dbus/peer/roundtrip 457s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 457s ok 13 /gmenu/dbus/peer/subscriptions 457s # End of peer tests 457s # Start of export tests 457s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 457s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 457s ok 14 /gmenu/dbus/export/error-handling 457s # End of export tests 457s # End of dbus tests 457s # Start of attributes tests 457s ok 15 /gmenu/attributes/iterate 457s # End of attributes tests 457s # End of gmenu tests 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s ok - glib/gmenumodel.test 457s # Running test: glib/inet-address.test 457s TAP version 14 457s # random seed: R02S9cb51284c78e7414e4b6c66172945cb4 457s 1..11 457s # Start of inet-address tests 457s ok 1 /inet-address/parse 457s ok 2 /inet-address/any 457s ok 3 /inet-address/loopback 457s ok 4 /inet-address/bytes 457s ok 5 /inet-address/property 457s # End of inet-address tests 457s # Start of socket-address tests 457s ok 6 /socket-address/basic 457s ok 7 /socket-address/to-string 457s # End of socket-address tests 457s # Start of address-mask tests 457s ok 8 /address-mask/parse 457s ok 9 /address-mask/property 457s ok 10 /address-mask/equal 457s ok 11 /address-mask/match 457s # End of address-mask tests 457s ok - glib/inet-address.test 457s # Running test: glib/gdbus-threading.test 457s TAP version 14 457s # random seed: R02S8bcee6c89882fd022833cd089387b14e 457s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 457s ok - glib/gdbus-threading.test 457s # Running test: glib/gdbus-proxy-unique-name.test 457s TAP version 14 457s # random seed: R02S752656e04cccb8af263c9f45dbcaa49a 457s 1..1 457s # Start of gdbus tests 457s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/home 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/cache 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/system-config2 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/config 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/system-data2 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/data 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/state 457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_96QKX2/gdbus/proxy-unique-name/.dirs/runtime 457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s ok 1 /gdbus/proxy-unique-name 457s # End of gdbus tests 457s ok - glib/gdbus-proxy-unique-name.test 457s # Running test: glib/markup-escape.test 457s TAP version 14 457s # random seed: R02S21abbfeda08eb621cc31d54481f71fa5 457s 1..41 457s # Start of markup tests 457s ok 1 /markup/format 457s # Start of escape-text tests 457s ok 2 /markup/escape-text/0 457s ok 3 /markup/escape-text/1 457s ok 4 /markup/escape-text/2 457s ok 5 /markup/escape-text/3 457s ok 6 /markup/escape-text/4 457s ok 7 /markup/escape-text/5 457s ok 8 /markup/escape-text/6 457s ok 9 /markup/escape-text/7 457s ok 10 /markup/escape-text/8 457s ok 11 /markup/escape-text/9 457s ok 12 /markup/escape-text/10 457s ok 13 /markup/escape-text/11 457s ok 14 /markup/escape-text/12 457s ok 15 /markup/escape-text/13 457s ok 16 /markup/escape-text/14 457s ok 17 /markup/escape-text/15 457s ok 18 /markup/escape-text/16 457s ok 19 /markup/escape-text/17 457s ok 20 /markup/escape-text/18 457s ok 21 /markup/escape-text/19 457s ok 22 /markup/escape-text/20 457s ok 23 /markup/escape-text/21 457s ok 24 /markup/escape-text/22 457s # End of escape-text tests 457s # Start of escape-unichar tests 457s ok 25 /markup/escape-unichar/0 457s ok 26 /markup/escape-unichar/1 457s ok 27 /markup/escape-unichar/2 457s ok 28 /markup/escape-unichar/3 457s ok 29 /markup/escape-unichar/4 457s ok 30 /markup/escape-unichar/5 457s ok 31 /markup/escape-unichar/6 457s ok 32 /markup/escape-unichar/7 457s ok 33 /markup/escape-unichar/8 457s ok 34 /markup/escape-unichar/9 457s ok 35 /markup/escape-unichar/10 457s ok 36 /markup/escape-unichar/11 457s ok 37 /markup/escape-unichar/12 457s ok 38 /markup/escape-unichar/13 457s ok 39 /markup/escape-unichar/14 457s ok 40 /markup/escape-unichar/15 457s ok 41 /markup/escape-unichar/16 457s # End of escape-unichar tests 457s # End of markup tests 457s ok - glib/markup-escape.test 457s # Running test: glib/debugcontroller.test 457s TAP version 14 457s # random seed: R02S24e249b23f6fcc2e8d0b17da2c81ad98 457s 1..3 457s # Start of debug-controller tests 457s # Start of dbus tests 457s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 457s # GLib-GIO-DEBUG: Debug output enabled 457s # GLib-GIO-DEBUG: Debug output disabled 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s ok 1 /debug-controller/dbus/basic 457s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 457s ok 2 /debug-controller/dbus/duplicate 457s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 457s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 457s # End of dbus tests 457s # End of debug-controller tests 457s ok - glib/debugcontroller.test 457s # Running test: glib/macros.test 457s TAP version 14 457s # random seed: R02S90bdc262478448db571d426155491543 457s 1..3 457s # Start of alignof tests 457s ok 1 /alignof/fallback 457s # End of alignof tests 457s # Start of assert tests 457s ok 2 /assert/static 457s # End of assert tests 457s # Start of struct tests 457s ok 3 /struct/sizeof_member 457s # End of struct tests 457s ok - glib/macros.test 457s # Running test: glib/mutex.test 457s TAP version 14 457s # random seed: R02S47b44e532a5308802a12d4a71195d49c 457s 1..17 457s # Start of thread tests 457s ok 1 /thread/mutex1 457s ok 2 /thread/mutex2 457s ok 3 /thread/mutex3 457s ok 4 /thread/mutex4 459s # Executing: glib/mutex.test 460s ok 5 /thread/mutex5 460s # slow test /thread/mutex5 executed in 2.57 secs 460s # Start of mutex tests 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # /thread/mutex/errno summary: Validates that errno is not touched upon return 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 460s ok 6 /thread/mutex/errno 460s # Start of perf tests 460s # max perf: inf mips 460s ok 7 /thread/mutex/perf/uncontended 460s # Start of contended tests 460s # max perf: inf mips 460s ok 8 /thread/mutex/perf/contended/1 460s # max perf: inf mips 460s ok 9 /thread/mutex/perf/contended/2 460s # max perf: inf mips 460s ok 10 /thread/mutex/perf/contended/3 460s # max perf: 5.000000 mips 460s ok 11 /thread/mutex/perf/contended/4 460s # max perf: 6.000000 mips 460s ok 12 /thread/mutex/perf/contended/5 460s # max perf: inf mips 460s ok 13 /thread/mutex/perf/contended/6 460s # max perf: inf mips 460s ok 14 /thread/mutex/perf/contended/7 460s # max perf: 9.000000 mips 460s ok 15 /thread/mutex/perf/contended/8 460s # max perf: inf mips 460s ok 16 /thread/mutex/perf/contended/9 460s # max perf: 11.000000 mips 460s ok 17 /thread/mutex/perf/contended/10 460s # End of contended tests 460s # End of perf tests 460s # End of mutex tests 460s # End of thread tests 460s ok - glib/mutex.test 460s # Running test: glib/asyncqueue.test 460s TAP version 14 460s # random seed: R02S508535d0c46406a291c9813488a1df35 460s 1..7 460s # Start of asyncqueue tests 460s ok 1 /asyncqueue/basics 460s ok 2 /asyncqueue/sort 460s ok 3 /asyncqueue/destroy 460s ok 4 /asyncqueue/threads 460s ok 5 /asyncqueue/timed 460s ok 6 /asyncqueue/remove 460s ok 7 /asyncqueue/push_front 460s # End of asyncqueue tests 460s ok - glib/asyncqueue.test 460s # Running test: glib/rand.test 460s TAP version 14 460s # random seed: R02S3f5faf3bc285abe1c026ff7fafcbaa3f 460s 1..2 460s # Start of rand tests 460s ok 1 /rand/test-rand 460s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 460s ok 2 /rand/double-range 460s # End of rand tests 460s ok - glib/rand.test 460s # Running test: glib/objects-refcount1.test 460s TAP version 14 460s # random seed: R02Se5e576faabde3b984103bd936d1647fe 460s 1..1 460s # Start of gobject tests 460s # Start of refcount tests 460s # init 0x2aa184b1740 460s # 460s # init 0x2aa184b18c0 460s # 464s # Executing: glib/objects-refcount1.test 465s # dispose 0x2aa184b1740! 465s # 465s # dispose 0x2aa184b18c0! 465s # 465s ok 1 /gobject/refcount/object-basics 465s # slow test /gobject/refcount/object-basics executed in 5.00 secs 465s # End of refcount tests 465s # End of gobject tests 465s ok - glib/objects-refcount1.test 465s # Running test: glib/io-channel-basic.test 465s TAP version 14 465s # random seed: R02S9690d3a888de35fe80e6da4e2f5d2594 465s 1..1 465s # Start of gio tests 465s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 465s # random seed: R02S270ebf463a89989f839e59293d9fa017 466s # GLib-DEBUG: io-channel-basic: child writing 8+2323 bytes to 6 466s # GLib-DEBUG: io-channel-basic: ...from 5: IN 466s # GLib-DEBUG: io-channel-basic: ...from 5: 2323 bytes 466s # GLib-DEBUG: io-channel-basic: ...from 5: OK 466s # GLib-DEBUG: io-channel-basic: child writing 8+4333 bytes to 6 466s # GLib-DEBUG: io-channel-basic: ...from 5: IN 466s # GLib-DEBUG: io-channel-basic: ...from 5: 4333 bytes 466s # GLib-DEBUG: io-channel-basic: ...from 5: OK 466s # GLib-DEBUG: io-channel-basic: child writing 8+3800 bytes to 6 466s # GLib-DEBUG: io-channel-basic: ...from 5: IN 466s # GLib-DEBUG: io-channel-basic: ...from 5: 3800 bytes 466s # GLib-DEBUG: io-channel-basic: ...from 5: OK 466s # GLib-DEBUG: io-channel-basic: child writing 8+348 bytes to 6 466s # GLib-DEBUG: io-channel-basic: ...from 5: IN 466s # GLib-DEBUG: io-channel-basic: ...from 5: 348 bytes 466s # GLib-DEBUG: io-channel-basic: ...from 5: OK 467s # GLib-DEBUG: io-channel-basic: child writing 8+2927 bytes to 6 467s # GLib-DEBUG: io-channel-basic: ...from 5: IN 467s # GLib-DEBUG: io-channel-basic: ...from 5: 2927 bytes 467s # GLib-DEBUG: io-channel-basic: ...from 5: OK 467s # GLib-DEBUG: io-channel-basic: child writing 8+3979 bytes to 6 467s # GLib-DEBUG: io-channel-basic: ...from 5: IN 467s # GLib-DEBUG: io-channel-basic: ...from 5: 3979 bytes 467s # GLib-DEBUG: io-channel-basic: ...from 5: OK 467s # GLib-DEBUG: io-channel-basic: child writing 8+4273 bytes to 6 467s # GLib-DEBUG: io-channel-basic: ...from 5: IN 467s # GLib-DEBUG: io-channel-basic: ...from 5: 4273 bytes 467s # GLib-DEBUG: io-channel-basic: ...from 5: OK 467s # GLib-DEBUG: io-channel-basic: child writing 8+2741 bytes to 6 467s # GLib-DEBUG: io-channel-basic: ...from 5: IN 467s # GLib-DEBUG: io-channel-basic: ...from 5: 2741 bytes 467s # GLib-DEBUG: io-channel-basic: ...from 5: OK 468s # GLib-DEBUG: io-channel-basic: child writing 8+4582 bytes to 6 468s # GLib-DEBUG: io-channel-basic: ...from 5: IN 468s # GLib-DEBUG: io-channel-basic: ...from 5: 4582 bytes 468s # GLib-DEBUG: io-channel-basic: ...from 5: OK 468s # GLib-DEBUG: io-channel-basic: child writing 8+224 bytes to 6 468s # GLib-DEBUG: io-channel-basic: ...from 5: IN 468s # GLib-DEBUG: io-channel-basic: ...from 5: 224 bytes 468s # GLib-DEBUG: io-channel-basic: ...from 5: OK 468s # GLib-DEBUG: io-channel-basic: child writing 8+4597 bytes to 6 468s # GLib-DEBUG: io-channel-basic: ...from 5: IN 468s # GLib-DEBUG: io-channel-basic: ...from 5: 4597 bytes 468s # GLib-DEBUG: io-channel-basic: ...from 5: OK 468s # GLib-DEBUG: io-channel-basic: child writing 8+196 bytes to 6 468s # GLib-DEBUG: io-channel-basic: ...from 5: IN 468s # GLib-DEBUG: io-channel-basic: ...from 5: 196 bytes 468s # GLib-DEBUG: io-channel-basic: ...from 5: OK 469s # GLib-DEBUG: io-channel-basic: child writing 8+58 bytes to 6 469s # GLib-DEBUG: io-channel-basic: ...from 5: IN 469s # GLib-DEBUG: io-channel-basic: ...from 5: 58 bytes 469s # GLib-DEBUG: io-channel-basic: ...from 5: OK 469s # GLib-DEBUG: io-channel-basic: child writing 8+1907 bytes to 6 469s # GLib-DEBUG: io-channel-basic: ...from 5: IN 469s # GLib-DEBUG: io-channel-basic: ...from 5: 1907 bytes 469s # GLib-DEBUG: io-channel-basic: ...from 5: OK 469s # Executing: glib/io-channel-basic.test 469s # GLib-DEBUG: io-channel-basic: child writing 8+4567 bytes to 6 469s # GLib-DEBUG: io-channel-basic: ...from 5: IN 469s # GLib-DEBUG: io-channel-basic: ...from 5: 4567 bytes 469s # GLib-DEBUG: io-channel-basic: ...from 5: OK 470s # GLib-DEBUG: io-channel-basic: child writing 8+4240 bytes to 6 470s # GLib-DEBUG: io-channel-basic: ...from 5: IN 470s # GLib-DEBUG: io-channel-basic: ...from 5: 4240 bytes 470s # GLib-DEBUG: io-channel-basic: ...from 5: OK 470s # GLib-DEBUG: io-channel-basic: child writing 8+4950 bytes to 6 470s # GLib-DEBUG: io-channel-basic: ...from 5: IN 470s # GLib-DEBUG: io-channel-basic: ...from 5: 4950 bytes 470s # GLib-DEBUG: io-channel-basic: ...from 5: OK 470s # GLib-DEBUG: io-channel-basic: child writing 8+1294 bytes to 6 470s # GLib-DEBUG: io-channel-basic: ...from 5: IN 470s # GLib-DEBUG: io-channel-basic: ...from 5: 1294 bytes 470s # GLib-DEBUG: io-channel-basic: ...from 5: OK 470s # GLib-DEBUG: io-channel-basic: child writing 8+4326 bytes to 6 470s # GLib-DEBUG: io-channel-basic: ...from 5: IN 470s # GLib-DEBUG: io-channel-basic: ...from 5: 4326 bytes 470s # GLib-DEBUG: io-channel-basic: ...from 5: OK 471s # GLib-DEBUG: io-channel-basic: child writing 8+3341 bytes to 6 471s # GLib-DEBUG: io-channel-basic: ...from 5: IN 471s # GLib-DEBUG: io-channel-basic: ...from 5: 3341 bytes 471s # GLib-DEBUG: io-channel-basic: ...from 5: OK 471s # GLib-DEBUG: io-channel-basic: child writing 8+2923 bytes to 6 471s # GLib-DEBUG: io-channel-basic: ...from 5: IN 471s # GLib-DEBUG: io-channel-basic: ...from 5: 2923 bytes 471s # GLib-DEBUG: io-channel-basic: ...from 5: OK 471s # GLib-DEBUG: io-channel-basic: child writing 8+182 bytes to 6 471s # GLib-DEBUG: io-channel-basic: ...from 5: IN 471s # GLib-DEBUG: io-channel-basic: ...from 5: 182 bytes 471s # GLib-DEBUG: io-channel-basic: ...from 5: OK 471s # GLib-DEBUG: io-channel-basic: child writing 8+4938 bytes to 6 471s # GLib-DEBUG: io-channel-basic: ...from 5: IN 471s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 471s # GLib-DEBUG: io-channel-basic: ...from 5: 4938 bytes 471s # GLib-DEBUG: io-channel-basic: ...from 5: OK 471s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 471s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 471s # random seed: R02Sdb7c44d1cf09a5da6e2069d7b65cce91 471s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 471s # random seed: R02Sacde954ee2671e6174da8aedcf84be75 471s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 471s # random seed: R02Scb1582b6eef046c6e9648dc15de77ae0 471s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 471s # random seed: R02Sb5363c5f8023a7ed45e985cfce919b5e 471s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 471s # random seed: R02S71baa66f5fb2cfa7c7416f963eea783d 472s # GLib-DEBUG: io-channel-basic: child writing 8+3683 bytes to 9 472s # GLib-DEBUG: io-channel-basic: ...from 8: IN 472s # GLib-DEBUG: io-channel-basic: ...from 8: 3683 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 8: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+1172 bytes to 13 472s # GLib-DEBUG: io-channel-basic: ...from 12: IN 472s # GLib-DEBUG: io-channel-basic: ...from 12: 1172 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 12: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+2159 bytes to 17 472s # GLib-DEBUG: io-channel-basic: ...from 16: IN 472s # GLib-DEBUG: io-channel-basic: ...from 16: 2159 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 16: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+2637 bytes to 11 472s # GLib-DEBUG: io-channel-basic: ...from 10: IN 472s # GLib-DEBUG: io-channel-basic: ...from 10: 2637 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 10: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4982 bytes to 15 472s # GLib-DEBUG: io-channel-basic: ...from 14: IN 472s # GLib-DEBUG: io-channel-basic: ...from 14: 4982 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 14: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+600 bytes to 9 472s # GLib-DEBUG: io-channel-basic: ...from 8: IN 472s # GLib-DEBUG: io-channel-basic: ...from 8: 600 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 8: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+2798 bytes to 13 472s # GLib-DEBUG: io-channel-basic: ...from 12: IN 472s # GLib-DEBUG: io-channel-basic: ...from 12: 2798 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 12: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4676 bytes to 17 472s # GLib-DEBUG: io-channel-basic: ...from 16: IN 472s # GLib-DEBUG: io-channel-basic: ...from 16: 4676 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 16: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4390 bytes to 15 472s # GLib-DEBUG: io-channel-basic: ...from 14: IN 472s # GLib-DEBUG: io-channel-basic: ...from 14: 4390 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 14: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4166 bytes to 11 472s # GLib-DEBUG: io-channel-basic: ...from 10: IN 472s # GLib-DEBUG: io-channel-basic: ...from 10: 4166 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 10: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4385 bytes to 13 472s # GLib-DEBUG: io-channel-basic: ...from 12: IN 472s # GLib-DEBUG: io-channel-basic: ...from 12: 4385 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 12: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4248 bytes to 9 472s # GLib-DEBUG: io-channel-basic: ...from 8: IN 472s # GLib-DEBUG: io-channel-basic: ...from 8: 4248 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 8: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4993 bytes to 17 472s # GLib-DEBUG: io-channel-basic: ...from 16: IN 472s # GLib-DEBUG: io-channel-basic: ...from 16: 4993 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 16: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+3221 bytes to 15 472s # GLib-DEBUG: io-channel-basic: ...from 14: IN 472s # GLib-DEBUG: io-channel-basic: ...from 14: 3221 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 14: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+3158 bytes to 11 472s # GLib-DEBUG: io-channel-basic: ...from 10: IN 472s # GLib-DEBUG: io-channel-basic: ...from 10: 3158 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 10: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+453 bytes to 13 472s # GLib-DEBUG: io-channel-basic: ...from 12: IN 472s # GLib-DEBUG: io-channel-basic: ...from 12: 453 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 12: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+3816 bytes to 9 472s # GLib-DEBUG: io-channel-basic: ...from 8: IN 472s # GLib-DEBUG: io-channel-basic: ...from 8: 3816 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 8: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+4856 bytes to 17 472s # GLib-DEBUG: io-channel-basic: ...from 16: IN 472s # GLib-DEBUG: io-channel-basic: ...from 16: 4856 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 16: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+1586 bytes to 15 472s # GLib-DEBUG: io-channel-basic: ...from 14: IN 472s # GLib-DEBUG: io-channel-basic: ...from 14: 1586 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 14: OK 472s # GLib-DEBUG: io-channel-basic: child writing 8+1659 bytes to 11 472s # GLib-DEBUG: io-channel-basic: ...from 10: IN 472s # GLib-DEBUG: io-channel-basic: ...from 10: 1659 bytes 472s # GLib-DEBUG: io-channel-basic: ...from 10: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+4034 bytes to 13 473s # GLib-DEBUG: io-channel-basic: ...from 12: IN 473s # GLib-DEBUG: io-channel-basic: ...from 12: 4034 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 12: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+3507 bytes to 9 473s # GLib-DEBUG: io-channel-basic: ...from 8: IN 473s # GLib-DEBUG: io-channel-basic: ...from 8: 3507 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 8: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+4208 bytes to 17 473s # GLib-DEBUG: io-channel-basic: ...from 16: IN 473s # GLib-DEBUG: io-channel-basic: ...from 16: 4208 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 16: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+3695 bytes to 15 473s # GLib-DEBUG: io-channel-basic: ...from 14: IN 473s # GLib-DEBUG: io-channel-basic: ...from 14: 3695 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 14: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+1808 bytes to 11 473s # GLib-DEBUG: io-channel-basic: ...from 10: IN 473s # GLib-DEBUG: io-channel-basic: ...from 10: 1808 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 10: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+2347 bytes to 9 473s # GLib-DEBUG: io-channel-basic: ...from 8: IN 473s # GLib-DEBUG: io-channel-basic: ...from 8: 2347 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 8: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+4260 bytes to 13 473s # GLib-DEBUG: io-channel-basic: ...from 12: IN 473s # GLib-DEBUG: io-channel-basic: ...from 12: 4260 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 12: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+1746 bytes to 17 473s # GLib-DEBUG: io-channel-basic: ...from 16: IN 473s # GLib-DEBUG: io-channel-basic: ...from 16: 1746 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 16: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+230 bytes to 15 473s # GLib-DEBUG: io-channel-basic: ...from 14: IN 473s # GLib-DEBUG: io-channel-basic: ...from 14: 230 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 14: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+671 bytes to 11 473s # GLib-DEBUG: io-channel-basic: ...from 10: IN 473s # GLib-DEBUG: io-channel-basic: ...from 10: 671 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 10: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+4713 bytes to 9 473s # GLib-DEBUG: io-channel-basic: ...from 8: IN 473s # GLib-DEBUG: io-channel-basic: ...from 8: 4713 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 8: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+4781 bytes to 13 473s # GLib-DEBUG: io-channel-basic: ...from 12: IN 473s # GLib-DEBUG: io-channel-basic: ...from 12: 4781 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 12: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+1196 bytes to 17 473s # GLib-DEBUG: io-channel-basic: ...from 16: IN 473s # GLib-DEBUG: io-channel-basic: ...from 16: 1196 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 16: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+851 bytes to 15 473s # GLib-DEBUG: io-channel-basic: ...from 14: IN 473s # GLib-DEBUG: io-channel-basic: ...from 14: 851 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 14: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+952 bytes to 11 473s # GLib-DEBUG: io-channel-basic: ...from 10: IN 473s # GLib-DEBUG: io-channel-basic: ...from 10: 952 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 10: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+3559 bytes to 9 473s # GLib-DEBUG: io-channel-basic: ...from 8: IN 473s # GLib-DEBUG: io-channel-basic: ...from 8: 3559 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 8: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+346 bytes to 13 473s # GLib-DEBUG: io-channel-basic: ...from 12: IN 473s # GLib-DEBUG: io-channel-basic: ...from 12: 346 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 12: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+1341 bytes to 17 473s # GLib-DEBUG: io-channel-basic: ...from 16: IN 473s # GLib-DEBUG: io-channel-basic: ...from 16: 1341 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 16: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+1427 bytes to 15 473s # GLib-DEBUG: io-channel-basic: ...from 14: IN 473s # GLib-DEBUG: io-channel-basic: ...from 14: 1427 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 14: OK 473s # GLib-DEBUG: io-channel-basic: child writing 8+2677 bytes to 11 473s # GLib-DEBUG: io-channel-basic: ...from 10: IN 473s # GLib-DEBUG: io-channel-basic: ...from 10: 2677 bytes 473s # GLib-DEBUG: io-channel-basic: ...from 10: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+2861 bytes to 9 474s # GLib-DEBUG: io-channel-basic: ...from 8: IN 474s # GLib-DEBUG: io-channel-basic: ...from 8: 2861 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 8: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4719 bytes to 13 474s # GLib-DEBUG: io-channel-basic: ...from 12: IN 474s # GLib-DEBUG: io-channel-basic: ...from 12: 4719 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 12: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+102 bytes to 17 474s # GLib-DEBUG: io-channel-basic: ...from 16: IN 474s # GLib-DEBUG: io-channel-basic: ...from 16: 102 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 16: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4934 bytes to 15 474s # GLib-DEBUG: io-channel-basic: ...from 14: IN 474s # GLib-DEBUG: io-channel-basic: ...from 14: 4934 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 14: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4524 bytes to 11 474s # GLib-DEBUG: io-channel-basic: ...from 10: IN 474s # GLib-DEBUG: io-channel-basic: ...from 10: 4524 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 10: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+3925 bytes to 9 474s # GLib-DEBUG: io-channel-basic: ...from 8: IN 474s # GLib-DEBUG: io-channel-basic: ...from 8: 3925 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 8: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+309 bytes to 13 474s # GLib-DEBUG: io-channel-basic: ...from 12: IN 474s # GLib-DEBUG: io-channel-basic: ...from 12: 309 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 12: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4179 bytes to 15 474s # GLib-DEBUG: io-channel-basic: ...from 14: IN 474s # GLib-DEBUG: io-channel-basic: ...from 14: 4179 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 14: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+3940 bytes to 17 474s # GLib-DEBUG: io-channel-basic: ...from 16: IN 474s # GLib-DEBUG: io-channel-basic: ...from 16: 3940 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 16: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+198 bytes to 11 474s # GLib-DEBUG: io-channel-basic: ...from 10: IN 474s # GLib-DEBUG: io-channel-basic: ...from 10: 198 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 10: OK 474s # Executing: glib/io-channel-basic.test 474s # GLib-DEBUG: io-channel-basic: child writing 8+2355 bytes to 9 474s # GLib-DEBUG: io-channel-basic: ...from 8: IN 474s # GLib-DEBUG: io-channel-basic: ...from 8: 2355 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 8: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+1449 bytes to 13 474s # GLib-DEBUG: io-channel-basic: ...from 12: IN 474s # GLib-DEBUG: io-channel-basic: ...from 12: 1449 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 12: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4954 bytes to 17 474s # GLib-DEBUG: io-channel-basic: ...from 16: IN 474s # GLib-DEBUG: io-channel-basic: ...from 16: 4954 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 16: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4758 bytes to 15 474s # GLib-DEBUG: io-channel-basic: ...from 14: IN 474s # GLib-DEBUG: io-channel-basic: ...from 14: 4758 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 14: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+4998 bytes to 11 474s # GLib-DEBUG: io-channel-basic: ...from 10: IN 474s # GLib-DEBUG: io-channel-basic: ...from 10: 4998 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 10: OK 474s # GLib-DEBUG: io-channel-basic: child writing 8+1020 bytes to 9 474s # GLib-DEBUG: io-channel-basic: ...from 8: IN 474s # GLib-DEBUG: io-channel-basic: ...from 8: 1020 bytes 474s # GLib-DEBUG: io-channel-basic: ...from 8: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4304 bytes to 17 475s # GLib-DEBUG: io-channel-basic: ...from 16: IN 475s # GLib-DEBUG: io-channel-basic: ...from 16: 4304 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 16: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+2624 bytes to 13 475s # GLib-DEBUG: io-channel-basic: ...from 12: IN 475s # GLib-DEBUG: io-channel-basic: ...from 12: 2624 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 12: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+1009 bytes to 15 475s # GLib-DEBUG: io-channel-basic: ...from 14: IN 475s # GLib-DEBUG: io-channel-basic: ...from 14: 1009 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 14: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+153 bytes to 11 475s # GLib-DEBUG: io-channel-basic: ...from 10: IN 475s # GLib-DEBUG: io-channel-basic: ...from 10: 153 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 10: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+2471 bytes to 9 475s # GLib-DEBUG: io-channel-basic: ...from 8: IN 475s # GLib-DEBUG: io-channel-basic: ...from 8: 2471 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 8: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+806 bytes to 17 475s # GLib-DEBUG: io-channel-basic: ...from 16: IN 475s # GLib-DEBUG: io-channel-basic: ...from 16: 806 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 16: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+2448 bytes to 13 475s # GLib-DEBUG: io-channel-basic: ...from 12: IN 475s # GLib-DEBUG: io-channel-basic: ...from 12: 2448 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 12: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4589 bytes to 15 475s # GLib-DEBUG: io-channel-basic: ...from 14: IN 475s # GLib-DEBUG: io-channel-basic: ...from 14: 4589 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 14: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+3833 bytes to 11 475s # GLib-DEBUG: io-channel-basic: ...from 10: IN 475s # GLib-DEBUG: io-channel-basic: ...from 10: 3833 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 10: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+248 bytes to 9 475s # GLib-DEBUG: io-channel-basic: ...from 8: IN 475s # GLib-DEBUG: io-channel-basic: ...from 8: 248 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 8: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+1515 bytes to 17 475s # GLib-DEBUG: io-channel-basic: ...from 16: IN 475s # GLib-DEBUG: io-channel-basic: ...from 16: 1515 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 16: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+1704 bytes to 13 475s # GLib-DEBUG: io-channel-basic: ...from 12: IN 475s # GLib-DEBUG: io-channel-basic: ...from 12: 1704 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 12: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4006 bytes to 15 475s # GLib-DEBUG: io-channel-basic: ...from 14: IN 475s # GLib-DEBUG: io-channel-basic: ...from 14: 4006 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 14: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+2421 bytes to 11 475s # GLib-DEBUG: io-channel-basic: ...from 10: IN 475s # GLib-DEBUG: io-channel-basic: ...from 10: 2421 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 10: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4492 bytes to 9 475s # GLib-DEBUG: io-channel-basic: ...from 8: IN 475s # GLib-DEBUG: io-channel-basic: ...from 8: 4492 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 8: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+1830 bytes to 17 475s # GLib-DEBUG: io-channel-basic: ...from 16: IN 475s # GLib-DEBUG: io-channel-basic: ...from 16: 1830 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 16: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4689 bytes to 15 475s # GLib-DEBUG: io-channel-basic: ...from 14: IN 475s # GLib-DEBUG: io-channel-basic: ...from 14: 4689 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 14: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+2850 bytes to 13 475s # GLib-DEBUG: io-channel-basic: ...from 12: IN 475s # GLib-DEBUG: io-channel-basic: ...from 12: 2850 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 12: OK 475s # GLib-DEBUG: io-channel-basic: child writing 8+4309 bytes to 11 475s # GLib-DEBUG: io-channel-basic: ...from 10: IN 475s # GLib-DEBUG: io-channel-basic: ...from 10: 4309 bytes 475s # GLib-DEBUG: io-channel-basic: ...from 10: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+3733 bytes to 9 476s # GLib-DEBUG: io-channel-basic: ...from 8: IN 476s # GLib-DEBUG: io-channel-basic: ...from 8: 3733 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 8: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2432 bytes to 17 476s # GLib-DEBUG: io-channel-basic: ...from 16: IN 476s # GLib-DEBUG: io-channel-basic: ...from 16: 2432 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 16: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+719 bytes to 15 476s # GLib-DEBUG: io-channel-basic: ...from 14: IN 476s # GLib-DEBUG: io-channel-basic: ...from 14: 719 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 14: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2037 bytes to 13 476s # GLib-DEBUG: io-channel-basic: ...from 12: IN 476s # GLib-DEBUG: io-channel-basic: ...from 12: 2037 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 12: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2032 bytes to 11 476s # GLib-DEBUG: io-channel-basic: ...from 10: IN 476s # GLib-DEBUG: io-channel-basic: ...from 10: 2032 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 10: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+4331 bytes to 9 476s # GLib-DEBUG: io-channel-basic: ...from 8: IN 476s # GLib-DEBUG: io-channel-basic: ...from 8: 4331 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 8: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+1991 bytes to 17 476s # GLib-DEBUG: io-channel-basic: ...from 16: IN 476s # GLib-DEBUG: io-channel-basic: ...from 16: 1991 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 16: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+3373 bytes to 15 476s # GLib-DEBUG: io-channel-basic: ...from 14: IN 476s # GLib-DEBUG: io-channel-basic: ...from 14: 3373 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 14: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+286 bytes to 13 476s # GLib-DEBUG: io-channel-basic: ...from 12: IN 476s # GLib-DEBUG: io-channel-basic: ...from 12: 286 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 12: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+4093 bytes to 11 476s # GLib-DEBUG: io-channel-basic: ...from 10: IN 476s # GLib-DEBUG: io-channel-basic: ...from 10: 4093 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 10: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+4035 bytes to 9 476s # GLib-DEBUG: io-channel-basic: ...from 8: IN 476s # GLib-DEBUG: io-channel-basic: ...from 8: 4035 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 8: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2834 bytes to 17 476s # GLib-DEBUG: io-channel-basic: ...from 16: IN 476s # GLib-DEBUG: io-channel-basic: ...from 16: 2834 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 16: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+3197 bytes to 15 476s # GLib-DEBUG: io-channel-basic: ...from 14: IN 476s # GLib-DEBUG: io-channel-basic: ...from 14: 3197 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 14: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+1501 bytes to 13 476s # GLib-DEBUG: io-channel-basic: ...from 12: IN 476s # GLib-DEBUG: io-channel-basic: ...from 12: 1501 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 12: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+205 bytes to 11 476s # GLib-DEBUG: io-channel-basic: ...from 10: IN 476s # GLib-DEBUG: io-channel-basic: ...from 10: 205 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 10: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2986 bytes to 9 476s # GLib-DEBUG: io-channel-basic: ...from 8: IN 476s # GLib-DEBUG: io-channel-basic: ...from 8: 2986 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 8: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2501 bytes to 17 476s # GLib-DEBUG: io-channel-basic: ...from 16: IN 476s # GLib-DEBUG: io-channel-basic: ...from 16: 2501 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 16: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+3674 bytes to 15 476s # GLib-DEBUG: io-channel-basic: ...from 14: IN 476s # GLib-DEBUG: io-channel-basic: ...from 14: 3674 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 14: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+2617 bytes to 13 476s # GLib-DEBUG: io-channel-basic: ...from 12: IN 476s # GLib-DEBUG: io-channel-basic: ...from 12: 2617 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 12: OK 476s # GLib-DEBUG: io-channel-basic: child writing 8+4638 bytes to 11 476s # GLib-DEBUG: io-channel-basic: ...from 10: IN 476s # GLib-DEBUG: io-channel-basic: ...from 10: 4638 bytes 476s # GLib-DEBUG: io-channel-basic: ...from 10: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 9 477s # GLib-DEBUG: io-channel-basic: ...from 8: IN 477s # GLib-DEBUG: io-channel-basic: ...from 8: 4325 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 8: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+3698 bytes to 17 477s # GLib-DEBUG: io-channel-basic: ...from 16: IN 477s # GLib-DEBUG: io-channel-basic: ...from 16: 3698 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 16: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+4582 bytes to 13 477s # GLib-DEBUG: io-channel-basic: ...from 12: IN 477s # GLib-DEBUG: io-channel-basic: ...from 12: 4582 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 12: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+4456 bytes to 15 477s # GLib-DEBUG: io-channel-basic: ...from 14: IN 477s # GLib-DEBUG: io-channel-basic: ...from 14: 4456 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 14: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+4155 bytes to 11 477s # GLib-DEBUG: io-channel-basic: ...from 10: IN 477s # GLib-DEBUG: io-channel-basic: ...from 10: 4155 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 10: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+973 bytes to 9 477s # GLib-DEBUG: io-channel-basic: ...from 8: IN 477s # GLib-DEBUG: io-channel-basic: ...from 8: 973 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 8: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+3319 bytes to 17 477s # GLib-DEBUG: io-channel-basic: ...from 16: IN 477s # GLib-DEBUG: io-channel-basic: ...from 16: 3319 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 16: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+407 bytes to 13 477s # GLib-DEBUG: io-channel-basic: ...from 12: IN 477s # GLib-DEBUG: io-channel-basic: ...from 12: 407 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 12: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+3703 bytes to 15 477s # GLib-DEBUG: io-channel-basic: ...from 14: IN 477s # GLib-DEBUG: io-channel-basic: ...from 14: 3703 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 14: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+1694 bytes to 11 477s # GLib-DEBUG: io-channel-basic: ...from 10: IN 477s # GLib-DEBUG: io-channel-basic: ...from 10: 1694 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 10: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+2706 bytes to 9 477s # GLib-DEBUG: io-channel-basic: ...from 8: IN 477s # GLib-DEBUG: io-channel-basic: ...from 8: 2706 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 8: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+514 bytes to 17 477s # GLib-DEBUG: io-channel-basic: ...from 16: IN 477s # GLib-DEBUG: io-channel-basic: ...from 16: 514 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 16: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+983 bytes to 13 477s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 477s # GLib-DEBUG: io-channel-basic: ...from 12: IN 477s # GLib-DEBUG: io-channel-basic: ...from 12: 983 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 12: OK 477s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 477s # GLib-DEBUG: io-channel-basic: child writing 8+1659 bytes to 15 477s # GLib-DEBUG: io-channel-basic: ...from 14: IN 477s # GLib-DEBUG: io-channel-basic: ...from 14: 1659 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 14: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+3299 bytes to 11 477s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 477s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 477s # GLib-DEBUG: io-channel-basic: ...from 10: 3299 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 10: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+619 bytes to 9 477s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 477s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 477s # GLib-DEBUG: io-channel-basic: ...from 8: 619 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 8: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+566 bytes to 17 477s # GLib-DEBUG: io-channel-basic: ...from 16: IN 477s # GLib-DEBUG: io-channel-basic: ...from 16: 566 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 16: OK 477s # GLib-DEBUG: io-channel-basic: child writing 8+1485 bytes to 15 477s # GLib-DEBUG: io-channel-basic: ...from 14: IN 477s # GLib-DEBUG: io-channel-basic: ...from 14: 1485 bytes 477s # GLib-DEBUG: io-channel-basic: ...from 14: OK 478s # GLib-DEBUG: io-channel-basic: child writing 8+3291 bytes to 17 478s # GLib-DEBUG: io-channel-basic: ...from 16: IN 478s # GLib-DEBUG: io-channel-basic: ...from 16: 3291 bytes 478s # GLib-DEBUG: io-channel-basic: ...from 16: OK 478s # GLib-DEBUG: io-channel-basic: child writing 8+3892 bytes to 15 478s # GLib-DEBUG: io-channel-basic: ...from 14: IN 478s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 478s # GLib-DEBUG: io-channel-basic: ...from 14: 3892 bytes 478s # GLib-DEBUG: io-channel-basic: ...from 14: OK 478s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 478s # GLib-DEBUG: io-channel-basic: child writing 8+3530 bytes to 17 478s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 478s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 478s # GLib-DEBUG: io-channel-basic: ...from 16: 3530 bytes 478s # GLib-DEBUG: io-channel-basic: ...from 16: OK 478s ok 1 /gio/io-basics 478s # slow test /gio/io-basics executed in 12.49 secs 478s # End of gio tests 478s ok - glib/io-channel-basic.test 478s # Running test: glib/unix.test 478s TAP version 14 478s # random seed: R02S7f532ff6744ddd4dd21d7eca5de9e274 478s 1..20 478s # Start of glib-unix tests 478s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 478s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 478s ok 1 /glib-unix/closefrom 478s ok 2 /glib-unix/pipe 478s # /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 478s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 478s ok 3 /glib-unix/pipe-stdio-overwrite 478s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 478s ok 4 /glib-unix/pipe-struct 478s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 478s ok 5 /glib-unix/pipe-struct-auto 478s ok 6 /glib-unix/error 478s ok 7 /glib-unix/nonblocking 478s ok 8 /glib-unix/sighup 478s # slow test /glib-unix/sighup executed in 0.50 secs 479s ok 9 /glib-unix/sigterm 479s # slow test /glib-unix/sigterm executed in 0.50 secs 479s # Executing: glib/unix.test 479s ok 10 /glib-unix/sighup_again 479s # slow test /glib-unix/sighup_again executed in 0.50 secs 479s ok 11 /glib-unix/sighup_add_remove 479s ok 12 /glib-unix/sighup_nested 481s ok 13 /glib-unix/callback_after_signal 481s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 481s ok 14 /glib-unix/child-wait 481s # Start of closefrom tests 481s # Start of subprocess tests 481s # End of subprocess tests 481s # End of closefrom tests 481s # Start of pipe tests 481s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 481s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 481s ok 15 /glib-unix/pipe/fd-cloexec 481s # End of pipe tests 481s # Start of sighup tests 482s ok 16 /glib-unix/sighup/alternate-stack 482s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 482s # End of sighup tests 482s # Start of sigterm tests 483s ok 17 /glib-unix/sigterm/alternate-stack 483s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 483s # End of sigterm tests 483s # Start of sighup_again tests 484s # Executing: glib/unix.test 484s ok 18 /glib-unix/sighup_again/alternate-stack 484s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 484s # End of sighup_again tests 484s # Start of get-passwd-entry tests 484s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 484s ok 19 /glib-unix/get-passwd-entry/root 484s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 484s ok 20 /glib-unix/get-passwd-entry/nonexistent 484s # End of get-passwd-entry tests 484s # End of glib-unix tests 484s ok - glib/unix.test 484s # Running test: glib/mount-operation.test 484s TAP version 14 484s # random seed: R02S639a01935553035cf7395a5209f9d152 484s 1..2 484s # Start of mount-operation tests 484s ok 1 /mount-operation/construction 484s ok 2 /mount-operation/properties 484s # End of mount-operation tests 484s ok - glib/mount-operation.test 484s # Running test: glib/markup-parse.test 484s TAP version 14 484s # random seed: R02S3749b05680c5de785b2b6c9aeb601f09 484s 1..71 484s # Start of markup tests 484s # Start of parse tests 484s ok 1 /markup/parse/fail-40.gmarkup 484s ok 2 /markup/parse/fail-6.gmarkup 484s ok 3 /markup/parse/valid-16.gmarkup 484s ok 4 /markup/parse/fail-18.gmarkup 484s ok 5 /markup/parse/fail-25.gmarkup 484s ok 6 /markup/parse/fail-44.gmarkup 484s ok 7 /markup/parse/fail-14.gmarkup 484s ok 8 /markup/parse/fail-52.gmarkup 484s ok 9 /markup/parse/fail-36.gmarkup 484s ok 10 /markup/parse/fail-41.gmarkup 484s ok 11 /markup/parse/fail-29.gmarkup 484s ok 12 /markup/parse/fail-27.gmarkup 484s ok 13 /markup/parse/fail-46.gmarkup 484s ok 14 /markup/parse/fail-43.gmarkup 484s ok 15 /markup/parse/fail-23.gmarkup 484s ok 16 /markup/parse/valid-14.gmarkup 484s ok 17 /markup/parse/fail-42.gmarkup 484s ok 18 /markup/parse/fail-26.gmarkup 484s ok 19 /markup/parse/fail-1.gmarkup 484s ok 20 /markup/parse/fail-21.gmarkup 484s ok 21 /markup/parse/fail-45.gmarkup 484s ok 22 /markup/parse/fail-12.gmarkup 484s ok 23 /markup/parse/valid-17.gmarkup 484s ok 24 /markup/parse/valid-13.gmarkup 484s ok 25 /markup/parse/fail-9.gmarkup 484s ok 26 /markup/parse/valid-6.gmarkup 484s ok 27 /markup/parse/fail-5.gmarkup 484s ok 28 /markup/parse/fail-8.gmarkup 484s ok 29 /markup/parse/fail-17.gmarkup 484s ok 30 /markup/parse/fail-30.gmarkup 484s ok 31 /markup/parse/fail-19.gmarkup 484s ok 32 /markup/parse/fail-24.gmarkup 484s ok 33 /markup/parse/fail-13.gmarkup 484s ok 34 /markup/parse/fail-51.gmarkup 484s ok 35 /markup/parse/fail-28.gmarkup 484s ok 36 /markup/parse/valid-2.gmarkup 484s ok 37 /markup/parse/fail-53.gmarkup 484s ok 38 /markup/parse/fail-22.gmarkup 484s ok 39 /markup/parse/valid-7.gmarkup 484s ok 40 /markup/parse/fail-34.gmarkup 484s ok 41 /markup/parse/valid-5.gmarkup 484s ok 42 /markup/parse/fail-38.gmarkup 484s ok 43 /markup/parse/fail-33.gmarkup 484s ok 44 /markup/parse/fail-10.gmarkup 484s ok 45 /markup/parse/fail-32.gmarkup 484s ok 46 /markup/parse/fail-3.gmarkup 484s ok 47 /markup/parse/valid-15.gmarkup 484s ok 48 /markup/parse/fail-48.gmarkup 484s ok 49 /markup/parse/fail-20.gmarkup 484s ok 50 /markup/parse/fail-4.gmarkup 484s ok 51 /markup/parse/valid-12.gmarkup 484s ok 52 /markup/parse/valid-1.gmarkup 484s ok 53 /markup/parse/fail-54.gmarkup 484s ok 54 /markup/parse/fail-2.gmarkup 484s ok 55 /markup/parse/fail-15.gmarkup 484s ok 56 /markup/parse/fail-37.gmarkup 484s ok 57 /markup/parse/fail-11.gmarkup 484s ok 58 /markup/parse/valid-11.gmarkup 484s ok 59 /markup/parse/fail-7.gmarkup 484s ok 60 /markup/parse/valid-8.gmarkup 484s ok 61 /markup/parse/fail-50.gmarkup 484s ok 62 /markup/parse/fail-39.gmarkup 484s ok 63 /markup/parse/fail-16.gmarkup 484s ok 64 /markup/parse/fail-47.gmarkup 484s ok 65 /markup/parse/valid-3.gmarkup 484s ok 66 /markup/parse/valid-9.gmarkup 484s ok 67 /markup/parse/fail-35.gmarkup 484s ok 68 /markup/parse/valid-4.gmarkup 484s ok 69 /markup/parse/valid-10.gmarkup 484s ok 70 /markup/parse/fail-31.gmarkup 484s ok 71 /markup/parse/fail-49.gmarkup 484s # End of parse tests 484s # End of markup tests 484s ok - glib/markup-parse.test 484s # Running test: glib/task.test 484s TAP version 14 484s # random seed: R02S782624c931a1f31745d253847d6b5ade 484s 1..36 484s # Start of gtask tests 484s ok 1 /gtask/basic 484s ok 2 /gtask/error 484s ok 3 /gtask/error-literal 484s ok 4 /gtask/error-literal-from-variable 484s ok 5 /gtask/return-from-same-iteration 484s ok 6 /gtask/return-from-toplevel 484s ok 7 /gtask/return-from-anon-thread 484s ok 8 /gtask/return-from-wrong-thread 484s ok 9 /gtask/no-callback 484s ok 10 /gtask/report-error 484s ok 11 /gtask/priority 484s ok 12 /gtask/name 484s ok 13 /gtask/static-name 484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 485s ok 14 /gtask/asynchronous-cancellation 485s ok 15 /gtask/check-cancellable 485s ok 16 /gtask/return-if-cancelled 485s ok 17 /gtask/run-in-thread 485s ok 18 /gtask/run-in-thread-sync 485s ok 19 /gtask/run-in-thread-priority 485s ok 20 /gtask/run-in-thread-nested 485s ok 21 /gtask/run-in-thread-overflow 485s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 485s # GLib-GIO-DEBUG: GTask 0x2aa277c6760 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 485s # GLib-GIO-DEBUG: GTask 0x2aa277c6680 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 485s ok 22 /gtask/return-on-cancel 485s # GLib-GIO-DEBUG: GTask 0x2aa277c5b80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 485s ok 23 /gtask/return-on-cancel-sync 485s # GLib-GIO-DEBUG: GTask 0x2aa277c5ec0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 485s ok 24 /gtask/return-on-cancel-atomic 485s ok 25 /gtask/return-pointer 485s ok 26 /gtask/return-value 485s ok 27 /gtask/return-prefixed-error 485s ok 28 /gtask/object-keepalive 485s ok 29 /gtask/legacy-error 485s ok 30 /gtask/finalize-without-return 485s # Start of name tests 485s ok 31 /gtask/name/macro-wrapper 485s # End of name tests 485s # Start of return tests 485s ok 32 /gtask/return/error-first 485s ok 33 /gtask/return/value-first 485s # Start of in-idle tests 485s ok 34 /gtask/return/in-idle/error-first 485s ok 35 /gtask/return/in-idle/value-first 485s # End of in-idle tests 485s # End of return tests 485s # Start of attach-source tests 485s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 485s ok 36 /gtask/attach-source/set-name 485s # End of attach-source tests 485s # End of gtask tests 485s ok - glib/task.test 485s # Running test: glib/async-splice-output-stream.test 485s TAP version 14 485s # random seed: R02Se9c0a5b1b5274b35714fab1457615e21 485s 1..5 485s # Start of async-splice tests 485s ok 1 /async-splice/copy-chunks 485s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 485s ok 2 /async-splice/copy-chunks-threaded-input 485s ok 3 /async-splice/copy-chunks-threaded-output 485s ok 4 /async-splice/copy-chunks-threaded 485s ok 5 /async-splice/cancelled 485s # End of async-splice tests 485s ok - glib/async-splice-output-stream.test 485s # Running test: glib/portal-support-flatpak-gsettings-only.test 485s TAP version 14 485s # random seed: R02S10262a7b0b52fe8a52637f10fa4ccac9 485s 1..1 485s # Start of portal-support tests 485s # Start of flatpak tests 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/runtime 485s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_DURBX2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 485s ok 1 /portal-support/flatpak/gsettings 485s # End of flatpak tests 485s # End of portal-support tests 485s ok - glib/portal-support-flatpak-gsettings-only.test 485s # Running test: glib/cache.test 485s TAP version 14 485s # random seed: R02S059f33d284d185eb54e90bd81451adaf 485s 1..1 485s # Start of cache tests 485s ok 1 /cache/basic 485s # End of cache tests 485s ok - glib/cache.test 485s # Running test: glib/socket.test 485s TAP version 14 485s # random seed: R02Sf08dd1c6cf463ed6ef845b3a33430e93 485s 1..28 485s # Start of socket tests 486s ok 1 /socket/ipv4_sync 486s # slow test /socket/ipv4_sync executed in 1.00 secs 487s ok 2 /socket/ipv4_async 487s # slow test /socket/ipv4_async executed in 1.00 secs 487s ok 3 /socket/ipv6_sync 487s ok 4 /socket/ipv6_async 487s ok 5 /socket/ipv6_v4mapped 488s ok 6 /socket/close_graceful 488s # slow test /socket/close_graceful executed in 1.00 secs 488s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 488s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 488s ok 8 /socket/fd_reuse 488s ok 9 /socket/address 488s ok 10 /socket/unix-from-fd 488s ok 11 /socket/unix-connection 488s ok 12 /socket/unix-connection-ancillary-data 488s ok 13 /socket/source-postmortem 488s ok 14 /socket/read_write 488s ok 15 /socket/read_writev 488s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 488s ok 16 /socket/receive_bytes 488s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 488s ok 17 /socket/receive_bytes_from 488s # Start of ipv4_sync tests 488s ok 18 /socket/ipv4_sync/datagram 488s # Start of datagram tests 489s # Executing: glib/socket.test 490s ok 19 /socket/ipv4_sync/datagram/timeouts 490s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 490s # End of datagram tests 490s # End of ipv4_sync tests 490s # Start of ipv6_sync tests 490s ok 20 /socket/ipv6_sync/datagram 490s # Start of datagram tests 491s ok 21 /socket/ipv6_sync/datagram/timeouts 491s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 491s # End of datagram tests 491s # End of ipv6_sync tests 491s # Start of reuse tests 491s ok 22 /socket/reuse/tcp 491s ok 23 /socket/reuse/udp 491s # End of reuse tests 491s # Start of get_available tests 491s ok 24 /socket/get_available/datagram 491s ok 25 /socket/get_available/stream 491s # End of get_available tests 491s # Start of credentials tests 491s # Supported on this OS: GCredentials:linux-ucred:pid=0 491s ok 26 /socket/credentials/tcp_client 491s # Supported on this OS: GCredentials:linux-ucred:pid=0 491s ok 27 /socket/credentials/tcp_server 491s # Supported on this OS: GCredentials:linux-ucred:pid=4621,uid=1000,gid=1000 491s ok 28 /socket/credentials/unix_socketpair 491s # End of credentials tests 491s # End of socket tests 491s ok - glib/socket.test 491s # Running test: glib/macros-c-17.test 491s TAP version 14 491s # random seed: R02S5f5d8db20cbb3eabcd5f9260943be584 491s 1..4 491s # Start of C tests 491s ok 1 /C/standard-17 491s # End of C tests 491s # Start of alignof tests 491s ok 2 /alignof/fallback 491s # End of alignof tests 491s # Start of assert tests 491s ok 3 /assert/static 491s # End of assert tests 491s # Start of struct tests 491s ok 4 /struct/sizeof_member 491s # End of struct tests 491s ok - glib/macros-c-17.test 491s # Running test: glib/gapplication.test 491s TAP version 14 491s # random seed: R02S7c0d702e223a9368dcf2c96541cbb0e0 491s 1..24 491s # Start of gapplication tests 491s ok 1 /gapplication/no-dbus 491s ok 2 /gapplication/no-appid 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 3 /gapplication/properties 491s ok 4 /gapplication/app-id 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 5 /gapplication/quit 491s ok 6 /gapplication/registered 491s ok 7 /gapplication/local-actions 491s ok 8 /gapplication/local-command-line 491s ok 9 /gapplication/resource-path 491s ok 10 /gapplication/test-help 491s ok 11 /gapplication/command-line-done 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 12 /gapplication/test-busy 491s ok 13 /gapplication/test-handle-local-options1 491s ok 14 /gapplication/test-handle-local-options2 491s ok 15 /gapplication/test-handle-local-options3 491s ok 16 /gapplication/api 491s ok 17 /gapplication/version 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # launching subprocess 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 18 /gapplication/replace 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # launching subprocess 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 19 /gapplication/no-replace 491s # slow test /gapplication/no-replace executed in 0.50 secs 491s # Start of dbus tests 491s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # Message 0 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 1 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 2 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 20 /gapplication/dbus/activate 491s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # Message 0 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 491s # Message 1 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 2 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 3 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 21 /gapplication/dbus/open 491s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # Message 0 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 1 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 2 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 22 /gapplication/dbus/command-line 491s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 23 /gapplication/dbus/command-line-done 491s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 491s # Message 0 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 1 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 2 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 3 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 4 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 5 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 6 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 7 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 8 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 9 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 10 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # Message 11 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok 24 /gapplication/dbus/activate-action 491s # End of dbus tests 491s # End of gapplication tests 491s ok - glib/gapplication.test 491s # Running test: glib/override.test 491s TAP version 14 491s # random seed: R02S8ae191f28de024822c4cacab76654238 491s 1..1 491s # Start of gobject tests 491s # *** emitting foo on a TestA instance 491s # Expecting: TestA::foo,TestI::foo 491s # Got: TestA::foo,TestI::foo 491s # *** emitting bar on a TestA instance 491s # Expecting: TestA::bar 491s # Got: TestA::bar 491s # *** emitting baz on a TestA instance 491s # Expecting: TestA::baz 491s # Got: TestA::baz 491s # *** emitting foo on a TestB instance 491s # Expecting: TestB::foo,TestA::foo,TestI::foo 491s # Got: TestB::foo,TestA::foo,TestI::foo 491s # *** emitting bar on a TestB instance 491s # Expecting: TestB::bar,TestA::bar 491s # Got: TestB::bar,TestA::bar 491s # *** emitting baz on a TestB instance 491s # Expecting: TestB::baz,TestA::baz 491s # Got: TestB::baz,TestA::baz 491s # *** emitting foo on a TestC instance 491s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 491s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 491s # *** emitting bar on a TestC instance 491s # Expecting: TestC::bar,TestB::bar,TestA::bar 491s # Got: TestC::bar,TestB::bar,TestA::bar 491s # *** emitting baz on a TestC instance 491s # Expecting: TestC::baz,TestB::baz,TestA::baz 491s # Got: TestC::baz,TestB::baz,TestA::baz 491s ok 1 /gobject/override 491s # End of gobject tests 491s ok - glib/override.test 491s # Running test: glib/gdbus-export.test 491s TAP version 14 491s # random seed: R02Sba11a3f815d73ff3fc8f533e35d66693 491s 1..6 491s # Start of gdbus tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration/.dirs/runtime 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s ok 1 /gdbus/object-registration 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/object-registration-with-closures/.dirs/runtime 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s ok 2 /gdbus/object-registration-with-closures 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/registered-interfaces/.dirs/runtime 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s ok 3 /gdbus/registered-interfaces 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/async-properties/.dirs/runtime 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s ok 4 /gdbus/async-properties 491s # Start of threaded-unregistration tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/object/.dirs/runtime 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 491s # /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 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 492s # slow test /gdbus/threaded-unregistration/object executed in 1.05 secs 492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/home 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/cache 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/config 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/data 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/state 492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Y9WLX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 492s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 492s # /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 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 492s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 493s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 493s # slow test /gdbus/threaded-unregistration/subtree executed in 1.01 secs 493s # End of threaded-unregistration tests 493s # End of gdbus tests 493s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 493s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 493s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 493s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 493s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 493s ok - glib/gdbus-export.test 493s # Running test: glib/notify-init.test 493s TAP version 14 493s # random seed: R02S76ed7b5269b982bdfb60dc90da62f7cf 493s 1..1 493s # Start of properties tests 493s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 493s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 493s ok 1 /properties/notify-in-init 493s # End of properties tests 493s ok - glib/notify-init.test 493s # Running test: glib/node.test 493s TAP version 14 493s # random seed: R02S915f797a9f794bfa1b72fcaccaed68bc 493s 1..6 493s # Start of node tests 493s ok 1 /node/allocation 493s ok 2 /node/construction 493s ok 3 /node/traversal 493s ok 4 /node/misc 493s ok 5 /node/unlink 493s ok 6 /node/copy 493s # End of node tests 493s ok - glib/node.test 493s # Running test: glib/gdbus-non-socket.test 493s TAP version 14 493s # random seed: R02Sdd5bd7c7835af4422d24fbd3bf64359f 493s 1..1 493s # Start of gdbus tests 493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/home 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/cache 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/system-config2 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/config 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/system-data2 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/data 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/state 493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_JB8AX2/gdbus/non-socket/.dirs/runtime 493s ok 1 /gdbus/non-socket 493s # End of gdbus tests 493s ok - glib/gdbus-non-socket.test 493s # Running test: glib/gvariant.test 493s TAP version 14 493s # random seed: R02S7124c3289af55abf93410a4ec8e0bf01 493s 1..64 493s # Start of gvariant tests 493s ok 1 /gvariant/type 494s ok 2 /gvariant/typeinfo 494s ok 3 /gvariant/string 494s ok 4 /gvariant/utf8 494s # Executing: glib/gvariant.test 497s ok 5 /gvariant/containers 497s # slow test /gvariant/containers executed in 3.44 secs 497s ok 6 /gvariant/format-strings 497s ok 7 /gvariant/invalid-varargs 497s ok 8 /gvariant/varargs 497s ok 9 /gvariant/valist 497s ok 10 /gvariant/builder-memory 497s ok 11 /gvariant/hashing 497s ok 12 /gvariant/byteswap 498s ok 13 /gvariant/parser 498s ok 14 /gvariant/parse-failures 498s ok 15 /gvariant/parse-positional 498s ok 16 /gvariant/floating 498s ok 17 /gvariant/bytestring 498s ok 18 /gvariant/lookup-value 498s ok 19 /gvariant/lookup 498s ok 20 /gvariant/compare 498s ok 21 /gvariant/equal 498s ok 22 /gvariant/fixed-array 498s ok 23 /gvariant/check-format-string 498s ok 24 /gvariant/checksum-basic 498s ok 25 /gvariant/checksum-nested 498s ok 26 /gvariant/gbytes 498s ok 27 /gvariant/print-context 498s ok 28 /gvariant/error-quark 498s ok 29 /gvariant/stack-builder-init 498s ok 30 /gvariant/stack-dict-init 498s ok 31 /gvariant/unaligned-construction 498s # Start of type tests 498s # Start of string-scan tests 498s # Start of recursion tests 498s ok 32 /gvariant/type/string-scan/recursion/tuple 498s ok 33 /gvariant/type/string-scan/recursion/array 498s # End of recursion tests 498s # End of string-scan tests 498s # End of type tests 498s # Start of serialiser tests 498s ok 34 /gvariant/serialiser/maybe 498s ok 35 /gvariant/serialiser/array 498s ok 36 /gvariant/serialiser/tuple 498s ok 37 /gvariant/serialiser/variant 498s ok 38 /gvariant/serialiser/strings 498s ok 39 /gvariant/serialiser/byteswap 498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 498s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 498s ok 40 /gvariant/serialiser/children 498s # Start of fuzz tests 498s ok 41 /gvariant/serialiser/fuzz/1% 499s ok 42 /gvariant/serialiser/fuzz/5% 499s # Executing: glib/gvariant.test 501s ok 43 /gvariant/serialiser/fuzz/9% 501s # slow test /gvariant/serialiser/fuzz/9% executed in 2.13 secs 501s ok 44 /gvariant/serialiser/fuzz/13% 501s ok 45 /gvariant/serialiser/fuzz/17% 501s # End of fuzz tests 501s # End of serialiser tests 501s # Start of varargs tests 501s # Start of subprocess tests 501s # End of subprocess tests 501s # End of varargs tests 501s # Start of byteswap tests 501s # /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. 501s ok 46 /gvariant/byteswap/non-normal-non-aligned 501s # End of byteswap tests 501s # Start of parser tests 501s ok 47 /gvariant/parser/integer-bounds 501s ok 48 /gvariant/parser/recursion 501s # Start of recursion tests 501s ok 49 /gvariant/parser/recursion/typedecls 501s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 501s # Text form 0: @mmmu 5 501s # Text form 1: @mmmas ['hello'] 501s # Text form 2: @mmmu just just nothing 501s # Text form 3: @mmmas just just nothing 501s # Text form 4: @mmmu just nothing 501s # Text form 5: @mmmas just nothing 501s # Text form 6: @mmmu nothing 501s # Text form 7: @mmmas nothing 501s ok 50 /gvariant/parser/recursion/maybes 501s # End of recursion tests 501s # End of parser tests 501s # Start of parse tests 501s # Start of subprocess tests 501s # End of subprocess tests 501s # End of parse tests 501s # Start of normal-checking tests 501s ok 51 /gvariant/normal-checking/tuples 501s ok 52 /gvariant/normal-checking/array-offsets 501s ok 53 /gvariant/normal-checking/array-offsets2 501s ok 54 /gvariant/normal-checking/tuple-offsets 501s ok 55 /gvariant/normal-checking/tuple-offsets2 501s ok 56 /gvariant/normal-checking/tuple-offsets3 501s ok 57 /gvariant/normal-checking/tuple-offsets4 501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 501s ok 58 /gvariant/normal-checking/tuple-offsets5 501s ok 59 /gvariant/normal-checking/empty-object-path 501s # Start of array-offsets tests 501s ok 60 /gvariant/normal-checking/array-offsets/overlapped 501s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 501s # End of array-offsets tests 501s # Start of tuple-offsets tests 501s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 501s # End of tuple-offsets tests 501s # End of normal-checking tests 501s # Start of recursion-limits tests 501s ok 63 /gvariant/recursion-limits/variant-in-variant 501s ok 64 /gvariant/recursion-limits/array-in-variant 501s # End of recursion-limits tests 501s # End of gvariant tests 501s ok - glib/gvariant.test 501s # Running test: glib/markup.test 501s TAP version 14 501s # random seed: R02S1fe511d5a06002d2200b65e39dd01ed7 501s 1..1 501s # Start of markup tests 501s ok 1 /markup/stack 501s # End of markup tests 501s ok - glib/markup.test 501s # Running test: glib/gdbus-connection-flush.test 501s TAP version 14 501s # random seed: R02Sa39aa3bcde28b4fe959a4fb51ccaeca6 501s 1..2 501s # Start of gdbus tests 501s # Start of connection tests 501s # Start of flush tests 501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/home 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/cache 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/system-config2 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/config 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/system-data2 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/data 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/state 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/busy/.dirs/runtime 501s ok 1 /gdbus/connection/flush/busy 501s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/home 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/cache 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/system-config2 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/config 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/system-data2 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/data 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/state 501s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_KDBJX2/gdbus/connection/flush/idle/.dirs/runtime 501s ok 2 /gdbus/connection/flush/idle 501s # End of flush tests 501s # End of connection tests 501s # End of gdbus tests 501s ok - glib/gdbus-connection-flush.test 501s # Running test: glib/properties-refcount4.test 501s TAP version 14 501s # random seed: R02Se6d5162c482bbc541d2c2dca79164e1b 501s 1..1 501s # Start of gobject tests 501s # Start of refcount tests 501s ok 1 /gobject/refcount/properties-4 501s # End of refcount tests 501s # End of gobject tests 501s ok - glib/properties-refcount4.test 501s # Running test: glib/ifaceproperties.test 501s TAP version 14 501s # random seed: R02Sf3598bf0b4358a6ac8f1c7b7eac7ed41 501s 1..7 501s # Start of interface tests 501s # Start of properties tests 501s ok 1 /interface/properties/set 501s ok 2 /interface/properties/notify 501s ok 3 /interface/properties/find-overridden 501s ok 4 /interface/properties/list-overridden 501s ok 5 /interface/properties/find-interface 501s ok 6 /interface/properties/list-interface 501s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 501s ok 7 /interface/properties/not-overridden 501s # End of properties tests 501s # End of interface tests 501s ok - glib/ifaceproperties.test 501s # Running test: glib/strvbuilder.test 501s TAP version 14 501s # random seed: R02Sb772374039232025f0e26f5fe3ff2f1c 501s 1..7 501s # Start of strvbuilder tests 501s ok 1 /strvbuilder/empty 501s ok 2 /strvbuilder/add 501s ok 3 /strvbuilder/addv 501s ok 4 /strvbuilder/add_many 501s ok 5 /strvbuilder/take 501s ok 6 /strvbuilder/ref 501s ok 7 /strvbuilder/unref_to_strv 501s # End of strvbuilder tests 501s ok - glib/strvbuilder.test 501s # Running test: glib/markup-collect.test 501s TAP version 14 501s # random seed: R02Sf3ad49578b7b181d2677b0af04be7663 501s 1..21 501s # Start of markup tests 501s # Start of collect tests 501s ok 1 /markup/collect/0 501s ok 2 /markup/collect/1 501s ok 3 /markup/collect/2 501s ok 4 /markup/collect/3 501s ok 5 /markup/collect/4 501s ok 6 /markup/collect/5 501s ok 7 /markup/collect/6 501s ok 8 /markup/collect/7 501s ok 9 /markup/collect/8 501s ok 10 /markup/collect/9 501s ok 11 /markup/collect/10 501s ok 12 /markup/collect/11 501s ok 13 /markup/collect/12 501s ok 14 /markup/collect/13 501s ok 15 /markup/collect/14 501s ok 16 /markup/collect/15 501s ok 17 /markup/collect/16 501s ok 18 /markup/collect/17 501s ok 19 /markup/collect/18 501s ok 20 /markup/collect/19 501s ok 21 /markup/collect/cleanup 501s # End of collect tests 501s # End of markup tests 501s ok - glib/markup-collect.test 501s # Running test: glib/gsocketclient-slow.test 501s TAP version 14 501s # random seed: R02S58981cecd4930690203e03fe99f4af3e 501s 1..4 501s # Start of socket-client tests 501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 501s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 501s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16e53280 and GSocketClientAsyncConnectData 0x2aa16e4bb90 501s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 501s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 501s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16e55160 for GSocketClientAsyncConnectData 0x2aa16e4bb90 501s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 502s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 502s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 502s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 502s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 502s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 502s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16e562c0 for GSocketClientAsyncConnectData 0x2aa16e4bb90 502s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 502s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 502s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 502s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 502s ok 1 /socket-client/connection-fail 502s # slow test /socket-client/connection-fail executed in 1.20 secs 502s # Start of happy-eyeballs tests 502s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16e58c50 and GSocketClientAsyncConnectData 0x2aa16e56f00 502s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 502s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 502s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16e595d0 for GSocketClientAsyncConnectData 0x2aa16e56f00 502s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 503s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 503s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 503s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 503s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 503s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 503s ok 2 /socket-client/happy-eyeballs/slow 503s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 503s # Start of cancellation tests 503s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16e5a240 and GSocketClientAsyncConnectData 0x2aa16e59160 503s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 503s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 503s ok 3 /socket-client/happy-eyeballs/cancellation/instant 503s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16e58c90 and GSocketClientAsyncConnectData 0x2aa16e5a4d0 503s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 503s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 503s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16e5aca0 for GSocketClientAsyncConnectData 0x2aa16e5a4d0 503s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 504s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 504s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 504s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 504s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 504s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 504s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 504s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 504s # End of cancellation tests 504s # End of happy-eyeballs tests 504s # End of socket-client tests 504s ok - glib/gsocketclient-slow.test 504s # Running test: glib/repository-search-paths.test 504s TAP version 14 504s # random seed: R02S632da6d890ece77bf8408a87c61e0331 504s 1..4 504s # Start of repository tests 504s # Start of search-paths tests 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/default/.dirs/runtime 504s ok 1 /repository/search-paths/default 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_YJN5W2/repository/search-paths/prepend/.dirs/runtime 504s ok 2 /repository/search-paths/prepend 504s # End of search-paths tests 504s # Start of library-paths tests 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/default/.dirs/runtime 504s ok 3 /repository/library-paths/default 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_YJN5W2/repository/library-paths/prepend/.dirs/runtime 504s ok 4 /repository/library-paths/prepend 504s # End of library-paths tests 504s # End of repository tests 504s ok - glib/repository-search-paths.test 504s # Running test: glib/objects-refcount2.test 504s TAP version 14 504s # random seed: R02Sf74884ee49820ac9a3a1e26260a95dbb 504s 1..1 504s # Start of gobject tests 504s # Start of refcount tests 504s # init 0x2aa0abc5740 504s # 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # Executing: glib/objects-refcount2.test 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 504s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 505s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 506s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # . 507s # dispose 0x2aa0abc5740! 507s # 507s ok 1 /gobject/refcount/object-advanced 507s # slow test /gobject/refcount/object-advanced executed in 3.36 secs 507s # End of refcount tests 507s # End of gobject tests 507s ok - glib/objects-refcount2.test 507s # Running test: glib/flags.test 507s TAP version 14 507s # random seed: R02Sf05536a97d3e26367c46b2791d2edf6b 507s 1..1 507s # Start of gobject tests 507s # Start of flags tests 507s ok 1 /gobject/flags/validate 507s # End of flags tests 507s # End of gobject tests 507s ok - glib/flags.test 507s # Running test: glib/gdbus-proxy.test 507s TAP version 14 507s # random seed: R02Sed4f5ad99a31b435398e63e8d44a6428 507s 1..5 507s # Start of gdbus tests 507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/home 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/cache 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/system-config2 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/config 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/system-data2 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/data 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/state 507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/.dirs/runtime 507s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s ok 1 /gdbus/proxy 509s # slow test /gdbus/proxy executed in 1.72 secs 509s # Start of proxy tests 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-properties/.dirs/runtime 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s ok 2 /gdbus/proxy/no-properties 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/wellknown-noauto/.dirs/runtime 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s ok 3 /gdbus/proxy/wellknown-noauto 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/async/.dirs/runtime 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Executing: glib/gdbus-proxy.test 510s ok 4 /gdbus/proxy/async 510s # slow test /gdbus/proxy/async executed in 1.72 secs 510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/home 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/cache 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/system-config2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/config 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/system-data2 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/data 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/state 510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PVO3W2/gdbus/proxy/no-match-rule/.dirs/runtime 510s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 512s ok 5 /gdbus/proxy/no-match-rule 512s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 512s # End of proxy tests 512s # End of gdbus tests 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok - glib/gdbus-proxy.test 512s # Running test: glib/gdbus-subscribe.test 512s TAP version 14 512s # random seed: R02S481148578e337d344f9cb0e470464028 512s 1..24 512s # Start of gdbus tests 512s # Start of subscribe tests 512s # Start of conn tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/simple/.dirs/runtime 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 512s # Step 0: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 1 /gdbus/subscribe/conn/simple 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 512s # Step 0: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: service 2 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: service 2 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 1 512s # Signal received from service 2 :1.2 512s # Signal received from service 2 :1.2 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Signal received from service 2 :1.2 512s # Signal received from service 2 :1.2 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/match_twice/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: (any) 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: (any) 512s # Path: (any) 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 3: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 4: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 3 /gdbus/subscribe/conn/match_twice 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 512s # Step 0: adding subscription 512s # Sender: :0.this.had.better.not.exist 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /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 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: org.gtk.Test.OwnedLater 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 3: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 5: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 6: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Step 7: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 5 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 512s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 512s # Step 0: adding subscription 512s # Sender: org.freedesktop.DBus 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # String argument 0: would I lie to you? 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Waiting for signal to reach message bus 512s # Step 3: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Signal received from message bus org.freedesktop.DBus 512s # Signal received from (unused) org.freedesktop.DBus via connection 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Immediately unsubscribing 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 512s # End of conn tests 512s # Start of proxy tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/simple/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 512s # Step 0: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 9 /gdbus/subscribe/proxy/simple 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 512s # Step 0: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: service 2 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: service 2 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: (any) 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: (any) 512s # Path: (any) 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 3: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 4: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 11 /gdbus/subscribe/proxy/match_twice 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 512s # Step 0: adding subscription 512s # Sender: :0.this.had.better.not.exist 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /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 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: org.gtk.Test.OwnedLater 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 3: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 5: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 6: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Step 7: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 5 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 512s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 512s # Step 0: adding subscription 512s # Sender: org.freedesktop.DBus 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # String argument 0: would I lie to you? 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Waiting for signal to reach message bus 512s # Step 3: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Signal received from message bus org.freedesktop.DBus 512s # Signal received from (unused) org.freedesktop.DBus via proxy 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 512s # End of proxy tests 512s # Start of parallel tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/simple/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 512s # Step 0: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 17 /gdbus/subscribe/parallel/simple 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 512s # Step 0: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: service 2 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: service 2 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 1 512s # Signal received from service 2 :1.2 512s # Signal received from service 2 :1.2 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Signal received from service 2 :1.2 512s # Signal received from service 2 :1.2 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: adding subscription 512s # Sender: (any) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: (any) 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: (any) 512s # Path: (any) 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Cannot subscribe via proxy: no bus name 512s # Waiting for AddMatch to be processed 512s # Step 3: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 4: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 4 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 512s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 19 /gdbus/subscribe/parallel/match_twice 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 512s # Step 0: adding subscription 512s # Sender: service :1.1 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 3: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 3 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 512s # Step 0: adding subscription 512s # Sender: :0.this.had.better.not.exist 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /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 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 2: adding subscription 512s # Sender: org.gtk.Test.OwnedLater 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 3: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 4: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 5: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Step 6: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Step 7: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 5 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 5 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via connection 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 7 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 512s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 512s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 512s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 512s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 512s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 512s # Step 0: adding subscription 512s # Sender: org.freedesktop.DBus 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 1: emitting signal 512s # Sender: attacker 512s # Destination: (broadcast) 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # String argument 0: would I lie to you? 512s # Waiting for signal to reach message bus 512s # Step 2: emitting signal 512s # Sender: attacker 512s # Destination: subscriber :1.0 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Waiting for signal to reach message bus 512s # Step 3: claiming bus name 512s # Name: org.gtk.Test.OwnedLater 512s # Owner: service 512s # Signal received from message bus org.freedesktop.DBus 512s # Signal received from (unused) org.freedesktop.DBus via connection 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Signal received from message bus org.freedesktop.DBus 512s # Signal received from (unused) org.freedesktop.DBus via proxy 512s # Path: /org/freedesktop/DBus 512s # Interface: org.freedesktop.DBus 512s # Member: NameOwnerChanged 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 512s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 512s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_T2TGX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 512s # subscriber is :1.0 512s # service is :1.1 512s # service 2 is :1.2 512s # attacker is :1.3 512s # Waiting for AddMatch to be processed 512s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 512s # Step 0: claiming bus name 512s # Name: org.gtk.Test.AlreadyOwned 512s # Owner: service 512s # Step 1: adding subscription 512s # Sender: org.gtk.Test.AlreadyOwned 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: (any) 512s # String argument 0: (any) 512s # Flags: 0 512s # Subscribing via connection 512s # Immediately unsubscribing 512s # Subscribing via proxy 512s # Waiting for AddMatch to be processed 512s # Step 2: emitting signal 512s # Sender: service 512s # Destination: (broadcast) 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Waiting for signal to reach message bus 512s # Signal received from service :1.1 512s # Signal received from service :1.1 via proxy 512s # Path: /org/gtk/GDBus/ExampleInterface 512s # Interface: org.gtk.GDBus.ExampleInterface 512s # Member: Foo 512s # Argument 0: (not a string) 512s # Sent in step: 2 512s # Received Finished signal from subscriber :1.0 512s # Received Finished signal from service :1.1 512s # Received Finished signal from service 2 :1.2 512s # Received Finished signal from attacker :1.3 512s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 512s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 512s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 512s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 512s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 512s # End of parallel tests 512s # End of subscribe tests 512s # End of gdbus tests 512s ok - glib/gdbus-subscribe.test 512s # Running test: glib/1bit-mutex.test 512s TAP version 14 512s # random seed: R02S126c14c70705929e5103e8e84b4712b1 512s 1..2 512s # Start of glib tests 512s # Start of 1bit-mutex tests 514s # Executing: glib/1bit-mutex.test 515s ok 1 /glib/1bit-mutex/int 515s # slow test /glib/1bit-mutex/int executed in 2.54 secs 517s ok 2 /glib/1bit-mutex/pointer 517s # slow test /glib/1bit-mutex/pointer executed in 2.62 secs 517s # End of 1bit-mutex tests 517s # End of glib tests 517s ok - glib/1bit-mutex.test 517s # Running test: glib/stream-rw_all.test 517s TAP version 14 517s # random seed: R02S98a01120b15ed9b3d5c66c13f11ea785 517s 1..3 517s # Start of stream tests 517s # Start of read_all_async tests 517s ok 1 /stream/read_all_async/memory 517s # End of read_all_async tests 517s # Start of write_all_async tests 517s ok 2 /stream/write_all_async/memory 517s # End of write_all_async tests 517s # Start of read_write_all_async tests 517s ok 3 /stream/read_write_all_async/pipe 517s # End of read_write_all_async tests 517s # End of stream tests 517s ok - glib/stream-rw_all.test 517s # Running test: glib/checksum.test 517s TAP version 14 517s # random seed: R02Sc43bf0efd0aea428891c044b06ca0cd2 517s 1..1851 517s # Start of checksum tests 517s ok 1 /checksum/unsupported 517s # Start of MD5 tests 517s ok 2 /checksum/MD5/0 517s ok 3 /checksum/MD5/1 517s ok 4 /checksum/MD5/2 517s ok 5 /checksum/MD5/3 517s ok 6 /checksum/MD5/4 517s ok 7 /checksum/MD5/5 517s ok 8 /checksum/MD5/6 517s ok 9 /checksum/MD5/7 517s ok 10 /checksum/MD5/8 517s ok 11 /checksum/MD5/9 517s ok 12 /checksum/MD5/10 517s ok 13 /checksum/MD5/11 517s ok 14 /checksum/MD5/12 517s ok 15 /checksum/MD5/13 517s ok 16 /checksum/MD5/14 517s ok 17 /checksum/MD5/15 517s ok 18 /checksum/MD5/16 517s ok 19 /checksum/MD5/17 517s ok 20 /checksum/MD5/18 517s ok 21 /checksum/MD5/19 517s ok 22 /checksum/MD5/20 517s ok 23 /checksum/MD5/21 517s ok 24 /checksum/MD5/22 517s ok 25 /checksum/MD5/23 517s ok 26 /checksum/MD5/24 517s ok 27 /checksum/MD5/25 517s ok 28 /checksum/MD5/26 517s ok 29 /checksum/MD5/27 517s ok 30 /checksum/MD5/28 517s ok 31 /checksum/MD5/29 517s ok 32 /checksum/MD5/30 517s ok 33 /checksum/MD5/31 517s ok 34 /checksum/MD5/32 517s ok 35 /checksum/MD5/33 517s ok 36 /checksum/MD5/34 517s ok 37 /checksum/MD5/35 517s ok 38 /checksum/MD5/36 517s ok 39 /checksum/MD5/37 517s ok 40 /checksum/MD5/38 517s ok 41 /checksum/MD5/39 517s ok 42 /checksum/MD5/40 517s ok 43 /checksum/MD5/41 517s ok 44 /checksum/MD5/42 517s ok 45 /checksum/MD5/43 517s ok 46 /checksum/MD5/44 517s ok 47 /checksum/MD5/45 517s ok 48 /checksum/MD5/46 517s ok 49 /checksum/MD5/47 517s ok 50 /checksum/MD5/48 517s ok 51 /checksum/MD5/49 517s ok 52 /checksum/MD5/50 517s ok 53 /checksum/MD5/51 517s ok 54 /checksum/MD5/52 517s ok 55 /checksum/MD5/53 517s ok 56 /checksum/MD5/54 517s ok 57 /checksum/MD5/55 517s ok 58 /checksum/MD5/56 517s ok 59 /checksum/MD5/57 517s ok 60 /checksum/MD5/58 517s ok 61 /checksum/MD5/59 517s ok 62 /checksum/MD5/60 517s ok 63 /checksum/MD5/61 517s ok 64 /checksum/MD5/62 517s ok 65 /checksum/MD5/63 517s ok 66 /checksum/MD5/64 517s ok 67 /checksum/MD5/65 517s ok 68 /checksum/MD5/66 517s ok 69 /checksum/MD5/67 517s ok 70 /checksum/MD5/68 517s ok 71 /checksum/MD5/69 517s ok 72 /checksum/MD5/70 517s ok 73 /checksum/MD5/71 517s ok 74 /checksum/MD5/72 517s ok 75 /checksum/MD5/73 517s ok 76 /checksum/MD5/74 517s ok 77 /checksum/MD5/75 517s ok 78 /checksum/MD5/76 517s ok 79 /checksum/MD5/77 517s ok 80 /checksum/MD5/78 517s ok 81 /checksum/MD5/79 517s ok 82 /checksum/MD5/80 517s ok 83 /checksum/MD5/81 517s ok 84 /checksum/MD5/82 517s ok 85 /checksum/MD5/83 517s ok 86 /checksum/MD5/84 517s ok 87 /checksum/MD5/85 517s ok 88 /checksum/MD5/86 517s ok 89 /checksum/MD5/87 517s ok 90 /checksum/MD5/88 517s ok 91 /checksum/MD5/89 517s ok 92 /checksum/MD5/90 517s ok 93 /checksum/MD5/91 517s ok 94 /checksum/MD5/92 517s ok 95 /checksum/MD5/93 517s ok 96 /checksum/MD5/94 517s ok 97 /checksum/MD5/95 517s ok 98 /checksum/MD5/96 517s ok 99 /checksum/MD5/97 517s ok 100 /checksum/MD5/98 517s ok 101 /checksum/MD5/99 517s ok 102 /checksum/MD5/100 517s ok 103 /checksum/MD5/101 517s ok 104 /checksum/MD5/102 517s ok 105 /checksum/MD5/103 517s ok 106 /checksum/MD5/104 517s ok 107 /checksum/MD5/105 517s ok 108 /checksum/MD5/106 517s ok 109 /checksum/MD5/107 517s ok 110 /checksum/MD5/108 517s ok 111 /checksum/MD5/109 517s ok 112 /checksum/MD5/110 517s ok 113 /checksum/MD5/111 517s ok 114 /checksum/MD5/112 517s ok 115 /checksum/MD5/113 517s ok 116 /checksum/MD5/114 517s ok 117 /checksum/MD5/115 517s ok 118 /checksum/MD5/116 517s ok 119 /checksum/MD5/117 517s ok 120 /checksum/MD5/118 517s ok 121 /checksum/MD5/119 517s ok 122 /checksum/MD5/120 517s ok 123 /checksum/MD5/121 517s ok 124 /checksum/MD5/122 517s ok 125 /checksum/MD5/123 517s ok 126 /checksum/MD5/124 517s ok 127 /checksum/MD5/125 517s ok 128 /checksum/MD5/126 517s ok 129 /checksum/MD5/127 517s ok 130 /checksum/MD5/128 517s ok 131 /checksum/MD5/129 517s ok 132 /checksum/MD5/130 517s ok 133 /checksum/MD5/131 517s ok 134 /checksum/MD5/132 517s ok 135 /checksum/MD5/133 517s ok 136 /checksum/MD5/134 517s ok 137 /checksum/MD5/135 517s ok 138 /checksum/MD5/136 517s ok 139 /checksum/MD5/137 517s ok 140 /checksum/MD5/138 517s ok 141 /checksum/MD5/139 517s ok 142 /checksum/MD5/140 517s ok 143 /checksum/MD5/141 517s ok 144 /checksum/MD5/142 517s ok 145 /checksum/MD5/143 517s ok 146 /checksum/MD5/144 517s ok 147 /checksum/MD5/145 517s ok 148 /checksum/MD5/146 517s ok 149 /checksum/MD5/147 517s ok 150 /checksum/MD5/148 517s ok 151 /checksum/MD5/149 517s ok 152 /checksum/MD5/150 517s ok 153 /checksum/MD5/151 517s ok 154 /checksum/MD5/152 517s ok 155 /checksum/MD5/153 517s ok 156 /checksum/MD5/154 517s ok 157 /checksum/MD5/155 517s ok 158 /checksum/MD5/156 517s ok 159 /checksum/MD5/157 517s ok 160 /checksum/MD5/158 517s ok 161 /checksum/MD5/159 517s ok 162 /checksum/MD5/160 517s ok 163 /checksum/MD5/161 517s ok 164 /checksum/MD5/162 517s ok 165 /checksum/MD5/163 517s ok 166 /checksum/MD5/164 517s ok 167 /checksum/MD5/165 517s ok 168 /checksum/MD5/166 517s ok 169 /checksum/MD5/167 517s ok 170 /checksum/MD5/168 517s ok 171 /checksum/MD5/169 517s ok 172 /checksum/MD5/170 517s ok 173 /checksum/MD5/171 517s ok 174 /checksum/MD5/172 517s ok 175 /checksum/MD5/173 517s ok 176 /checksum/MD5/174 517s ok 177 /checksum/MD5/175 517s ok 178 /checksum/MD5/176 517s ok 179 /checksum/MD5/177 517s ok 180 /checksum/MD5/178 517s ok 181 /checksum/MD5/179 517s ok 182 /checksum/MD5/180 517s ok 183 /checksum/MD5/181 517s ok 184 /checksum/MD5/182 517s ok 185 /checksum/MD5/183 517s ok 186 /checksum/MD5/string 517s ok 187 /checksum/MD5/bytes 517s # Start of reset tests 517s ok 188 /checksum/MD5/reset/0 517s ok 189 /checksum/MD5/reset/1 517s ok 190 /checksum/MD5/reset/2 517s ok 191 /checksum/MD5/reset/3 517s ok 192 /checksum/MD5/reset/4 517s ok 193 /checksum/MD5/reset/5 517s ok 194 /checksum/MD5/reset/6 517s ok 195 /checksum/MD5/reset/7 517s ok 196 /checksum/MD5/reset/8 517s ok 197 /checksum/MD5/reset/9 517s ok 198 /checksum/MD5/reset/10 517s ok 199 /checksum/MD5/reset/11 517s ok 200 /checksum/MD5/reset/12 517s ok 201 /checksum/MD5/reset/13 517s ok 202 /checksum/MD5/reset/14 517s ok 203 /checksum/MD5/reset/15 517s ok 204 /checksum/MD5/reset/16 517s ok 205 /checksum/MD5/reset/17 517s ok 206 /checksum/MD5/reset/18 517s ok 207 /checksum/MD5/reset/19 517s ok 208 /checksum/MD5/reset/20 517s ok 209 /checksum/MD5/reset/21 517s ok 210 /checksum/MD5/reset/22 517s ok 211 /checksum/MD5/reset/23 517s ok 212 /checksum/MD5/reset/24 517s ok 213 /checksum/MD5/reset/25 517s ok 214 /checksum/MD5/reset/26 517s ok 215 /checksum/MD5/reset/27 517s ok 216 /checksum/MD5/reset/28 517s ok 217 /checksum/MD5/reset/29 517s ok 218 /checksum/MD5/reset/30 517s ok 219 /checksum/MD5/reset/31 517s ok 220 /checksum/MD5/reset/32 517s ok 221 /checksum/MD5/reset/33 517s ok 222 /checksum/MD5/reset/34 517s ok 223 /checksum/MD5/reset/35 517s ok 224 /checksum/MD5/reset/36 517s ok 225 /checksum/MD5/reset/37 517s ok 226 /checksum/MD5/reset/38 517s ok 227 /checksum/MD5/reset/39 517s ok 228 /checksum/MD5/reset/40 517s ok 229 /checksum/MD5/reset/41 517s ok 230 /checksum/MD5/reset/42 517s ok 231 /checksum/MD5/reset/43 517s ok 232 /checksum/MD5/reset/44 517s ok 233 /checksum/MD5/reset/45 517s ok 234 /checksum/MD5/reset/46 517s ok 235 /checksum/MD5/reset/47 517s ok 236 /checksum/MD5/reset/48 517s ok 237 /checksum/MD5/reset/49 517s ok 238 /checksum/MD5/reset/50 517s ok 239 /checksum/MD5/reset/51 517s ok 240 /checksum/MD5/reset/52 517s ok 241 /checksum/MD5/reset/53 517s ok 242 /checksum/MD5/reset/54 517s ok 243 /checksum/MD5/reset/55 517s ok 244 /checksum/MD5/reset/56 517s ok 245 /checksum/MD5/reset/57 517s ok 246 /checksum/MD5/reset/58 517s ok 247 /checksum/MD5/reset/59 517s ok 248 /checksum/MD5/reset/60 517s ok 249 /checksum/MD5/reset/61 517s ok 250 /checksum/MD5/reset/62 517s ok 251 /checksum/MD5/reset/63 517s ok 252 /checksum/MD5/reset/64 517s ok 253 /checksum/MD5/reset/65 517s ok 254 /checksum/MD5/reset/66 517s ok 255 /checksum/MD5/reset/67 517s ok 256 /checksum/MD5/reset/68 517s ok 257 /checksum/MD5/reset/69 517s ok 258 /checksum/MD5/reset/70 517s ok 259 /checksum/MD5/reset/71 517s ok 260 /checksum/MD5/reset/72 517s ok 261 /checksum/MD5/reset/73 517s ok 262 /checksum/MD5/reset/74 517s ok 263 /checksum/MD5/reset/75 517s ok 264 /checksum/MD5/reset/76 517s ok 265 /checksum/MD5/reset/77 517s ok 266 /checksum/MD5/reset/78 517s ok 267 /checksum/MD5/reset/79 517s ok 268 /checksum/MD5/reset/80 517s ok 269 /checksum/MD5/reset/81 517s ok 270 /checksum/MD5/reset/82 517s ok 271 /checksum/MD5/reset/83 517s ok 272 /checksum/MD5/reset/84 517s ok 273 /checksum/MD5/reset/85 517s ok 274 /checksum/MD5/reset/86 517s ok 275 /checksum/MD5/reset/87 517s ok 276 /checksum/MD5/reset/88 517s ok 277 /checksum/MD5/reset/89 517s ok 278 /checksum/MD5/reset/90 517s ok 279 /checksum/MD5/reset/91 517s ok 280 /checksum/MD5/reset/92 517s ok 281 /checksum/MD5/reset/93 517s ok 282 /checksum/MD5/reset/94 517s ok 283 /checksum/MD5/reset/95 517s ok 284 /checksum/MD5/reset/96 517s ok 285 /checksum/MD5/reset/97 517s ok 286 /checksum/MD5/reset/98 517s ok 287 /checksum/MD5/reset/99 517s ok 288 /checksum/MD5/reset/100 517s ok 289 /checksum/MD5/reset/101 517s ok 290 /checksum/MD5/reset/102 517s ok 291 /checksum/MD5/reset/103 517s ok 292 /checksum/MD5/reset/104 517s ok 293 /checksum/MD5/reset/105 517s ok 294 /checksum/MD5/reset/106 517s ok 295 /checksum/MD5/reset/107 517s ok 296 /checksum/MD5/reset/108 517s ok 297 /checksum/MD5/reset/109 517s ok 298 /checksum/MD5/reset/110 517s ok 299 /checksum/MD5/reset/111 517s ok 300 /checksum/MD5/reset/112 517s ok 301 /checksum/MD5/reset/113 517s ok 302 /checksum/MD5/reset/114 517s ok 303 /checksum/MD5/reset/115 517s ok 304 /checksum/MD5/reset/116 517s ok 305 /checksum/MD5/reset/117 517s ok 306 /checksum/MD5/reset/118 517s ok 307 /checksum/MD5/reset/119 517s ok 308 /checksum/MD5/reset/120 517s ok 309 /checksum/MD5/reset/121 517s ok 310 /checksum/MD5/reset/122 517s ok 311 /checksum/MD5/reset/123 517s ok 312 /checksum/MD5/reset/124 517s ok 313 /checksum/MD5/reset/125 517s ok 314 /checksum/MD5/reset/126 517s ok 315 /checksum/MD5/reset/127 517s ok 316 /checksum/MD5/reset/128 517s ok 317 /checksum/MD5/reset/129 517s ok 318 /checksum/MD5/reset/130 517s ok 319 /checksum/MD5/reset/131 517s ok 320 /checksum/MD5/reset/132 517s ok 321 /checksum/MD5/reset/133 517s ok 322 /checksum/MD5/reset/134 517s ok 323 /checksum/MD5/reset/135 517s ok 324 /checksum/MD5/reset/136 517s ok 325 /checksum/MD5/reset/137 517s ok 326 /checksum/MD5/reset/138 517s ok 327 /checksum/MD5/reset/139 517s ok 328 /checksum/MD5/reset/140 517s ok 329 /checksum/MD5/reset/141 517s ok 330 /checksum/MD5/reset/142 517s ok 331 /checksum/MD5/reset/143 517s ok 332 /checksum/MD5/reset/144 517s ok 333 /checksum/MD5/reset/145 517s ok 334 /checksum/MD5/reset/146 517s ok 335 /checksum/MD5/reset/147 517s ok 336 /checksum/MD5/reset/148 517s ok 337 /checksum/MD5/reset/149 517s ok 338 /checksum/MD5/reset/150 517s ok 339 /checksum/MD5/reset/151 517s ok 340 /checksum/MD5/reset/152 517s ok 341 /checksum/MD5/reset/153 517s ok 342 /checksum/MD5/reset/154 517s ok 343 /checksum/MD5/reset/155 517s ok 344 /checksum/MD5/reset/156 517s ok 345 /checksum/MD5/reset/157 517s ok 346 /checksum/MD5/reset/158 517s ok 347 /checksum/MD5/reset/159 517s ok 348 /checksum/MD5/reset/160 517s ok 349 /checksum/MD5/reset/161 517s ok 350 /checksum/MD5/reset/162 517s ok 351 /checksum/MD5/reset/163 517s ok 352 /checksum/MD5/reset/164 517s ok 353 /checksum/MD5/reset/165 517s ok 354 /checksum/MD5/reset/166 517s ok 355 /checksum/MD5/reset/167 517s ok 356 /checksum/MD5/reset/168 517s ok 357 /checksum/MD5/reset/169 517s ok 358 /checksum/MD5/reset/170 517s ok 359 /checksum/MD5/reset/171 517s ok 360 /checksum/MD5/reset/172 517s ok 361 /checksum/MD5/reset/173 517s ok 362 /checksum/MD5/reset/174 517s ok 363 /checksum/MD5/reset/175 517s ok 364 /checksum/MD5/reset/176 517s ok 365 /checksum/MD5/reset/177 517s ok 366 /checksum/MD5/reset/178 517s ok 367 /checksum/MD5/reset/179 517s ok 368 /checksum/MD5/reset/180 517s ok 369 /checksum/MD5/reset/181 517s ok 370 /checksum/MD5/reset/182 517s ok 371 /checksum/MD5/reset/183 517s # End of reset tests 517s # End of MD5 tests 517s # Start of SHA1 tests 517s ok 372 /checksum/SHA1/0 517s ok 373 /checksum/SHA1/1 517s ok 374 /checksum/SHA1/2 517s ok 375 /checksum/SHA1/3 517s ok 376 /checksum/SHA1/4 517s ok 377 /checksum/SHA1/5 517s ok 378 /checksum/SHA1/6 517s ok 379 /checksum/SHA1/7 517s ok 380 /checksum/SHA1/8 517s ok 381 /checksum/SHA1/9 517s ok 382 /checksum/SHA1/10 517s ok 383 /checksum/SHA1/11 517s ok 384 /checksum/SHA1/12 517s ok 385 /checksum/SHA1/13 517s ok 386 /checksum/SHA1/14 517s ok 387 /checksum/SHA1/15 517s ok 388 /checksum/SHA1/16 517s ok 389 /checksum/SHA1/17 517s ok 390 /checksum/SHA1/18 517s ok 391 /checksum/SHA1/19 517s ok 392 /checksum/SHA1/20 517s ok 393 /checksum/SHA1/21 517s ok 394 /checksum/SHA1/22 517s ok 395 /checksum/SHA1/23 517s ok 396 /checksum/SHA1/24 517s ok 397 /checksum/SHA1/25 517s ok 398 /checksum/SHA1/26 517s ok 399 /checksum/SHA1/27 517s ok 400 /checksum/SHA1/28 517s ok 401 /checksum/SHA1/29 517s ok 402 /checksum/SHA1/30 517s ok 403 /checksum/SHA1/31 517s ok 404 /checksum/SHA1/32 517s ok 405 /checksum/SHA1/33 517s ok 406 /checksum/SHA1/34 517s ok 407 /checksum/SHA1/35 517s ok 408 /checksum/SHA1/36 517s ok 409 /checksum/SHA1/37 517s ok 410 /checksum/SHA1/38 517s ok 411 /checksum/SHA1/39 517s ok 412 /checksum/SHA1/40 517s ok 413 /checksum/SHA1/41 517s ok 414 /checksum/SHA1/42 517s ok 415 /checksum/SHA1/43 517s ok 416 /checksum/SHA1/44 517s ok 417 /checksum/SHA1/45 517s ok 418 /checksum/SHA1/46 517s ok 419 /checksum/SHA1/47 517s ok 420 /checksum/SHA1/48 517s ok 421 /checksum/SHA1/49 517s ok 422 /checksum/SHA1/50 517s ok 423 /checksum/SHA1/51 517s ok 424 /checksum/SHA1/52 517s ok 425 /checksum/SHA1/53 517s ok 426 /checksum/SHA1/54 517s ok 427 /checksum/SHA1/55 517s ok 428 /checksum/SHA1/56 517s ok 429 /checksum/SHA1/57 517s ok 430 /checksum/SHA1/58 517s ok 431 /checksum/SHA1/59 517s ok 432 /checksum/SHA1/60 517s ok 433 /checksum/SHA1/61 517s ok 434 /checksum/SHA1/62 517s ok 435 /checksum/SHA1/63 517s ok 436 /checksum/SHA1/64 517s ok 437 /checksum/SHA1/65 517s ok 438 /checksum/SHA1/66 517s ok 439 /checksum/SHA1/67 517s ok 440 /checksum/SHA1/68 517s ok 441 /checksum/SHA1/69 517s ok 442 /checksum/SHA1/70 517s ok 443 /checksum/SHA1/71 517s ok 444 /checksum/SHA1/72 517s ok 445 /checksum/SHA1/73 517s ok 446 /checksum/SHA1/74 517s ok 447 /checksum/SHA1/75 517s ok 448 /checksum/SHA1/76 517s ok 449 /checksum/SHA1/77 517s ok 450 /checksum/SHA1/78 517s ok 451 /checksum/SHA1/79 517s ok 452 /checksum/SHA1/80 517s ok 453 /checksum/SHA1/81 517s ok 454 /checksum/SHA1/82 517s ok 455 /checksum/SHA1/83 517s ok 456 /checksum/SHA1/84 517s ok 457 /checksum/SHA1/85 517s ok 458 /checksum/SHA1/86 517s ok 459 /checksum/SHA1/87 517s ok 460 /checksum/SHA1/88 517s ok 461 /checksum/SHA1/89 517s ok 462 /checksum/SHA1/90 517s ok 463 /checksum/SHA1/91 517s ok 464 /checksum/SHA1/92 517s ok 465 /checksum/SHA1/93 517s ok 466 /checksum/SHA1/94 517s ok 467 /checksum/SHA1/95 517s ok 468 /checksum/SHA1/96 517s ok 469 /checksum/SHA1/97 517s ok 470 /checksum/SHA1/98 517s ok 471 /checksum/SHA1/99 517s ok 472 /checksum/SHA1/100 517s ok 473 /checksum/SHA1/101 517s ok 474 /checksum/SHA1/102 517s ok 475 /checksum/SHA1/103 517s ok 476 /checksum/SHA1/104 517s ok 477 /checksum/SHA1/105 517s ok 478 /checksum/SHA1/106 517s ok 479 /checksum/SHA1/107 517s ok 480 /checksum/SHA1/108 517s ok 481 /checksum/SHA1/109 517s ok 482 /checksum/SHA1/110 517s ok 483 /checksum/SHA1/111 517s ok 484 /checksum/SHA1/112 517s ok 485 /checksum/SHA1/113 517s ok 486 /checksum/SHA1/114 517s ok 487 /checksum/SHA1/115 517s ok 488 /checksum/SHA1/116 517s ok 489 /checksum/SHA1/117 517s ok 490 /checksum/SHA1/118 517s ok 491 /checksum/SHA1/119 517s ok 492 /checksum/SHA1/120 517s ok 493 /checksum/SHA1/121 517s ok 494 /checksum/SHA1/122 517s ok 495 /checksum/SHA1/123 517s ok 496 /checksum/SHA1/124 517s ok 497 /checksum/SHA1/125 517s ok 498 /checksum/SHA1/126 517s ok 499 /checksum/SHA1/127 517s ok 500 /checksum/SHA1/128 517s ok 501 /checksum/SHA1/129 517s ok 502 /checksum/SHA1/130 517s ok 503 /checksum/SHA1/131 517s ok 504 /checksum/SHA1/132 517s ok 505 /checksum/SHA1/133 517s ok 506 /checksum/SHA1/134 517s ok 507 /checksum/SHA1/135 517s ok 508 /checksum/SHA1/136 517s ok 509 /checksum/SHA1/137 517s ok 510 /checksum/SHA1/138 517s ok 511 /checksum/SHA1/139 517s ok 512 /checksum/SHA1/140 517s ok 513 /checksum/SHA1/141 517s ok 514 /checksum/SHA1/142 517s ok 515 /checksum/SHA1/143 517s ok 516 /checksum/SHA1/144 517s ok 517 /checksum/SHA1/145 517s ok 518 /checksum/SHA1/146 517s ok 519 /checksum/SHA1/147 517s ok 520 /checksum/SHA1/148 517s ok 521 /checksum/SHA1/149 517s ok 522 /checksum/SHA1/150 517s ok 523 /checksum/SHA1/151 517s ok 524 /checksum/SHA1/152 517s ok 525 /checksum/SHA1/153 517s ok 526 /checksum/SHA1/154 517s ok 527 /checksum/SHA1/155 517s ok 528 /checksum/SHA1/156 517s ok 529 /checksum/SHA1/157 517s ok 530 /checksum/SHA1/158 517s ok 531 /checksum/SHA1/159 517s ok 532 /checksum/SHA1/160 517s ok 533 /checksum/SHA1/161 517s ok 534 /checksum/SHA1/162 517s ok 535 /checksum/SHA1/163 517s ok 536 /checksum/SHA1/164 517s ok 537 /checksum/SHA1/165 517s ok 538 /checksum/SHA1/166 517s ok 539 /checksum/SHA1/167 517s ok 540 /checksum/SHA1/168 517s ok 541 /checksum/SHA1/169 517s ok 542 /checksum/SHA1/170 517s ok 543 /checksum/SHA1/171 517s ok 544 /checksum/SHA1/172 517s ok 545 /checksum/SHA1/173 517s ok 546 /checksum/SHA1/174 517s ok 547 /checksum/SHA1/175 517s ok 548 /checksum/SHA1/176 517s ok 549 /checksum/SHA1/177 517s ok 550 /checksum/SHA1/178 517s ok 551 /checksum/SHA1/179 517s ok 552 /checksum/SHA1/180 517s ok 553 /checksum/SHA1/181 517s ok 554 /checksum/SHA1/182 517s ok 555 /checksum/SHA1/183 517s ok 556 /checksum/SHA1/string 517s ok 557 /checksum/SHA1/bytes 517s # Start of reset tests 517s ok 558 /checksum/SHA1/reset/0 517s ok 559 /checksum/SHA1/reset/1 517s ok 560 /checksum/SHA1/reset/2 517s ok 561 /checksum/SHA1/reset/3 517s ok 562 /checksum/SHA1/reset/4 517s ok 563 /checksum/SHA1/reset/5 517s ok 564 /checksum/SHA1/reset/6 517s ok 565 /checksum/SHA1/reset/7 517s ok 566 /checksum/SHA1/reset/8 517s ok 567 /checksum/SHA1/reset/9 517s ok 568 /checksum/SHA1/reset/10 517s ok 569 /checksum/SHA1/reset/11 517s ok 570 /checksum/SHA1/reset/12 517s ok 571 /checksum/SHA1/reset/13 517s ok 572 /checksum/SHA1/reset/14 517s ok 573 /checksum/SHA1/reset/15 517s ok 574 /checksum/SHA1/reset/16 517s ok 575 /checksum/SHA1/reset/17 517s ok 576 /checksum/SHA1/reset/18 517s ok 577 /checksum/SHA1/reset/19 517s ok 578 /checksum/SHA1/reset/20 517s ok 579 /checksum/SHA1/reset/21 517s ok 580 /checksum/SHA1/reset/22 517s ok 581 /checksum/SHA1/reset/23 517s ok 582 /checksum/SHA1/reset/24 517s ok 583 /checksum/SHA1/reset/25 517s ok 584 /checksum/SHA1/reset/26 517s ok 585 /checksum/SHA1/reset/27 517s ok 586 /checksum/SHA1/reset/28 517s ok 587 /checksum/SHA1/reset/29 517s ok 588 /checksum/SHA1/reset/30 517s ok 589 /checksum/SHA1/reset/31 517s ok 590 /checksum/SHA1/reset/32 517s ok 591 /checksum/SHA1/reset/33 517s ok 592 /checksum/SHA1/reset/34 517s ok 593 /checksum/SHA1/reset/35 517s ok 594 /checksum/SHA1/reset/36 517s ok 595 /checksum/SHA1/reset/37 518s ok 596 /checksum/SHA1/reset/38 518s ok 597 /checksum/SHA1/reset/39 518s ok 598 /checksum/SHA1/reset/40 518s ok 599 /checksum/SHA1/reset/41 518s ok 600 /checksum/SHA1/reset/42 518s ok 601 /checksum/SHA1/reset/43 518s ok 602 /checksum/SHA1/reset/44 518s ok 603 /checksum/SHA1/reset/45 518s ok 604 /checksum/SHA1/reset/46 518s ok 605 /checksum/SHA1/reset/47 518s ok 606 /checksum/SHA1/reset/48 518s ok 607 /checksum/SHA1/reset/49 518s ok 608 /checksum/SHA1/reset/50 518s ok 609 /checksum/SHA1/reset/51 518s ok 610 /checksum/SHA1/reset/52 518s ok 611 /checksum/SHA1/reset/53 518s ok 612 /checksum/SHA1/reset/54 518s ok 613 /checksum/SHA1/reset/55 518s ok 614 /checksum/SHA1/reset/56 518s ok 615 /checksum/SHA1/reset/57 518s ok 616 /checksum/SHA1/reset/58 518s ok 617 /checksum/SHA1/reset/59 518s ok 618 /checksum/SHA1/reset/60 518s ok 619 /checksum/SHA1/reset/61 518s ok 620 /checksum/SHA1/reset/62 518s ok 621 /checksum/SHA1/reset/63 518s ok 622 /checksum/SHA1/reset/64 518s ok 623 /checksum/SHA1/reset/65 518s ok 624 /checksum/SHA1/reset/66 518s ok 625 /checksum/SHA1/reset/67 518s ok 626 /checksum/SHA1/reset/68 518s ok 627 /checksum/SHA1/reset/69 518s ok 628 /checksum/SHA1/reset/70 518s ok 629 /checksum/SHA1/reset/71 518s ok 630 /checksum/SHA1/reset/72 518s ok 631 /checksum/SHA1/reset/73 518s ok 632 /checksum/SHA1/reset/74 518s ok 633 /checksum/SHA1/reset/75 518s ok 634 /checksum/SHA1/reset/76 518s ok 635 /checksum/SHA1/reset/77 518s ok 636 /checksum/SHA1/reset/78 518s ok 637 /checksum/SHA1/reset/79 518s ok 638 /checksum/SHA1/reset/80 518s ok 639 /checksum/SHA1/reset/81 518s ok 640 /checksum/SHA1/reset/82 518s ok 641 /checksum/SHA1/reset/83 518s ok 642 /checksum/SHA1/reset/84 518s ok 643 /checksum/SHA1/reset/85 518s ok 644 /checksum/SHA1/reset/86 518s ok 645 /checksum/SHA1/reset/87 518s ok 646 /checksum/SHA1/reset/88 518s ok 647 /checksum/SHA1/reset/89 518s ok 648 /checksum/SHA1/reset/90 518s ok 649 /checksum/SHA1/reset/91 518s ok 650 /checksum/SHA1/reset/92 518s ok 651 /checksum/SHA1/reset/93 518s ok 652 /checksum/SHA1/reset/94 518s ok 653 /checksum/SHA1/reset/95 518s ok 654 /checksum/SHA1/reset/96 518s ok 655 /checksum/SHA1/reset/97 518s ok 656 /checksum/SHA1/reset/98 518s ok 657 /checksum/SHA1/reset/99 518s ok 658 /checksum/SHA1/reset/100 518s ok 659 /checksum/SHA1/reset/101 518s ok 660 /checksum/SHA1/reset/102 518s ok 661 /checksum/SHA1/reset/103 518s ok 662 /checksum/SHA1/reset/104 518s ok 663 /checksum/SHA1/reset/105 518s ok 664 /checksum/SHA1/reset/106 518s ok 665 /checksum/SHA1/reset/107 518s ok 666 /checksum/SHA1/reset/108 518s ok 667 /checksum/SHA1/reset/109 518s ok 668 /checksum/SHA1/reset/110 518s ok 669 /checksum/SHA1/reset/111 518s ok 670 /checksum/SHA1/reset/112 518s ok 671 /checksum/SHA1/reset/113 518s ok 672 /checksum/SHA1/reset/114 518s ok 673 /checksum/SHA1/reset/115 518s ok 674 /checksum/SHA1/reset/116 518s ok 675 /checksum/SHA1/reset/117 518s ok 676 /checksum/SHA1/reset/118 518s ok 677 /checksum/SHA1/reset/119 518s ok 678 /checksum/SHA1/reset/120 518s ok 679 /checksum/SHA1/reset/121 518s ok 680 /checksum/SHA1/reset/122 518s ok 681 /checksum/SHA1/reset/123 518s ok 682 /checksum/SHA1/reset/124 518s ok 683 /checksum/SHA1/reset/125 518s ok 684 /checksum/SHA1/reset/126 518s ok 685 /checksum/SHA1/reset/127 518s ok 686 /checksum/SHA1/reset/128 518s ok 687 /checksum/SHA1/reset/129 518s ok 688 /checksum/SHA1/reset/130 518s ok 689 /checksum/SHA1/reset/131 518s ok 690 /checksum/SHA1/reset/132 518s ok 691 /checksum/SHA1/reset/133 518s ok 692 /checksum/SHA1/reset/134 518s ok 693 /checksum/SHA1/reset/135 518s ok 694 /checksum/SHA1/reset/136 518s ok 695 /checksum/SHA1/reset/137 518s ok 696 /checksum/SHA1/reset/138 518s ok 697 /checksum/SHA1/reset/139 518s ok 698 /checksum/SHA1/reset/140 518s ok 699 /checksum/SHA1/reset/141 518s ok 700 /checksum/SHA1/reset/142 518s ok 701 /checksum/SHA1/reset/143 518s ok 702 /checksum/SHA1/reset/144 518s ok 703 /checksum/SHA1/reset/145 518s ok 704 /checksum/SHA1/reset/146 518s ok 705 /checksum/SHA1/reset/147 518s ok 706 /checksum/SHA1/reset/148 518s ok 707 /checksum/SHA1/reset/149 518s ok 708 /checksum/SHA1/reset/150 518s ok 709 /checksum/SHA1/reset/151 518s ok 710 /checksum/SHA1/reset/152 518s ok 711 /checksum/SHA1/reset/153 518s ok 712 /checksum/SHA1/reset/154 518s ok 713 /checksum/SHA1/reset/155 518s ok 714 /checksum/SHA1/reset/156 518s ok 715 /checksum/SHA1/reset/157 518s ok 716 /checksum/SHA1/reset/158 518s ok 717 /checksum/SHA1/reset/159 518s ok 718 /checksum/SHA1/reset/160 518s ok 719 /checksum/SHA1/reset/161 518s ok 720 /checksum/SHA1/reset/162 518s ok 721 /checksum/SHA1/reset/163 518s ok 722 /checksum/SHA1/reset/164 518s ok 723 /checksum/SHA1/reset/165 518s ok 724 /checksum/SHA1/reset/166 518s ok 725 /checksum/SHA1/reset/167 518s ok 726 /checksum/SHA1/reset/168 518s ok 727 /checksum/SHA1/reset/169 518s ok 728 /checksum/SHA1/reset/170 518s ok 729 /checksum/SHA1/reset/171 518s ok 730 /checksum/SHA1/reset/172 518s ok 731 /checksum/SHA1/reset/173 518s ok 732 /checksum/SHA1/reset/174 518s ok 733 /checksum/SHA1/reset/175 518s ok 734 /checksum/SHA1/reset/176 518s ok 735 /checksum/SHA1/reset/177 518s ok 736 /checksum/SHA1/reset/178 518s ok 737 /checksum/SHA1/reset/179 518s ok 738 /checksum/SHA1/reset/180 518s ok 739 /checksum/SHA1/reset/181 518s ok 740 /checksum/SHA1/reset/182 518s ok 741 /checksum/SHA1/reset/183 518s # End of reset tests 518s # End of SHA1 tests 518s # Start of SHA256 tests 518s ok 742 /checksum/SHA256/0 518s ok 743 /checksum/SHA256/1 518s ok 744 /checksum/SHA256/2 518s ok 745 /checksum/SHA256/3 518s ok 746 /checksum/SHA256/4 518s ok 747 /checksum/SHA256/5 518s ok 748 /checksum/SHA256/6 518s ok 749 /checksum/SHA256/7 518s ok 750 /checksum/SHA256/8 518s ok 751 /checksum/SHA256/9 518s ok 752 /checksum/SHA256/10 518s ok 753 /checksum/SHA256/11 518s ok 754 /checksum/SHA256/12 518s ok 755 /checksum/SHA256/13 518s ok 756 /checksum/SHA256/14 518s ok 757 /checksum/SHA256/15 518s ok 758 /checksum/SHA256/16 518s ok 759 /checksum/SHA256/17 518s ok 760 /checksum/SHA256/18 518s ok 761 /checksum/SHA256/19 518s ok 762 /checksum/SHA256/20 518s ok 763 /checksum/SHA256/21 518s ok 764 /checksum/SHA256/22 518s ok 765 /checksum/SHA256/23 518s ok 766 /checksum/SHA256/24 518s ok 767 /checksum/SHA256/25 518s ok 768 /checksum/SHA256/26 518s ok 769 /checksum/SHA256/27 518s ok 770 /checksum/SHA256/28 518s ok 771 /checksum/SHA256/29 518s ok 772 /checksum/SHA256/30 518s ok 773 /checksum/SHA256/31 518s ok 774 /checksum/SHA256/32 518s ok 775 /checksum/SHA256/33 518s ok 776 /checksum/SHA256/34 518s ok 777 /checksum/SHA256/35 518s ok 778 /checksum/SHA256/36 518s ok 779 /checksum/SHA256/37 518s ok 780 /checksum/SHA256/38 518s ok 781 /checksum/SHA256/39 518s ok 782 /checksum/SHA256/40 518s ok 783 /checksum/SHA256/41 518s ok 784 /checksum/SHA256/42 518s ok 785 /checksum/SHA256/43 518s ok 786 /checksum/SHA256/44 518s ok 787 /checksum/SHA256/45 518s ok 788 /checksum/SHA256/46 518s ok 789 /checksum/SHA256/47 518s ok 790 /checksum/SHA256/48 518s ok 791 /checksum/SHA256/49 518s ok 792 /checksum/SHA256/50 518s ok 793 /checksum/SHA256/51 518s ok 794 /checksum/SHA256/52 518s ok 795 /checksum/SHA256/53 518s ok 796 /checksum/SHA256/54 518s ok 797 /checksum/SHA256/55 518s ok 798 /checksum/SHA256/56 518s ok 799 /checksum/SHA256/57 518s ok 800 /checksum/SHA256/58 518s ok 801 /checksum/SHA256/59 518s ok 802 /checksum/SHA256/60 518s ok 803 /checksum/SHA256/61 518s ok 804 /checksum/SHA256/62 518s ok 805 /checksum/SHA256/63 518s ok 806 /checksum/SHA256/64 518s ok 807 /checksum/SHA256/65 518s ok 808 /checksum/SHA256/66 518s ok 809 /checksum/SHA256/67 518s ok 810 /checksum/SHA256/68 518s ok 811 /checksum/SHA256/69 518s ok 812 /checksum/SHA256/70 518s ok 813 /checksum/SHA256/71 518s ok 814 /checksum/SHA256/72 518s ok 815 /checksum/SHA256/73 518s ok 816 /checksum/SHA256/74 518s ok 817 /checksum/SHA256/75 518s ok 818 /checksum/SHA256/76 518s ok 819 /checksum/SHA256/77 518s ok 820 /checksum/SHA256/78 518s ok 821 /checksum/SHA256/79 518s ok 822 /checksum/SHA256/80 518s ok 823 /checksum/SHA256/81 518s ok 824 /checksum/SHA256/82 518s ok 825 /checksum/SHA256/83 518s ok 826 /checksum/SHA256/84 518s ok 827 /checksum/SHA256/85 518s ok 828 /checksum/SHA256/86 518s ok 829 /checksum/SHA256/87 518s ok 830 /checksum/SHA256/88 518s ok 831 /checksum/SHA256/89 518s ok 832 /checksum/SHA256/90 518s ok 833 /checksum/SHA256/91 518s ok 834 /checksum/SHA256/92 518s ok 835 /checksum/SHA256/93 518s ok 836 /checksum/SHA256/94 518s ok 837 /checksum/SHA256/95 518s ok 838 /checksum/SHA256/96 518s ok 839 /checksum/SHA256/97 518s ok 840 /checksum/SHA256/98 518s ok 841 /checksum/SHA256/99 518s ok 842 /checksum/SHA256/100 518s ok 843 /checksum/SHA256/101 518s ok 844 /checksum/SHA256/102 518s ok 845 /checksum/SHA256/103 518s ok 846 /checksum/SHA256/104 518s ok 847 /checksum/SHA256/105 518s ok 848 /checksum/SHA256/106 518s ok 849 /checksum/SHA256/107 518s ok 850 /checksum/SHA256/108 518s ok 851 /checksum/SHA256/109 518s ok 852 /checksum/SHA256/110 518s ok 853 /checksum/SHA256/111 518s ok 854 /checksum/SHA256/112 518s ok 855 /checksum/SHA256/113 518s ok 856 /checksum/SHA256/114 518s ok 857 /checksum/SHA256/115 518s ok 858 /checksum/SHA256/116 518s ok 859 /checksum/SHA256/117 518s ok 860 /checksum/SHA256/118 518s ok 861 /checksum/SHA256/119 518s ok 862 /checksum/SHA256/120 518s ok 863 /checksum/SHA256/121 518s ok 864 /checksum/SHA256/122 518s ok 865 /checksum/SHA256/123 518s ok 866 /checksum/SHA256/124 518s ok 867 /checksum/SHA256/125 518s ok 868 /checksum/SHA256/126 518s ok 869 /checksum/SHA256/127 518s ok 870 /checksum/SHA256/128 518s ok 871 /checksum/SHA256/129 518s ok 872 /checksum/SHA256/130 518s ok 873 /checksum/SHA256/131 518s ok 874 /checksum/SHA256/132 518s ok 875 /checksum/SHA256/133 518s ok 876 /checksum/SHA256/134 518s ok 877 /checksum/SHA256/135 518s ok 878 /checksum/SHA256/136 518s ok 879 /checksum/SHA256/137 518s ok 880 /checksum/SHA256/138 518s ok 881 /checksum/SHA256/139 518s ok 882 /checksum/SHA256/140 518s ok 883 /checksum/SHA256/141 518s ok 884 /checksum/SHA256/142 518s ok 885 /checksum/SHA256/143 518s ok 886 /checksum/SHA256/144 518s ok 887 /checksum/SHA256/145 518s ok 888 /checksum/SHA256/146 518s ok 889 /checksum/SHA256/147 518s ok 890 /checksum/SHA256/148 518s ok 891 /checksum/SHA256/149 518s ok 892 /checksum/SHA256/150 518s ok 893 /checksum/SHA256/151 518s ok 894 /checksum/SHA256/152 518s ok 895 /checksum/SHA256/153 518s ok 896 /checksum/SHA256/154 518s ok 897 /checksum/SHA256/155 518s ok 898 /checksum/SHA256/156 518s ok 899 /checksum/SHA256/157 518s ok 900 /checksum/SHA256/158 518s ok 901 /checksum/SHA256/159 518s ok 902 /checksum/SHA256/160 518s ok 903 /checksum/SHA256/161 518s ok 904 /checksum/SHA256/162 518s ok 905 /checksum/SHA256/163 518s ok 906 /checksum/SHA256/164 518s ok 907 /checksum/SHA256/165 518s ok 908 /checksum/SHA256/166 518s ok 909 /checksum/SHA256/167 518s ok 910 /checksum/SHA256/168 518s ok 911 /checksum/SHA256/169 518s ok 912 /checksum/SHA256/170 518s ok 913 /checksum/SHA256/171 518s ok 914 /checksum/SHA256/172 518s ok 915 /checksum/SHA256/173 518s ok 916 /checksum/SHA256/174 518s ok 917 /checksum/SHA256/175 518s ok 918 /checksum/SHA256/176 518s ok 919 /checksum/SHA256/177 518s ok 920 /checksum/SHA256/178 518s ok 921 /checksum/SHA256/179 518s ok 922 /checksum/SHA256/180 518s ok 923 /checksum/SHA256/181 518s ok 924 /checksum/SHA256/182 518s ok 925 /checksum/SHA256/183 518s ok 926 /checksum/SHA256/string 518s ok 927 /checksum/SHA256/bytes 518s # Start of reset tests 518s ok 928 /checksum/SHA256/reset/0 518s ok 929 /checksum/SHA256/reset/1 518s ok 930 /checksum/SHA256/reset/2 518s ok 931 /checksum/SHA256/reset/3 518s ok 932 /checksum/SHA256/reset/4 518s ok 933 /checksum/SHA256/reset/5 518s ok 934 /checksum/SHA256/reset/6 518s ok 935 /checksum/SHA256/reset/7 518s ok 936 /checksum/SHA256/reset/8 518s ok 937 /checksum/SHA256/reset/9 518s ok 938 /checksum/SHA256/reset/10 518s ok 939 /checksum/SHA256/reset/11 518s ok 940 /checksum/SHA256/reset/12 518s ok 941 /checksum/SHA256/reset/13 518s ok 942 /checksum/SHA256/reset/14 518s ok 943 /checksum/SHA256/reset/15 518s ok 944 /checksum/SHA256/reset/16 518s ok 945 /checksum/SHA256/reset/17 518s ok 946 /checksum/SHA256/reset/18 518s ok 947 /checksum/SHA256/reset/19 518s ok 948 /checksum/SHA256/reset/20 518s ok 949 /checksum/SHA256/reset/21 518s ok 950 /checksum/SHA256/reset/22 518s ok 951 /checksum/SHA256/reset/23 518s ok 952 /checksum/SHA256/reset/24 518s ok 953 /checksum/SHA256/reset/25 518s ok 954 /checksum/SHA256/reset/26 518s ok 955 /checksum/SHA256/reset/27 518s ok 956 /checksum/SHA256/reset/28 518s ok 957 /checksum/SHA256/reset/29 518s ok 958 /checksum/SHA256/reset/30 518s ok 959 /checksum/SHA256/reset/31 518s ok 960 /checksum/SHA256/reset/32 518s ok 961 /checksum/SHA256/reset/33 518s ok 962 /checksum/SHA256/reset/34 518s ok 963 /checksum/SHA256/reset/35 518s ok 964 /checksum/SHA256/reset/36 518s ok 965 /checksum/SHA256/reset/37 518s ok 966 /checksum/SHA256/reset/38 518s ok 967 /checksum/SHA256/reset/39 518s ok 968 /checksum/SHA256/reset/40 518s ok 969 /checksum/SHA256/reset/41 518s ok 970 /checksum/SHA256/reset/42 518s ok 971 /checksum/SHA256/reset/43 518s ok 972 /checksum/SHA256/reset/44 518s ok 973 /checksum/SHA256/reset/45 518s ok 974 /checksum/SHA256/reset/46 518s ok 975 /checksum/SHA256/reset/47 518s ok 976 /checksum/SHA256/reset/48 518s ok 977 /checksum/SHA256/reset/49 518s ok 978 /checksum/SHA256/reset/50 518s ok 979 /checksum/SHA256/reset/51 518s ok 980 /checksum/SHA256/reset/52 518s ok 981 /checksum/SHA256/reset/53 518s ok 982 /checksum/SHA256/reset/54 518s ok 983 /checksum/SHA256/reset/55 518s ok 984 /checksum/SHA256/reset/56 518s ok 985 /checksum/SHA256/reset/57 518s ok 986 /checksum/SHA256/reset/58 518s ok 987 /checksum/SHA256/reset/59 518s ok 988 /checksum/SHA256/reset/60 518s ok 989 /checksum/SHA256/reset/61 518s ok 990 /checksum/SHA256/reset/62 518s ok 991 /checksum/SHA256/reset/63 518s ok 992 /checksum/SHA256/reset/64 518s ok 993 /checksum/SHA256/reset/65 518s ok 994 /checksum/SHA256/reset/66 518s ok 995 /checksum/SHA256/reset/67 518s ok 996 /checksum/SHA256/reset/68 518s ok 997 /checksum/SHA256/reset/69 518s ok 998 /checksum/SHA256/reset/70 518s ok 999 /checksum/SHA256/reset/71 518s ok 1000 /checksum/SHA256/reset/72 518s ok 1001 /checksum/SHA256/reset/73 518s ok 1002 /checksum/SHA256/reset/74 518s ok 1003 /checksum/SHA256/reset/75 518s ok 1004 /checksum/SHA256/reset/76 518s ok 1005 /checksum/SHA256/reset/77 518s ok 1006 /checksum/SHA256/reset/78 518s ok 1007 /checksum/SHA256/reset/79 518s ok 1008 /checksum/SHA256/reset/80 518s ok 1009 /checksum/SHA256/reset/81 518s ok 1010 /checksum/SHA256/reset/82 518s ok 1011 /checksum/SHA256/reset/83 518s ok 1012 /checksum/SHA256/reset/84 518s ok 1013 /checksum/SHA256/reset/85 518s ok 1014 /checksum/SHA256/reset/86 518s ok 1015 /checksum/SHA256/reset/87 518s ok 1016 /checksum/SHA256/reset/88 518s ok 1017 /checksum/SHA256/reset/89 518s ok 1018 /checksum/SHA256/reset/90 518s ok 1019 /checksum/SHA256/reset/91 518s ok 1020 /checksum/SHA256/reset/92 518s ok 1021 /checksum/SHA256/reset/93 518s ok 1022 /checksum/SHA256/reset/94 518s ok 1023 /checksum/SHA256/reset/95 518s ok 1024 /checksum/SHA256/reset/96 518s ok 1025 /checksum/SHA256/reset/97 518s ok 1026 /checksum/SHA256/reset/98 518s ok 1027 /checksum/SHA256/reset/99 518s ok 1028 /checksum/SHA256/reset/100 518s ok 1029 /checksum/SHA256/reset/101 518s ok 1030 /checksum/SHA256/reset/102 518s ok 1031 /checksum/SHA256/reset/103 518s ok 1032 /checksum/SHA256/reset/104 518s ok 1033 /checksum/SHA256/reset/105 518s ok 1034 /checksum/SHA256/reset/106 518s ok 1035 /checksum/SHA256/reset/107 518s ok 1036 /checksum/SHA256/reset/108 518s ok 1037 /checksum/SHA256/reset/109 518s ok 1038 /checksum/SHA256/reset/110 518s ok 1039 /checksum/SHA256/reset/111 518s ok 1040 /checksum/SHA256/reset/112 518s ok 1041 /checksum/SHA256/reset/113 518s ok 1042 /checksum/SHA256/reset/114 518s ok 1043 /checksum/SHA256/reset/115 518s ok 1044 /checksum/SHA256/reset/116 518s ok 1045 /checksum/SHA256/reset/117 518s ok 1046 /checksum/SHA256/reset/118 518s ok 1047 /checksum/SHA256/reset/119 518s ok 1048 /checksum/SHA256/reset/120 518s ok 1049 /checksum/SHA256/reset/121 518s ok 1050 /checksum/SHA256/reset/122 518s ok 1051 /checksum/SHA256/reset/123 518s ok 1052 /checksum/SHA256/reset/124 518s ok 1053 /checksum/SHA256/reset/125 518s ok 1054 /checksum/SHA256/reset/126 518s ok 1055 /checksum/SHA256/reset/127 518s ok 1056 /checksum/SHA256/reset/128 518s ok 1057 /checksum/SHA256/reset/129 518s ok 1058 /checksum/SHA256/reset/130 518s ok 1059 /checksum/SHA256/reset/131 518s ok 1060 /checksum/SHA256/reset/132 518s ok 1061 /checksum/SHA256/reset/133 518s ok 1062 /checksum/SHA256/reset/134 518s ok 1063 /checksum/SHA256/reset/135 518s ok 1064 /checksum/SHA256/reset/136 518s ok 1065 /checksum/SHA256/reset/137 518s ok 1066 /checksum/SHA256/reset/138 518s ok 1067 /checksum/SHA256/reset/139 518s ok 1068 /checksum/SHA256/reset/140 518s ok 1069 /checksum/SHA256/reset/141 518s ok 1070 /checksum/SHA256/reset/142 518s ok 1071 /checksum/SHA256/reset/143 518s ok 1072 /checksum/SHA256/reset/144 518s ok 1073 /checksum/SHA256/reset/145 518s ok 1074 /checksum/SHA256/reset/146 518s ok 1075 /checksum/SHA256/reset/147 518s ok 1076 /checksum/SHA256/reset/148 518s ok 1077 /checksum/SHA256/reset/149 518s ok 1078 /checksum/SHA256/reset/150 518s ok 1079 /checksum/SHA256/reset/151 518s ok 1080 /checksum/SHA256/reset/152 518s ok 1081 /checksum/SHA256/reset/153 518s ok 1082 /checksum/SHA256/reset/154 518s ok 1083 /checksum/SHA256/reset/155 518s ok 1084 /checksum/SHA256/reset/156 518s ok 1085 /checksum/SHA256/reset/157 518s ok 1086 /checksum/SHA256/reset/158 518s ok 1087 /checksum/SHA256/reset/159 518s ok 1088 /checksum/SHA256/reset/160 518s ok 1089 /checksum/SHA256/reset/161 518s ok 1090 /checksum/SHA256/reset/162 518s ok 1091 /checksum/SHA256/reset/163 518s ok 1092 /checksum/SHA256/reset/164 518s ok 1093 /checksum/SHA256/reset/165 518s ok 1094 /checksum/SHA256/reset/166 518s ok 1095 /checksum/SHA256/reset/167 518s ok 1096 /checksum/SHA256/reset/168 518s ok 1097 /checksum/SHA256/reset/169 518s ok 1098 /checksum/SHA256/reset/170 518s ok 1099 /checksum/SHA256/reset/171 518s ok 1100 /checksum/SHA256/reset/172 518s ok 1101 /checksum/SHA256/reset/173 518s ok 1102 /checksum/SHA256/reset/174 518s ok 1103 /checksum/SHA256/reset/175 518s ok 1104 /checksum/SHA256/reset/176 518s ok 1105 /checksum/SHA256/reset/177 518s ok 1106 /checksum/SHA256/reset/178 518s ok 1107 /checksum/SHA256/reset/179 518s ok 1108 /checksum/SHA256/reset/180 518s ok 1109 /checksum/SHA256/reset/181 518s ok 1110 /checksum/SHA256/reset/182 518s ok 1111 /checksum/SHA256/reset/183 518s # End of reset tests 518s # End of SHA256 tests 518s # Start of SHA384 tests 518s ok 1112 /checksum/SHA384/0 518s ok 1113 /checksum/SHA384/1 518s ok 1114 /checksum/SHA384/2 518s ok 1115 /checksum/SHA384/3 518s ok 1116 /checksum/SHA384/4 518s ok 1117 /checksum/SHA384/5 518s ok 1118 /checksum/SHA384/6 518s ok 1119 /checksum/SHA384/7 518s ok 1120 /checksum/SHA384/8 518s ok 1121 /checksum/SHA384/9 518s ok 1122 /checksum/SHA384/10 518s ok 1123 /checksum/SHA384/11 518s ok 1124 /checksum/SHA384/12 518s ok 1125 /checksum/SHA384/13 518s ok 1126 /checksum/SHA384/14 518s ok 1127 /checksum/SHA384/15 518s ok 1128 /checksum/SHA384/16 518s ok 1129 /checksum/SHA384/17 518s ok 1130 /checksum/SHA384/18 518s ok 1131 /checksum/SHA384/19 518s ok 1132 /checksum/SHA384/20 518s ok 1133 /checksum/SHA384/21 518s ok 1134 /checksum/SHA384/22 518s ok 1135 /checksum/SHA384/23 518s ok 1136 /checksum/SHA384/24 518s ok 1137 /checksum/SHA384/25 518s ok 1138 /checksum/SHA384/26 518s ok 1139 /checksum/SHA384/27 518s ok 1140 /checksum/SHA384/28 518s ok 1141 /checksum/SHA384/29 518s ok 1142 /checksum/SHA384/30 518s ok 1143 /checksum/SHA384/31 518s ok 1144 /checksum/SHA384/32 518s ok 1145 /checksum/SHA384/33 518s ok 1146 /checksum/SHA384/34 518s ok 1147 /checksum/SHA384/35 518s ok 1148 /checksum/SHA384/36 518s ok 1149 /checksum/SHA384/37 518s ok 1150 /checksum/SHA384/38 518s ok 1151 /checksum/SHA384/39 518s ok 1152 /checksum/SHA384/40 518s ok 1153 /checksum/SHA384/41 518s ok 1154 /checksum/SHA384/42 518s ok 1155 /checksum/SHA384/43 518s ok 1156 /checksum/SHA384/44 518s ok 1157 /checksum/SHA384/45 518s ok 1158 /checksum/SHA384/46 518s ok 1159 /checksum/SHA384/47 518s ok 1160 /checksum/SHA384/48 518s ok 1161 /checksum/SHA384/49 518s ok 1162 /checksum/SHA384/50 518s ok 1163 /checksum/SHA384/51 518s ok 1164 /checksum/SHA384/52 518s ok 1165 /checksum/SHA384/53 518s ok 1166 /checksum/SHA384/54 518s ok 1167 /checksum/SHA384/55 518s ok 1168 /checksum/SHA384/56 518s ok 1169 /checksum/SHA384/57 518s ok 1170 /checksum/SHA384/58 518s ok 1171 /checksum/SHA384/59 518s ok 1172 /checksum/SHA384/60 518s ok 1173 /checksum/SHA384/61 518s ok 1174 /checksum/SHA384/62 518s ok 1175 /checksum/SHA384/63 518s ok 1176 /checksum/SHA384/64 518s ok 1177 /checksum/SHA384/65 518s ok 1178 /checksum/SHA384/66 518s ok 1179 /checksum/SHA384/67 518s ok 1180 /checksum/SHA384/68 518s ok 1181 /checksum/SHA384/69 518s ok 1182 /checksum/SHA384/70 518s ok 1183 /checksum/SHA384/71 518s ok 1184 /checksum/SHA384/72 518s ok 1185 /checksum/SHA384/73 518s ok 1186 /checksum/SHA384/74 518s ok 1187 /checksum/SHA384/75 518s ok 1188 /checksum/SHA384/76 518s ok 1189 /checksum/SHA384/77 518s ok 1190 /checksum/SHA384/78 518s ok 1191 /checksum/SHA384/79 518s ok 1192 /checksum/SHA384/80 518s ok 1193 /checksum/SHA384/81 518s ok 1194 /checksum/SHA384/82 518s ok 1195 /checksum/SHA384/83 518s ok 1196 /checksum/SHA384/84 518s ok 1197 /checksum/SHA384/85 518s ok 1198 /checksum/SHA384/86 518s ok 1199 /checksum/SHA384/87 518s ok 1200 /checksum/SHA384/88 518s ok 1201 /checksum/SHA384/89 518s ok 1202 /checksum/SHA384/90 518s ok 1203 /checksum/SHA384/91 518s ok 1204 /checksum/SHA384/92 518s ok 1205 /checksum/SHA384/93 518s ok 1206 /checksum/SHA384/94 518s ok 1207 /checksum/SHA384/95 518s ok 1208 /checksum/SHA384/96 518s ok 1209 /checksum/SHA384/97 518s ok 1210 /checksum/SHA384/98 518s ok 1211 /checksum/SHA384/99 518s ok 1212 /checksum/SHA384/100 518s ok 1213 /checksum/SHA384/101 518s ok 1214 /checksum/SHA384/102 518s ok 1215 /checksum/SHA384/103 518s ok 1216 /checksum/SHA384/104 518s ok 1217 /checksum/SHA384/105 518s ok 1218 /checksum/SHA384/106 518s ok 1219 /checksum/SHA384/107 518s ok 1220 /checksum/SHA384/108 518s ok 1221 /checksum/SHA384/109 518s ok 1222 /checksum/SHA384/110 518s ok 1223 /checksum/SHA384/111 518s ok 1224 /checksum/SHA384/112 518s ok 1225 /checksum/SHA384/113 518s ok 1226 /checksum/SHA384/114 518s ok 1227 /checksum/SHA384/115 518s ok 1228 /checksum/SHA384/116 518s ok 1229 /checksum/SHA384/117 518s ok 1230 /checksum/SHA384/118 518s ok 1231 /checksum/SHA384/119 518s ok 1232 /checksum/SHA384/120 518s ok 1233 /checksum/SHA384/121 518s ok 1234 /checksum/SHA384/122 518s ok 1235 /checksum/SHA384/123 518s ok 1236 /checksum/SHA384/124 518s ok 1237 /checksum/SHA384/125 518s ok 1238 /checksum/SHA384/126 518s ok 1239 /checksum/SHA384/127 518s ok 1240 /checksum/SHA384/128 518s ok 1241 /checksum/SHA384/129 518s ok 1242 /checksum/SHA384/130 518s ok 1243 /checksum/SHA384/131 518s ok 1244 /checksum/SHA384/132 518s ok 1245 /checksum/SHA384/133 518s ok 1246 /checksum/SHA384/134 518s ok 1247 /checksum/SHA384/135 518s ok 1248 /checksum/SHA384/136 518s ok 1249 /checksum/SHA384/137 518s ok 1250 /checksum/SHA384/138 518s ok 1251 /checksum/SHA384/139 518s ok 1252 /checksum/SHA384/140 518s ok 1253 /checksum/SHA384/141 518s ok 1254 /checksum/SHA384/142 518s ok 1255 /checksum/SHA384/143 518s ok 1256 /checksum/SHA384/144 518s ok 1257 /checksum/SHA384/145 518s ok 1258 /checksum/SHA384/146 518s ok 1259 /checksum/SHA384/147 518s ok 1260 /checksum/SHA384/148 518s ok 1261 /checksum/SHA384/149 518s ok 1262 /checksum/SHA384/150 518s ok 1263 /checksum/SHA384/151 518s ok 1264 /checksum/SHA384/152 518s ok 1265 /checksum/SHA384/153 518s ok 1266 /checksum/SHA384/154 518s ok 1267 /checksum/SHA384/155 518s ok 1268 /checksum/SHA384/156 518s ok 1269 /checksum/SHA384/157 518s ok 1270 /checksum/SHA384/158 518s ok 1271 /checksum/SHA384/159 518s ok 1272 /checksum/SHA384/160 518s ok 1273 /checksum/SHA384/161 518s ok 1274 /checksum/SHA384/162 518s ok 1275 /checksum/SHA384/163 518s ok 1276 /checksum/SHA384/164 518s ok 1277 /checksum/SHA384/165 518s ok 1278 /checksum/SHA384/166 518s ok 1279 /checksum/SHA384/167 518s ok 1280 /checksum/SHA384/168 518s ok 1281 /checksum/SHA384/169 518s ok 1282 /checksum/SHA384/170 518s ok 1283 /checksum/SHA384/171 518s ok 1284 /checksum/SHA384/172 518s ok 1285 /checksum/SHA384/173 518s ok 1286 /checksum/SHA384/174 518s ok 1287 /checksum/SHA384/175 518s ok 1288 /checksum/SHA384/176 518s ok 1289 /checksum/SHA384/177 518s ok 1290 /checksum/SHA384/178 518s ok 1291 /checksum/SHA384/179 518s ok 1292 /checksum/SHA384/180 518s ok 1293 /checksum/SHA384/181 518s ok 1294 /checksum/SHA384/182 518s ok 1295 /checksum/SHA384/183 518s ok 1296 /checksum/SHA384/string 518s ok 1297 /checksum/SHA384/bytes 518s # Start of reset tests 518s ok 1298 /checksum/SHA384/reset/0 518s ok 1299 /checksum/SHA384/reset/1 518s ok 1300 /checksum/SHA384/reset/2 518s ok 1301 /checksum/SHA384/reset/3 518s ok 1302 /checksum/SHA384/reset/4 518s ok 1303 /checksum/SHA384/reset/5 518s ok 1304 /checksum/SHA384/reset/6 518s ok 1305 /checksum/SHA384/reset/7 518s ok 1306 /checksum/SHA384/reset/8 518s ok 1307 /checksum/SHA384/reset/9 518s ok 1308 /checksum/SHA384/reset/10 518s ok 1309 /checksum/SHA384/reset/11 518s ok 1310 /checksum/SHA384/reset/12 518s ok 1311 /checksum/SHA384/reset/13 518s ok 1312 /checksum/SHA384/reset/14 518s ok 1313 /checksum/SHA384/reset/15 518s ok 1314 /checksum/SHA384/reset/16 518s ok 1315 /checksum/SHA384/reset/17 518s ok 1316 /checksum/SHA384/reset/18 518s ok 1317 /checksum/SHA384/reset/19 518s ok 1318 /checksum/SHA384/reset/20 518s ok 1319 /checksum/SHA384/reset/21 518s ok 1320 /checksum/SHA384/reset/22 518s ok 1321 /checksum/SHA384/reset/23 518s ok 1322 /checksum/SHA384/reset/24 518s ok 1323 /checksum/SHA384/reset/25 518s ok 1324 /checksum/SHA384/reset/26 518s ok 1325 /checksum/SHA384/reset/27 518s ok 1326 /checksum/SHA384/reset/28 518s ok 1327 /checksum/SHA384/reset/29 518s ok 1328 /checksum/SHA384/reset/30 518s ok 1329 /checksum/SHA384/reset/31 518s ok 1330 /checksum/SHA384/reset/32 518s ok 1331 /checksum/SHA384/reset/33 518s ok 1332 /checksum/SHA384/reset/34 518s ok 1333 /checksum/SHA384/reset/35 518s ok 1334 /checksum/SHA384/reset/36 518s ok 1335 /checksum/SHA384/reset/37 518s ok 1336 /checksum/SHA384/reset/38 518s ok 1337 /checksum/SHA384/reset/39 518s ok 1338 /checksum/SHA384/reset/40 518s ok 1339 /checksum/SHA384/reset/41 518s ok 1340 /checksum/SHA384/reset/42 518s ok 1341 /checksum/SHA384/reset/43 518s ok 1342 /checksum/SHA384/reset/44 518s ok 1343 /checksum/SHA384/reset/45 518s ok 1344 /checksum/SHA384/reset/46 518s ok 1345 /checksum/SHA384/reset/47 518s ok 1346 /checksum/SHA384/reset/48 518s ok 1347 /checksum/SHA384/reset/49 518s ok 1348 /checksum/SHA384/reset/50 518s ok 1349 /checksum/SHA384/reset/51 518s ok 1350 /checksum/SHA384/reset/52 518s ok 1351 /checksum/SHA384/reset/53 518s ok 1352 /checksum/SHA384/reset/54 518s ok 1353 /checksum/SHA384/reset/55 518s ok 1354 /checksum/SHA384/reset/56 518s ok 1355 /checksum/SHA384/reset/57 518s ok 1356 /checksum/SHA384/reset/58 518s ok 1357 /checksum/SHA384/reset/59 518s ok 1358 /checksum/SHA384/reset/60 518s ok 1359 /checksum/SHA384/reset/61 518s ok 1360 /checksum/SHA384/reset/62 518s ok 1361 /checksum/SHA384/reset/63 518s ok 1362 /checksum/SHA384/reset/64 518s ok 1363 /checksum/SHA384/reset/65 518s ok 1364 /checksum/SHA384/reset/66 518s ok 1365 /checksum/SHA384/reset/67 518s ok 1366 /checksum/SHA384/reset/68 518s ok 1367 /checksum/SHA384/reset/69 518s ok 1368 /checksum/SHA384/reset/70 518s ok 1369 /checksum/SHA384/reset/71 518s ok 1370 /checksum/SHA384/reset/72 518s ok 1371 /checksum/SHA384/reset/73 518s ok 1372 /checksum/SHA384/reset/74 518s ok 1373 /checksum/SHA384/reset/75 518s ok 1374 /checksum/SHA384/reset/76 518s ok 1375 /checksum/SHA384/reset/77 518s ok 1376 /checksum/SHA384/reset/78 518s ok 1377 /checksum/SHA384/reset/79 518s ok 1378 /checksum/SHA384/reset/80 518s ok 1379 /checksum/SHA384/reset/81 518s ok 1380 /checksum/SHA384/reset/82 518s ok 1381 /checksum/SHA384/reset/83 518s ok 1382 /checksum/SHA384/reset/84 518s ok 1383 /checksum/SHA384/reset/85 518s ok 1384 /checksum/SHA384/reset/86 518s ok 1385 /checksum/SHA384/reset/87 518s ok 1386 /checksum/SHA384/reset/88 518s ok 1387 /checksum/SHA384/reset/89 518s ok 1388 /checksum/SHA384/reset/90 518s ok 1389 /checksum/SHA384/reset/91 518s ok 1390 /checksum/SHA384/reset/92 518s ok 1391 /checksum/SHA384/reset/93 518s ok 1392 /checksum/SHA384/reset/94 518s ok 1393 /checksum/SHA384/reset/95 518s ok 1394 /checksum/SHA384/reset/96 518s ok 1395 /checksum/SHA384/reset/97 518s ok 1396 /checksum/SHA384/reset/98 518s ok 1397 /checksum/SHA384/reset/99 518s ok 1398 /checksum/SHA384/reset/100 518s ok 1399 /checksum/SHA384/reset/101 518s ok 1400 /checksum/SHA384/reset/102 518s ok 1401 /checksum/SHA384/reset/103 518s ok 1402 /checksum/SHA384/reset/104 518s ok 1403 /checksum/SHA384/reset/105 518s ok 1404 /checksum/SHA384/reset/106 518s ok 1405 /checksum/SHA384/reset/107 518s ok 1406 /checksum/SHA384/reset/108 518s ok 1407 /checksum/SHA384/reset/109 518s ok 1408 /checksum/SHA384/reset/110 518s ok 1409 /checksum/SHA384/reset/111 518s ok 1410 /checksum/SHA384/reset/112 518s ok 1411 /checksum/SHA384/reset/113 518s ok 1412 /checksum/SHA384/reset/114 518s ok 1413 /checksum/SHA384/reset/115 518s ok 1414 /checksum/SHA384/reset/116 518s ok 1415 /checksum/SHA384/reset/117 518s ok 1416 /checksum/SHA384/reset/118 518s ok 1417 /checksum/SHA384/reset/119 518s ok 1418 /checksum/SHA384/reset/120 518s ok 1419 /checksum/SHA384/reset/121 518s ok 1420 /checksum/SHA384/reset/122 518s ok 1421 /checksum/SHA384/reset/123 518s ok 1422 /checksum/SHA384/reset/124 518s ok 1423 /checksum/SHA384/reset/125 518s ok 1424 /checksum/SHA384/reset/126 518s ok 1425 /checksum/SHA384/reset/127 518s ok 1426 /checksum/SHA384/reset/128 518s ok 1427 /checksum/SHA384/reset/129 518s ok 1428 /checksum/SHA384/reset/130 518s ok 1429 /checksum/SHA384/reset/131 518s ok 1430 /checksum/SHA384/reset/132 518s ok 1431 /checksum/SHA384/reset/133 518s ok 1432 /checksum/SHA384/reset/134 518s ok 1433 /checksum/SHA384/reset/135 518s ok 1434 /checksum/SHA384/reset/136 518s ok 1435 /checksum/SHA384/reset/137 518s ok 1436 /checksum/SHA384/reset/138 518s ok 1437 /checksum/SHA384/reset/139 518s ok 1438 /checksum/SHA384/reset/140 518s ok 1439 /checksum/SHA384/reset/141 518s ok 1440 /checksum/SHA384/reset/142 518s ok 1441 /checksum/SHA384/reset/143 518s ok 1442 /checksum/SHA384/reset/144 518s ok 1443 /checksum/SHA384/reset/145 518s ok 1444 /checksum/SHA384/reset/146 518s ok 1445 /checksum/SHA384/reset/147 518s ok 1446 /checksum/SHA384/reset/148 518s ok 1447 /checksum/SHA384/reset/149 518s ok 1448 /checksum/SHA384/reset/150 518s ok 1449 /checksum/SHA384/reset/151 518s ok 1450 /checksum/SHA384/reset/152 518s ok 1451 /checksum/SHA384/reset/153 518s ok 1452 /checksum/SHA384/reset/154 518s ok 1453 /checksum/SHA384/reset/155 518s ok 1454 /checksum/SHA384/reset/156 518s ok 1455 /checksum/SHA384/reset/157 518s ok 1456 /checksum/SHA384/reset/158 518s ok 1457 /checksum/SHA384/reset/159 518s ok 1458 /checksum/SHA384/reset/160 518s ok 1459 /checksum/SHA384/reset/161 518s ok 1460 /checksum/SHA384/reset/162 518s ok 1461 /checksum/SHA384/reset/163 518s ok 1462 /checksum/SHA384/reset/164 518s ok 1463 /checksum/SHA384/reset/165 518s ok 1464 /checksum/SHA384/reset/166 518s ok 1465 /checksum/SHA384/reset/167 518s ok 1466 /checksum/SHA384/reset/168 518s ok 1467 /checksum/SHA384/reset/169 518s ok 1468 /checksum/SHA384/reset/170 518s ok 1469 /checksum/SHA384/reset/171 518s ok 1470 /checksum/SHA384/reset/172 518s ok 1471 /checksum/SHA384/reset/173 518s ok 1472 /checksum/SHA384/reset/174 518s ok 1473 /checksum/SHA384/reset/175 518s ok 1474 /checksum/SHA384/reset/176 518s ok 1475 /checksum/SHA384/reset/177 518s ok 1476 /checksum/SHA384/reset/178 518s ok 1477 /checksum/SHA384/reset/179 518s ok 1478 /checksum/SHA384/reset/180 518s ok 1479 /checksum/SHA384/reset/181 518s ok 1480 /checksum/SHA384/reset/182 518s ok 1481 /checksum/SHA384/reset/183 518s # End of reset tests 518s # End of SHA384 tests 518s # Start of SHA512 tests 518s ok 1482 /checksum/SHA512/0 518s ok 1483 /checksum/SHA512/1 518s ok 1484 /checksum/SHA512/2 518s ok 1485 /checksum/SHA512/3 518s ok 1486 /checksum/SHA512/4 518s ok 1487 /checksum/SHA512/5 518s ok 1488 /checksum/SHA512/6 518s ok 1489 /checksum/SHA512/7 518s ok 1490 /checksum/SHA512/8 518s ok 1491 /checksum/SHA512/9 518s ok 1492 /checksum/SHA512/10 518s ok 1493 /checksum/SHA512/11 518s ok 1494 /checksum/SHA512/12 518s ok 1495 /checksum/SHA512/13 518s ok 1496 /checksum/SHA512/14 518s ok 1497 /checksum/SHA512/15 518s ok 1498 /checksum/SHA512/16 518s ok 1499 /checksum/SHA512/17 518s ok 1500 /checksum/SHA512/18 518s ok 1501 /checksum/SHA512/19 518s ok 1502 /checksum/SHA512/20 518s ok 1503 /checksum/SHA512/21 518s ok 1504 /checksum/SHA512/22 518s ok 1505 /checksum/SHA512/23 518s ok 1506 /checksum/SHA512/24 518s ok 1507 /checksum/SHA512/25 518s ok 1508 /checksum/SHA512/26 518s ok 1509 /checksum/SHA512/27 518s ok 1510 /checksum/SHA512/28 518s ok 1511 /checksum/SHA512/29 518s ok 1512 /checksum/SHA512/30 518s ok 1513 /checksum/SHA512/31 518s ok 1514 /checksum/SHA512/32 518s ok 1515 /checksum/SHA512/33 518s ok 1516 /checksum/SHA512/34 518s ok 1517 /checksum/SHA512/35 518s ok 1518 /checksum/SHA512/36 518s ok 1519 /checksum/SHA512/37 518s ok 1520 /checksum/SHA512/38 518s ok 1521 /checksum/SHA512/39 518s ok 1522 /checksum/SHA512/40 518s ok 1523 /checksum/SHA512/41 518s ok 1524 /checksum/SHA512/42 518s ok 1525 /checksum/SHA512/43 518s ok 1526 /checksum/SHA512/44 518s ok 1527 /checksum/SHA512/45 518s ok 1528 /checksum/SHA512/46 518s ok 1529 /checksum/SHA512/47 518s ok 1530 /checksum/SHA512/48 518s ok 1531 /checksum/SHA512/49 518s ok 1532 /checksum/SHA512/50 518s ok 1533 /checksum/SHA512/51 518s ok 1534 /checksum/SHA512/52 518s ok 1535 /checksum/SHA512/53 518s ok 1536 /checksum/SHA512/54 518s ok 1537 /checksum/SHA512/55 518s ok 1538 /checksum/SHA512/56 518s ok 1539 /checksum/SHA512/57 518s ok 1540 /checksum/SHA512/58 518s ok 1541 /checksum/SHA512/59 518s ok 1542 /checksum/SHA512/60 518s ok 1543 /checksum/SHA512/61 518s ok 1544 /checksum/SHA512/62 518s ok 1545 /checksum/SHA512/63 518s ok 1546 /checksum/SHA512/64 518s ok 1547 /checksum/SHA512/65 518s ok 1548 /checksum/SHA512/66 518s ok 1549 /checksum/SHA512/67 518s ok 1550 /checksum/SHA512/68 518s ok 1551 /checksum/SHA512/69 518s ok 1552 /checksum/SHA512/70 518s ok 1553 /checksum/SHA512/71 518s ok 1554 /checksum/SHA512/72 518s ok 1555 /checksum/SHA512/73 518s ok 1556 /checksum/SHA512/74 518s ok 1557 /checksum/SHA512/75 518s ok 1558 /checksum/SHA512/76 518s ok 1559 /checksum/SHA512/77 518s ok 1560 /checksum/SHA512/78 518s ok 1561 /checksum/SHA512/79 518s ok 1562 /checksum/SHA512/80 518s ok 1563 /checksum/SHA512/81 518s ok 1564 /checksum/SHA512/82 518s ok 1565 /checksum/SHA512/83 518s ok 1566 /checksum/SHA512/84 518s ok 1567 /checksum/SHA512/85 518s ok 1568 /checksum/SHA512/86 518s ok 1569 /checksum/SHA512/87 518s ok 1570 /checksum/SHA512/88 518s ok 1571 /checksum/SHA512/89 518s ok 1572 /checksum/SHA512/90 518s ok 1573 /checksum/SHA512/91 518s ok 1574 /checksum/SHA512/92 518s ok 1575 /checksum/SHA512/93 518s ok 1576 /checksum/SHA512/94 518s ok 1577 /checksum/SHA512/95 518s ok 1578 /checksum/SHA512/96 518s ok 1579 /checksum/SHA512/97 518s ok 1580 /checksum/SHA512/98 518s ok 1581 /checksum/SHA512/99 518s ok 1582 /checksum/SHA512/100 518s ok 1583 /checksum/SHA512/101 518s ok 1584 /checksum/SHA512/102 518s ok 1585 /checksum/SHA512/103 518s ok 1586 /checksum/SHA512/104 518s ok 1587 /checksum/SHA512/105 518s ok 1588 /checksum/SHA512/106 518s ok 1589 /checksum/SHA512/107 518s ok 1590 /checksum/SHA512/108 518s ok 1591 /checksum/SHA512/109 518s ok 1592 /checksum/SHA512/110 518s ok 1593 /checksum/SHA512/111 518s ok 1594 /checksum/SHA512/112 518s ok 1595 /checksum/SHA512/113 518s ok 1596 /checksum/SHA512/114 518s ok 1597 /checksum/SHA512/115 518s ok 1598 /checksum/SHA512/116 518s ok 1599 /checksum/SHA512/117 518s ok 1600 /checksum/SHA512/118 518s ok 1601 /checksum/SHA512/119 518s ok 1602 /checksum/SHA512/120 518s ok 1603 /checksum/SHA512/121 518s ok 1604 /checksum/SHA512/122 518s ok 1605 /checksum/SHA512/123 518s ok 1606 /checksum/SHA512/124 518s ok 1607 /checksum/SHA512/125 518s ok 1608 /checksum/SHA512/126 518s ok 1609 /checksum/SHA512/127 518s ok 1610 /checksum/SHA512/128 518s ok 1611 /checksum/SHA512/129 518s ok 1612 /checksum/SHA512/130 518s ok 1613 /checksum/SHA512/131 518s ok 1614 /checksum/SHA512/132 518s ok 1615 /checksum/SHA512/133 518s ok 1616 /checksum/SHA512/134 518s ok 1617 /checksum/SHA512/135 518s ok 1618 /checksum/SHA512/136 518s ok 1619 /checksum/SHA512/137 518s ok 1620 /checksum/SHA512/138 518s ok 1621 /checksum/SHA512/139 518s ok 1622 /checksum/SHA512/140 518s ok 1623 /checksum/SHA512/141 518s ok 1624 /checksum/SHA512/142 518s ok 1625 /checksum/SHA512/143 518s ok 1626 /checksum/SHA512/144 518s ok 1627 /checksum/SHA512/145 518s ok 1628 /checksum/SHA512/146 518s ok 1629 /checksum/SHA512/147 518s ok 1630 /checksum/SHA512/148 518s ok 1631 /checksum/SHA512/149 518s ok 1632 /checksum/SHA512/150 518s ok 1633 /checksum/SHA512/151 518s ok 1634 /checksum/SHA512/152 518s ok 1635 /checksum/SHA512/153 518s ok 1636 /checksum/SHA512/154 518s ok 1637 /checksum/SHA512/155 518s ok 1638 /checksum/SHA512/156 518s ok 1639 /checksum/SHA512/157 518s ok 1640 /checksum/SHA512/158 518s ok 1641 /checksum/SHA512/159 518s ok 1642 /checksum/SHA512/160 518s ok 1643 /checksum/SHA512/161 518s ok 1644 /checksum/SHA512/162 518s ok 1645 /checksum/SHA512/163 518s ok 1646 /checksum/SHA512/164 518s ok 1647 /checksum/SHA512/165 518s ok 1648 /checksum/SHA512/166 518s ok 1649 /checksum/SHA512/167 518s ok 1650 /checksum/SHA512/168 518s ok 1651 /checksum/SHA512/169 518s ok 1652 /checksum/SHA512/170 518s ok 1653 /checksum/SHA512/171 518s ok 1654 /checksum/SHA512/172 518s ok 1655 /checksum/SHA512/173 518s ok 1656 /checksum/SHA512/174 518s ok 1657 /checksum/SHA512/175 518s ok 1658 /checksum/SHA512/176 518s ok 1659 /checksum/SHA512/177 518s ok 1660 /checksum/SHA512/178 518s ok 1661 /checksum/SHA512/179 518s ok 1662 /checksum/SHA512/180 518s ok 1663 /checksum/SHA512/181 518s ok 1664 /checksum/SHA512/182 518s ok 1665 /checksum/SHA512/183 518s ok 1666 /checksum/SHA512/string 518s ok 1667 /checksum/SHA512/bytes 518s # Start of reset tests 518s ok 1668 /checksum/SHA512/reset/0 518s ok 1669 /checksum/SHA512/reset/1 518s ok 1670 /checksum/SHA512/reset/2 518s ok 1671 /checksum/SHA512/reset/3 518s ok 1672 /checksum/SHA512/reset/4 518s ok 1673 /checksum/SHA512/reset/5 518s ok 1674 /checksum/SHA512/reset/6 518s ok 1675 /checksum/SHA512/reset/7 518s ok 1676 /checksum/SHA512/reset/8 518s ok 1677 /checksum/SHA512/reset/9 518s ok 1678 /checksum/SHA512/reset/10 518s ok 1679 /checksum/SHA512/reset/11 518s ok 1680 /checksum/SHA512/reset/12 518s ok 1681 /checksum/SHA512/reset/13 518s ok 1682 /checksum/SHA512/reset/14 518s ok 1683 /checksum/SHA512/reset/15 518s ok 1684 /checksum/SHA512/reset/16 518s ok 1685 /checksum/SHA512/reset/17 518s ok 1686 /checksum/SHA512/reset/18 518s ok 1687 /checksum/SHA512/reset/19 518s ok 1688 /checksum/SHA512/reset/20 518s ok 1689 /checksum/SHA512/reset/21 518s ok 1690 /checksum/SHA512/reset/22 518s ok 1691 /checksum/SHA512/reset/23 518s ok 1692 /checksum/SHA512/reset/24 518s ok 1693 /checksum/SHA512/reset/25 518s ok 1694 /checksum/SHA512/reset/26 518s ok 1695 /checksum/SHA512/reset/27 518s ok 1696 /checksum/SHA512/reset/28 518s ok 1697 /checksum/SHA512/reset/29 518s ok 1698 /checksum/SHA512/reset/30 518s ok 1699 /checksum/SHA512/reset/31 518s ok 1700 /checksum/SHA512/reset/32 518s ok 1701 /checksum/SHA512/reset/33 518s ok 1702 /checksum/SHA512/reset/34 518s ok 1703 /checksum/SHA512/reset/35 518s ok 1704 /checksum/SHA512/reset/36 518s ok 1705 /checksum/SHA512/reset/37 518s ok 1706 /checksum/SHA512/reset/38 518s ok 1707 /checksum/SHA512/reset/39 518s ok 1708 /checksum/SHA512/reset/40 518s ok 1709 /checksum/SHA512/reset/41 518s ok 1710 /checksum/SHA512/reset/42 518s ok 1711 /checksum/SHA512/reset/43 518s ok 1712 /checksum/SHA512/reset/44 518s ok 1713 /checksum/SHA512/reset/45 518s ok 1714 /checksum/SHA512/reset/46 518s ok 1715 /checksum/SHA512/reset/47 518s ok 1716 /checksum/SHA512/reset/48 518s ok 1717 /checksum/SHA512/reset/49 518s ok 1718 /checksum/SHA512/reset/50 518s ok 1719 /checksum/SHA512/reset/51 518s ok 1720 /checksum/SHA512/reset/52 518s ok 1721 /checksum/SHA512/reset/53 518s ok 1722 /checksum/SHA512/reset/54 518s ok 1723 /checksum/SHA512/reset/55 518s ok 1724 /checksum/SHA512/reset/56 518s ok 1725 /checksum/SHA512/reset/57 518s ok 1726 /checksum/SHA512/reset/58 518s ok 1727 /checksum/SHA512/reset/59 518s ok 1728 /checksum/SHA512/reset/60 518s ok 1729 /checksum/SHA512/reset/61 518s ok 1730 /checksum/SHA512/reset/62 518s ok 1731 /checksum/SHA512/reset/63 518s ok 1732 /checksum/SHA512/reset/64 518s ok 1733 /checksum/SHA512/reset/65 518s ok 1734 /checksum/SHA512/reset/66 518s ok 1735 /checksum/SHA512/reset/67 518s ok 1736 /checksum/SHA512/reset/68 518s ok 1737 /checksum/SHA512/reset/69 518s ok 1738 /checksum/SHA512/reset/70 518s ok 1739 /checksum/SHA512/reset/71 518s ok 1740 /checksum/SHA512/reset/72 518s ok 1741 /checksum/SHA512/reset/73 518s ok 1742 /checksum/SHA512/reset/74 518s ok 1743 /checksum/SHA512/reset/75 518s ok 1744 /checksum/SHA512/reset/76 518s ok 1745 /checksum/SHA512/reset/77 518s ok 1746 /checksum/SHA512/reset/78 518s ok 1747 /checksum/SHA512/reset/79 518s ok 1748 /checksum/SHA512/reset/80 518s ok 1749 /checksum/SHA512/reset/81 518s ok 1750 /checksum/SHA512/reset/82 518s ok 1751 /checksum/SHA512/reset/83 518s ok 1752 /checksum/SHA512/reset/84 518s ok 1753 /checksum/SHA512/reset/85 518s ok 1754 /checksum/SHA512/reset/86 518s ok 1755 /checksum/SHA512/reset/87 518s ok 1756 /checksum/SHA512/reset/88 518s ok 1757 /checksum/SHA512/reset/89 518s ok 1758 /checksum/SHA512/reset/90 518s ok 1759 /checksum/SHA512/reset/91 518s ok 1760 /checksum/SHA512/reset/92 518s ok 1761 /checksum/SHA512/reset/93 518s ok 1762 /checksum/SHA512/reset/94 518s ok 1763 /checksum/SHA512/reset/95 518s ok 1764 /checksum/SHA512/reset/96 518s ok 1765 /checksum/SHA512/reset/97 518s ok 1766 /checksum/SHA512/reset/98 518s ok 1767 /checksum/SHA512/reset/99 518s ok 1768 /checksum/SHA512/reset/100 518s ok 1769 /checksum/SHA512/reset/101 518s ok 1770 /checksum/SHA512/reset/102 518s ok 1771 /checksum/SHA512/reset/103 518s ok 1772 /checksum/SHA512/reset/104 518s ok 1773 /checksum/SHA512/reset/105 518s ok 1774 /checksum/SHA512/reset/106 518s ok 1775 /checksum/SHA512/reset/107 518s ok 1776 /checksum/SHA512/reset/108 518s ok 1777 /checksum/SHA512/reset/109 518s ok 1778 /checksum/SHA512/reset/110 518s ok 1779 /checksum/SHA512/reset/111 518s ok 1780 /checksum/SHA512/reset/112 518s ok 1781 /checksum/SHA512/reset/113 518s ok 1782 /checksum/SHA512/reset/114 518s ok 1783 /checksum/SHA512/reset/115 518s ok 1784 /checksum/SHA512/reset/116 518s ok 1785 /checksum/SHA512/reset/117 518s ok 1786 /checksum/SHA512/reset/118 518s ok 1787 /checksum/SHA512/reset/119 518s ok 1788 /checksum/SHA512/reset/120 518s ok 1789 /checksum/SHA512/reset/121 518s ok 1790 /checksum/SHA512/reset/122 518s ok 1791 /checksum/SHA512/reset/123 518s ok 1792 /checksum/SHA512/reset/124 518s ok 1793 /checksum/SHA512/reset/125 518s ok 1794 /checksum/SHA512/reset/126 518s ok 1795 /checksum/SHA512/reset/127 518s ok 1796 /checksum/SHA512/reset/128 518s ok 1797 /checksum/SHA512/reset/129 518s ok 1798 /checksum/SHA512/reset/130 518s ok 1799 /checksum/SHA512/reset/131 518s ok 1800 /checksum/SHA512/reset/132 518s ok 1801 /checksum/SHA512/reset/133 518s ok 1802 /checksum/SHA512/reset/134 518s ok 1803 /checksum/SHA512/reset/135 518s ok 1804 /checksum/SHA512/reset/136 518s ok 1805 /checksum/SHA512/reset/137 518s ok 1806 /checksum/SHA512/reset/138 518s ok 1807 /checksum/SHA512/reset/139 518s ok 1808 /checksum/SHA512/reset/140 518s ok 1809 /checksum/SHA512/reset/141 518s ok 1810 /checksum/SHA512/reset/142 518s ok 1811 /checksum/SHA512/reset/143 518s ok 1812 /checksum/SHA512/reset/144 518s ok 1813 /checksum/SHA512/reset/145 518s ok 1814 /checksum/SHA512/reset/146 518s ok 1815 /checksum/SHA512/reset/147 518s ok 1816 /checksum/SHA512/reset/148 518s ok 1817 /checksum/SHA512/reset/149 518s ok 1818 /checksum/SHA512/reset/150 518s ok 1819 /checksum/SHA512/reset/151 518s ok 1820 /checksum/SHA512/reset/152 518s ok 1821 /checksum/SHA512/reset/153 518s ok 1822 /checksum/SHA512/reset/154 518s ok 1823 /checksum/SHA512/reset/155 518s ok 1824 /checksum/SHA512/reset/156 518s ok 1825 /checksum/SHA512/reset/157 518s ok 1826 /checksum/SHA512/reset/158 518s ok 1827 /checksum/SHA512/reset/159 518s ok 1828 /checksum/SHA512/reset/160 518s ok 1829 /checksum/SHA512/reset/161 518s ok 1830 /checksum/SHA512/reset/162 518s ok 1831 /checksum/SHA512/reset/163 518s ok 1832 /checksum/SHA512/reset/164 518s ok 1833 /checksum/SHA512/reset/165 518s ok 1834 /checksum/SHA512/reset/166 518s ok 1835 /checksum/SHA512/reset/167 518s ok 1836 /checksum/SHA512/reset/168 518s ok 1837 /checksum/SHA512/reset/169 518s ok 1838 /checksum/SHA512/reset/170 518s ok 1839 /checksum/SHA512/reset/171 518s ok 1840 /checksum/SHA512/reset/172 518s ok 1841 /checksum/SHA512/reset/173 518s ok 1842 /checksum/SHA512/reset/174 518s ok 1843 /checksum/SHA512/reset/175 518s ok 1844 /checksum/SHA512/reset/176 518s ok 1845 /checksum/SHA512/reset/177 518s ok 1846 /checksum/SHA512/reset/178 518s ok 1847 /checksum/SHA512/reset/179 518s ok 1848 /checksum/SHA512/reset/180 518s ok 1849 /checksum/SHA512/reset/181 518s ok 1850 /checksum/SHA512/reset/182 518s ok 1851 /checksum/SHA512/reset/183 518s # End of reset tests 518s # End of SHA512 tests 518s # End of checksum tests 518s ok - glib/checksum.test 518s # Running test: glib/network-monitor-race.test 518s TAP version 14 518s # random seed: R02Sfdeb34072285d32fa333a2d1a1d8662c 518s 1..1 518s # Start of network-monitor tests 518s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 519s # Executing: glib/network-monitor-race.test 520s ok 1 /network-monitor/create-in-thread 520s # slow test /network-monitor/create-in-thread executed in 2.11 secs 520s # End of network-monitor tests 520s ok - glib/network-monitor-race.test 520s # Running test: glib/rcbox.test 520s TAP version 14 520s # random seed: R02S1c3a5df64d75ad8e78942b0c0356f39d 520s 1..8 520s # Start of rcbox tests 520s ok 1 /rcbox/new 520s # global_point = 0x2aa07da0840 520s ok 2 /rcbox/release-full 520s # global_point_a = 0x2aa07da0840 520s # global_point_b = 0x2aa07da0800 520s ok 3 /rcbox/dup 520s ok 4 /rcbox/alignment 520s # End of rcbox tests 520s # Start of atomic-rcbox tests 520s ok 5 /atomic-rcbox/new 520s # global_point = 0x2aa07da0a10 520s ok 6 /atomic-rcbox/release-full 520s # global_point_a = 0x2aa07da0a10 520s # global_point_b = 0x2aa07da09d0 520s ok 7 /atomic-rcbox/dup 520s ok 8 /atomic-rcbox/alignment 520s # End of atomic-rcbox tests 520s ok - glib/rcbox.test 520s # Running test: glib/notify-init2.test 520s TAP version 14 520s # random seed: R02S52d4be6dca805824e1c348b06a8a2343 520s 1..1 520s # Start of properties tests 520s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 520s ok 1 /properties/notify-in-init2 520s # End of properties tests 520s ok - glib/notify-init2.test 520s # Running test: glib/trash.test 520s TAP version 14 520s # random seed: R02S4f6af88e0771965c29dbb27676269b05 520s 1..3 520s # Start of trash tests 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 520s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 520s # File: /tmp/test-trashX0KAX2 (parent st_dev: 64769) 520s # Home: /home/ubuntu (st_dev: 64769) 520s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 520s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 520s ok 3 /trash/long-filename 520s # End of trash tests 520s ok - glib/trash.test 520s # Running test: glib/messages-low-memory.py.test 520s TAP version 13 520s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 520s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 520s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 520s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Return code: -6 520s # Output: 520s # Error: GLib-Message: 11:30:54.239: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 520s # GLib-Message: 11:30:54.239: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 520s # ../../../glib/gprintf.c:350: failed to allocate memory 520s 1..1 520s ok - glib/messages-low-memory.py.test 520s # Running test: glib/cxx-11.test 520s TAP version 14 520s # random seed: R02S4927f298186f0648e07e84e0d47547b9 520s 1..2 520s # Start of gtask tests 520s # 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. 520s ok 1 /gtask/name 520s # Start of name tests 520s # 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. 520s ok 2 /gtask/name/macro-wrapper 520s # End of name tests 520s # End of gtask tests 520s ok - glib/cxx-11.test 520s # Running test: glib/portal-support-none.test 520s TAP version 14 520s # random seed: R02S8c727dfcfd652129c3aff98d07117edb 520s 1..1 520s # Start of portal-support tests 520s ok 1 /portal-support/none 520s # End of portal-support tests 520s ok - glib/portal-support-none.test 520s # Running test: glib/gdbus-serialization.test 520s TAP version 14 520s # random seed: R02S364b20f5e84169e7cb335e6afbfa37f0 520s 1..18 520s # Start of gdbus tests 520s # Start of message-serialize tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/basic/.dirs/runtime 520s ok 1 /gdbus/message-serialize/basic 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/complex/.dirs/runtime 520s ok 2 /gdbus/message-serialize/complex 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/invalid/.dirs/runtime 520s ok 3 /gdbus/message-serialize/invalid 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/.dirs/runtime 520s ok 4 /gdbus/message-serialize/header-checks 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/double-array/.dirs/runtime 520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 520s ok 5 /gdbus/message-serialize/double-array 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/empty-structure/.dirs/runtime 520s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 520s ok 6 /gdbus/message-serialize/empty-structure 520s # Start of header-checks tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 520s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 520s ok 7 /gdbus/message-serialize/header-checks/valid 520s # End of header-checks tests 520s # End of message-serialize tests 520s # Start of message-parse tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 520s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/non-signature-header/.dirs/runtime 520s ok 9 /gdbus/message-parse/non-signature-header 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-signature-header/.dirs/runtime 520s ok 10 /gdbus/message-parse/empty-signature-header 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 520s ok 11 /gdbus/message-parse/multiple-signature-header 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 520s ok 12 /gdbus/message-parse/over-long-signature-header 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 520s ok 13 /gdbus/message-parse/deep-header-nesting 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 520s ok 14 /gdbus/message-parse/deep-body-nesting 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/truncated/.dirs/runtime 520s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 520s ok 15 /gdbus/message-parse/truncated 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/empty-structure/.dirs/runtime 520s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 520s ok 16 /gdbus/message-parse/empty-structure 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/missing-header/.dirs/runtime 520s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 520s ok 17 /gdbus/message-parse/missing-header 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QDAAX2/gdbus/message-parse/invalid-header-type/.dirs/runtime 520s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 520s ok 18 /gdbus/message-parse/invalid-header-type 520s # End of message-parse tests 520s # End of gdbus tests 520s ok - glib/gdbus-serialization.test 520s # Running test: glib/bindinggroup.test 520s TAP version 14 520s # random seed: R02Sb1dc5bb09fdea80a47468d2fce061914 520s 1..11 520s # Start of GObject tests 520s # Start of BindingGroup tests 520s ok 1 /GObject/BindingGroup/invalid 520s ok 2 /GObject/BindingGroup/default 520s ok 3 /GObject/BindingGroup/bidirectional 520s ok 4 /GObject/BindingGroup/transform 520s ok 5 /GObject/BindingGroup/transform-closures 520s ok 6 /GObject/BindingGroup/same-object 520s ok 7 /GObject/BindingGroup/weak-ref-source 520s ok 8 /GObject/BindingGroup/weak-ref-target 520s ok 9 /GObject/BindingGroup/properties 520s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 520s ok 11 /GObject/BindingGroup/empty-closures 520s # End of BindingGroup tests 520s # End of GObject tests 520s ok - glib/bindinggroup.test 520s # Running test: glib/boxed.test 520s TAP version 14 520s # random seed: R02S8f3800e2e2b5c10dcc9d07dd806950e1 520s 1..27 520s # Start of boxed tests 520s ok 1 /boxed/define 520s ok 2 /boxed/ownership 520s ok 3 /boxed/closure 520s ok 4 /boxed/date 520s ok 5 /boxed/value 520s ok 6 /boxed/string 520s ok 7 /boxed/hashtable 520s ok 8 /boxed/array 520s ok 9 /boxed/ptrarray 520s ok 10 /boxed/regex 520s ok 11 /boxed/varianttype 520s ok 12 /boxed/error 520s ok 13 /boxed/datetime 520s ok 14 /boxed/matchinfo 520s ok 15 /boxed/keyfile 520s ok 16 /boxed/mainloop 520s ok 17 /boxed/maincontext 520s ok 18 /boxed/source 520s ok 19 /boxed/variantbuilder 520s ok 20 /boxed/timezone 520s ok 21 /boxed/pollfd 520s ok 22 /boxed/markup 520s ok 23 /boxed/thread 520s ok 24 /boxed/checksum 520s ok 25 /boxed/tree 520s ok 26 /boxed/patternspec 520s ok 27 /boxed/rand 520s # End of boxed tests 520s ok - glib/boxed.test 520s # Running test: glib/portal-support-flatpak-network-only.test 520s TAP version 14 520s # random seed: R02S55176f63a4836dabec2cc935f04165d6 520s 1..1 520s # Start of portal-support tests 520s # Start of flatpak tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/runtime 520s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_K5T0W2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 520s ok 1 /portal-support/flatpak/network 520s # End of flatpak tests 520s # End of portal-support tests 520s ok - glib/portal-support-flatpak-network-only.test 520s # Running test: glib/gobject-query.py.test 520s TAP version 13 520s ok 1 __main__.TestGobjectQuery.test_froots 520s # gobject-query: /usr/bin/gobject-query 520s # Running: ['/usr/bin/gobject-query', 'froots'] 520s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: ├void 520s # ├GInterface 520s # │ └GTypePlugin 520s # ├gchar 520s # ├guchar 520s # ├gboolean 520s # ├gint 520s # ├guint 520s # ├glong 520s # ├gulong 520s # ├gint64 520s # ├guint64 520s # ├GEnum 520s # ├GFlags 520s # ├gfloat 520s # ├gdouble 520s # ├gchararray 520s # ├gpointer 520s # │ └GType 520s # ├GBoxed 520s # │ └GValueArray 520s # ├GParam 520s # │ ├GParamChar 520s # │ ├GParamUChar 520s # │ ├GParamBoolean 520s # │ ├GParamInt 520s # │ ├GParamUInt 520s # │ ├GParamLong 520s # │ ├GParamULong 520s # │ ├GParamInt64 520s # │ ├GParamUInt64 520s # │ ├GParamUnichar 520s # │ ├GParamEnum 520s # │ ├GParamFlags 520s # │ ├GParamFloat 520s # │ ├GParamDouble 520s # │ ├GParamString 520s # │ ├GParamParam 520s # │ ├GParamBoxed 520s # │ ├GParamPointer 520s # │ ├GParamValueArray 520s # │ ├GParamObject 520s # │ ├GParamOverride 520s # │ ├GParamGType 520s # │ └GParamVariant 520s # ├GObject 520s # └GVariant 520s ok 2 __main__.TestGobjectQuery.test_help 520s # gobject-query: /usr/bin/gobject-query 520s # Running: ['/usr/bin/gobject-query', '--help'] 520s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 520s # -r specify root type 520s # -n don't descend type tree 520s # -h show help 520s # -b specify indent string 520s # -i specify incremental indent string 520s # -s specify line spacing 520s # qualifiers: 520s # froots iterate over fundamental roots 520s # tree print type tree 520s ok 3 __main__.TestGobjectQuery.test_tree 520s # gobject-query: /usr/bin/gobject-query 520s # Running: ['/usr/bin/gobject-query', 'tree'] 520s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: GObject 520s ok 4 __main__.TestGobjectQuery.test_version 520s # gobject-query: /usr/bin/gobject-query 520s # Running: ['/usr/bin/gobject-query', '--version'] 520s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 520s # Output: 2.82.1 520s 1..4 520s ok - glib/gobject-query.py.test 520s # Running test: glib/threadtests.test 520s TAP version 14 520s # random seed: R02S1e8189a0d41b4e3a3822b4d4fea6e39a 520s 1..5 520s # Start of GObject tests 520s ok 1 /GObject/threaded-object-init 521s ok 2 /GObject/threaded-weak-ref 521s # slow test /GObject/threaded-weak-ref executed in 0.80 secs 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 521s # /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 521s ok 3 /GObject/threaded-toggle-notify 521s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 521s # Start of threaded-weak-ref tests 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 521s # /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. 521s ok 5 /GObject/threaded-weak-ref/on-finalization 521s # End of threaded-weak-ref tests 521s # End of GObject tests 521s ok - glib/threadtests.test 521s # Running test: glib/gdbus-connection-loss.test 521s TAP version 14 521s # random seed: R02S5838b1ae2261d501c7b013053d796ac2 521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 521s 1..1 521s # Start of gdbus tests 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_A9CAX2/gdbus/connection-loss/.dirs/runtime 521s ok 1 /gdbus/connection-loss 521s # End of gdbus tests 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s ok - glib/gdbus-connection-loss.test 521s # Running test: glib/permission.test 521s TAP version 14 521s # random seed: R02S3822aa65367c21c0cab708ca9f8bbf63 521s 1..1 521s # Start of permission tests 521s ok 1 /permission/simple 521s # End of permission tests 521s ok - glib/permission.test 521s # Running test: glib/gdbus-test-codegen.test 521s TAP version 14 521s # random seed: R02Sf2721eca007f105d3375dbf15e4202c7 521s 1..8 521s # Start of gdbus tests 521s # Start of codegen tests 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/annotations/.dirs/runtime 521s ok 1 /gdbus/codegen/annotations 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/interface_stability/.dirs/runtime 521s ok 2 /gdbus/codegen/interface_stability 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/object-manager/.dirs/runtime 521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 521s ok 3 /gdbus/codegen/object-manager 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/property-naming/.dirs/runtime 521s ok 4 /gdbus/codegen/property-naming 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/autocleanups/.dirs/runtime 521s ok 5 /gdbus/codegen/autocleanups 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/deprecations/.dirs/runtime 521s ok 6 /gdbus/codegen/deprecations 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 521s ok 7 /gdbus/codegen/standalone-interface-info 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Z9J1W2/gdbus/codegen/unix-fd-list/.dirs/runtime 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 521s ok 8 /gdbus/codegen/unix-fd-list 521s # End of codegen tests 521s # End of gdbus tests 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 521s ok - glib/gdbus-test-codegen.test 521s # Running test: glib/reference.test 521s TAP version 14 521s # random seed: R02Sea76c25502119ba1bb6aaa84e33e4d16 521s 1..29 521s # Start of type tests 521s ok 1 /type/fundamentals 521s ok 2 /type/qdata 521s ok 3 /type/query 521s ok 4 /type/class-private 521s # End of type tests 521s # Start of object tests 521s ok 5 /object/clear 521s ok 6 /object/clear-function 521s ok 7 /object/set 521s ok 8 /object/set-function 521s ok 9 /object/value 521s ok 10 /object/initially-unowned 521s ok 11 /object/weak-pointer 521s ok 12 /object/weak-ref 521s ok 13 /object/toggle-ref 521s ok 14 /object/qdata 521s ok 15 /object/qdata2 521s # Start of set tests 521s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 521s ok 16 /object/set/derived-type 521s # End of set tests 521s # Start of weak-pointer tests 521s ok 17 /object/weak-pointer/clear 521s ok 18 /object/weak-pointer/clear-function 521s ok 19 /object/weak-pointer/set 521s ok 20 /object/weak-pointer/set-function 521s # End of weak-pointer tests 521s # Start of weak-ref tests 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 521s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 521s ok 21 /object/weak-ref/on-dispose 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 521s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 521s ok 22 /object/weak-ref/on-run-dispose 521s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 521s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 521s ok 23 /object/weak-ref/on-toggle-notify 521s ok 24 /object/weak-ref/in-toggle-notify 521s ok 25 /object/weak-ref/many 521s # Start of concurrent tests 521s ok 26 /object/weak-ref/concurrent/0 521s ok 27 /object/weak-ref/concurrent/1 521s # End of concurrent tests 521s # End of weak-ref tests 521s # Start of toggle-ref tests 521s ok 28 /object/toggle-ref/ref-on-dispose 521s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 521s # End of toggle-ref tests 521s # End of object tests 521s ok - glib/reference.test 521s # Running test: glib/module-test-library.test 521s TAP version 14 521s # random seed: R02S960a1ad82b97ba9af96458b9f2acf308 521s 1..3 521s # Start of module tests 521s ok 1 /module/basics 521s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 521s ok 2 /module/invalid-libtool-archive 521s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 521s ok 3 /module/local-binding 521s # End of module tests 521s ok - glib/module-test-library.test 521s # Running test: glib/g-file.test 521s TAP version 14 521s # random seed: R02Se051b9abe7aded181ae1f5aa33030ea0 521s 1..8 521s # Start of g-file tests 521s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 521s ok 1 /g-file/test_g_file_new_null 521s ok 2 /g-file/test_g_file_new_for_path 521s ok 3 /g-file/test_g_file_new_for_uri 521s ok 4 /g-file/test_g_file_dup 521s ok 5 /g-file/test_g_file_get_parse_name_utf8 521s file:///tmp/test-tmp-glib_g-file.test-5EQ2W2 521s file:///tmp 521s file:///tmp 521s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 521s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 521s ok 6 /g-file/test_g_file_new_for_commandline_arg 521s /dir1 /dir1/dir2/dir3/ 521s /dir1/ /dir1/dir2/dir3/ 521s /dir1 /dir1/dir2/dir3 521s /dir1/ /dir1/dir2/dir3 521s /tmp/ /something/ 521s /dir1/dir2 /dir1/ 521s //dir1/new //dir1/new/dir2/dir3 521s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 521s file:///dir1 file:///dir1/dir2/dir3/ 521s file:///dir1/ file:///dir1/dir2/dir3/ 521s file:///dir1 file:///dir1/dir2/dir3 521s file:///dir1/ file:///dir1/dir2/dir3 521s file:///tmp/ file:///something/ 521s file:///dir1/dir2 file:///dir1/ 521s file:////dir1/new file:////dir1/new/dir2/dir3 521s 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 521s ok 7 /g-file/test_g_file_has_prefix 521s ok 8 /g-file/test_g_file_get_parent_child 521s # End of g-file tests 521s ok - glib/g-file.test 521s # Running test: glib/scannerapi.test 521s TAP version 14 521s # random seed: R02Sd00edc6c2c064c0816b4b778372d779d 521s 1..4 521s # Start of scanner tests 521s ok 1 /scanner/warn 521s ok 2 /scanner/error 521s ok 3 /scanner/symbols 521s ok 4 /scanner/tokens 521s # End of scanner tests 521s ok - glib/scannerapi.test 521s # Running test: glib/slist.test 521s TAP version 14 521s # random seed: R02S8a0a4b8dbfb4e87e53cbacad538eb5c2 521s 1..14 521s # Start of slist tests 521s ok 1 /slist/sort 521s ok 2 /slist/sort-with-data 521s ok 3 /slist/insert-sorted 521s ok 4 /slist/insert-sorted-with-data 521s ok 5 /slist/reverse 521s ok 6 /slist/nth 521s ok 7 /slist/remove 521s ok 8 /slist/remove-all 521s ok 9 /slist/insert 521s ok 10 /slist/position 521s ok 11 /slist/concat 521s ok 12 /slist/copy 521s # Start of sort tests 521s ok 13 /slist/sort/stable 521s # End of sort tests 521s # Start of copy tests 521s ok 14 /slist/copy/deep 521s # End of copy tests 521s # End of slist tests 521s ok - glib/slist.test 521s # Running test: glib/gdbus-proxy-threads.test 521s TAP version 14 521s # random seed: R02S207d741b9e7fcce8a0de7fd8082d451a 521s 1..1 521s # Start of gdbus tests 521s # Start of proxy tests 521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/home 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/cache 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/system-config2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/config 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/system-data2 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/data 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/state 521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_T6V2W2/gdbus/proxy/vs-threads/.dirs/runtime 521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s ok 1 /gdbus/proxy/vs-threads 522s # slow test /gdbus/proxy/vs-threads executed in 0.62 secs 522s # End of proxy tests 522s # End of gdbus tests 522s cleaning up pid 12188 522s ok - glib/gdbus-proxy-threads.test 522s # Running test: glib/option-argv0.test 522s TAP version 14 522s # random seed: R02Se9195ac152d6d13a6afece8ce56b79e2 522s 1..1 522s # Start of option tests 522s ok 1 /option/argv0 522s # End of option tests 522s ok - glib/option-argv0.test 522s # Running test: glib/async-close-output-stream.test 522s TAP version 14 522s # random seed: R02Scdc000896d2a98e3755fc6ca7097a6d3 522s 1..3 522s # Start of close-async tests 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 522s ok 1 /close-async/without-flush 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 522s ok 2 /close-async/with-flush 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 522s ok 3 /close-async/with-async-flush 522s # End of close-async tests 522s ok - glib/async-close-output-stream.test 522s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 522s TAP version 14 522s # random seed: R02S91fdd515df4f71a49478be9a26d22b94 522s 1..8 522s # Start of gdbus tests 522s # Start of codegen tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/annotations/.dirs/runtime 522s ok 1 /gdbus/codegen/annotations 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/interface_stability/.dirs/runtime 522s ok 2 /gdbus/codegen/interface_stability 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/object-manager/.dirs/runtime 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s ok 3 /gdbus/codegen/object-manager 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/property-naming/.dirs/runtime 522s ok 4 /gdbus/codegen/property-naming 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/autocleanups/.dirs/runtime 522s ok 5 /gdbus/codegen/autocleanups 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/deprecations/.dirs/runtime 522s ok 6 /gdbus/codegen/deprecations 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 522s ok 7 /gdbus/codegen/standalone-interface-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_SZ45W2/gdbus/codegen/unix-fd-list/.dirs/runtime 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 522s ok 8 /gdbus/codegen/unix-fd-list 522s # End of codegen tests 522s # End of gdbus tests 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok - glib/gdbus-test-codegen-min-required-2-64.test 522s # Running test: glib/cancellable.test 522s TAP version 14 522s # random seed: R02Sf5ca335f9ca0beda904c830280c8364a 522s 1..10 522s # Start of cancellable tests 522s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 522s ok 2 /cancellable/null 522s # /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 522s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 522s # /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 522s ok 4 /cancellable/resets-on-cancel-callback-hangs 522s ok 5 /cancellable/poll-fd 522s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 522s ok 6 /cancellable/poll-fd-cancelled 522s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 522s ok 7 /cancellable/poll-fd-cancelled-threaded 522s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 522s ok 8 /cancellable/cancel-reset-races 522s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 522s ok 9 /cancellable/cancel-reset-connect-races 522s # End of cancellable tests 522s # Start of cancellable-source tests 522s # /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) 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 522s ok 10 /cancellable-source/threaded-dispose 522s # End of cancellable-source tests 522s ok - glib/cancellable.test 522s # Running test: glib/memory-monitor.test 522s TAP version 14 522s # random seed: R02S76c93721207686df5075f0b7ba192692 522s 1..1 522s # Start of memory-monitor tests 522s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 522s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 522s ok 1 /memory-monitor/default 522s # End of memory-monitor tests 522s ok - glib/memory-monitor.test 522s # Running test: glib/tls-certificate.test 522s TAP version 14 522s # random seed: R02S6fd429d26cd128cfb530e7f329cd55c7 522s 1..19 522s # Start of tls-certificate tests 522s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 522s ok 1 /tls-certificate/pem-parser 522s ok 2 /tls-certificate/pem-parser-handles-chain 522s ok 3 /tls-certificate/from_file 522s ok 4 /tls-certificate/from_files 522s ok 5 /tls-certificate/from_files_crlf 522s ok 6 /tls-certificate/from_files_pkcs8 522s ok 7 /tls-certificate/from_files_pkcs8enc 522s ok 8 /tls-certificate/list_from_file 522s ok 9 /tls-certificate/pkcs11-uri 522s ok 10 /tls-certificate/pkcs11-uri-unsupported 522s ok 11 /tls-certificate/from_pkcs12 522s ok 12 /tls-certificate/from_pkcs12_file 522s ok 13 /tls-certificate/not-valid-before 522s ok 14 /tls-certificate/not-valid-after 522s ok 15 /tls-certificate/subject-name 522s ok 16 /tls-certificate/issuer-name 522s ok 17 /tls-certificate/dns-names 522s ok 18 /tls-certificate/ip-addresses 522s ok 19 /tls-certificate/pem-parser-no-sentinel 522s # End of tls-certificate tests 522s ok - glib/tls-certificate.test 522s # Running test: glib/signalgroup.test 522s TAP version 14 522s # random seed: R02S0d2a607315255c13a7faadcddb21aef1 522s 1..9 522s # Start of GObject tests 522s # Start of SignalGroup tests 522s ok 1 /GObject/SignalGroup/invalid 522s ok 2 /GObject/SignalGroup/simple 522s ok 3 /GObject/SignalGroup/changing-target 522s ok 4 /GObject/SignalGroup/blocking 522s ok 5 /GObject/SignalGroup/weak-ref-target 522s ok 6 /GObject/SignalGroup/connect-object 522s ok 7 /GObject/SignalGroup/signal-parsing 522s ok 8 /GObject/SignalGroup/properties 522s ok 9 /GObject/SignalGroup/interface 522s # Start of signal-parsing tests 522s # End of signal-parsing tests 522s # End of SignalGroup tests 522s # End of GObject tests 522s ok - glib/signalgroup.test 522s # Running test: glib/vfs.test 522s TAP version 14 522s # random seed: R02S39a3ee9c4c35d2e9ba5f88e7b53f9791 522s 1..3 522s # Start of gvfs tests 522s ok 1 /gvfs/local 522s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 522s ok 2 /gvfs/register-scheme 522s # Start of resource tests 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 522s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 522s ok 3 /gvfs/resource/malformed-escaping 522s # End of resource tests 522s # End of gvfs tests 522s ok - glib/vfs.test 522s # Running test: glib/hash.test 522s TAP version 14 522s # random seed: R02S5ba8d55b546a0c9e6db2fd5ddf319972 522s 1..34 522s # Start of hash tests 522s ok 1 /hash/misc 522s ok 2 /hash/one 522s ok 3 /hash/honeyman 522s ok 4 /hash/direct 522s ok 5 /hash/direct2 522s ok 6 /hash/int 522s ok 7 /hash/int64 522s ok 8 /hash/double 522s ok 9 /hash/string 522s ok 10 /hash/set 522s ok 11 /hash/set-ref 522s ok 12 /hash/ref 522s ok 13 /hash/remove-all 522s ok 14 /hash/recursive-remove-all 522s ok 15 /hash/find 522s ok 16 /hash/foreach 522s ok 17 /hash/foreach-steal 522s ok 18 /hash/steal-extended 522s ok 19 /hash/steal-all-keys 522s ok 20 /hash/steal-all-values 522s ok 21 /hash/lookup-extended 522s ok 22 /hash/new-similar 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 522s ok 23 /hash/lookup-null-key 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 522s ok 24 /hash/destroy-modify 522s ok 25 /hash/consistency 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 522s ok 26 /hash/iter-replace 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 522s ok 27 /hash/set-insert-corruption 522s ok 28 /hash/set-to-strv 522s ok 29 /hash/get-keys-as-ptr-array 522s ok 30 /hash/get-values-as-ptr-array 522s ok 31 /hash/primes 522s # Start of int64 tests 522s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 522s ok 32 /hash/int64/collisions 522s # End of int64 tests 522s # Start of double tests 522s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 522s ok 33 /hash/double/collisions 522s # End of double tests 522s # Start of recursive-remove-all tests 522s # End of recursive-remove-all tests 522s # Start of steal-extended tests 522s ok 34 /hash/steal-extended/optional 522s # End of steal-extended tests 522s # End of hash tests 522s ok - glib/hash.test 522s # Running test: glib/include.test 522s TAP version 14 522s # random seed: R02S0c60f149ea1ab0f8034fcc84540021ca 522s 1..1 522s # Start of include tests 522s ok 1 /include/rwlock 522s # End of include tests 522s ok - glib/include.test 522s # Running test: glib/portal-support-env-var.test 522s TAP version 14 522s # random seed: R02S150f2c365a1fb100be18e0697b5d4184 522s 1..1 522s # Start of portal-support tests 522s ok 1 /portal-support/env-var 522s # End of portal-support tests 522s ok - glib/portal-support-env-var.test 522s # Running test: glib/properties-introspection.test 522s TAP version 14 522s # random seed: R02Se70113c4a8148138dfe8522bc724491a 522s 1..2 522s # Start of properties tests 522s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 522s ok 1 /properties/introspection 522s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 522s ok 2 /properties/collision 522s # End of properties tests 522s ok - glib/properties-introspection.test 522s # Running test: glib/cxx-2b.test 522s TAP version 14 522s # random seed: R02S83cc7dabbc330c1fcd36d1a8e9114150 522s 1..2 522s # Start of gtask tests 522s # 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. 522s ok 1 /gtask/name 522s # Start of name tests 522s # 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. 522s ok 2 /gtask/name/macro-wrapper 522s # End of name tests 522s # End of gtask tests 522s ok - glib/cxx-2b.test 522s # Running test: glib/string.test 522s TAP version 14 522s # random seed: R02Sb8a30a295ade80de4f6abbb5937b9102 522s 1..23 522s # Start of string tests 522s ok 1 /string/test-string-chunks 522s ok 2 /string/test-string-chunk-insert 522s ok 3 /string/test-string-new 522s ok 4 /string/test-string-printf 522s ok 5 /string/test-string-assign 522s ok 6 /string/test-string-append-c 522s ok 7 /string/test-string-append 522s ok 8 /string/test-string-append-vprintf 522s ok 9 /string/test-string-prepend-c 522s ok 10 /string/test-string-prepend 522s ok 11 /string/test-string-insert 522s ok 12 /string/test-string-insert-unichar 522s ok 13 /string/test-string-equal 522s ok 14 /string/test-string-truncate 522s ok 15 /string/test-string-overwrite 522s ok 16 /string/test-string-nul-handling 522s ok 17 /string/test-string-up-down 522s ok 18 /string/test-string-set-size 522s ok 19 /string/test-string-to-bytes 522s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 522s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 522s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 522s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 522s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 522s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 522s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 522s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 522s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 522s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 522s # 5: Replacing "o" with "" (limit 0) in "food for foals" 522s # -> 4 replacements, "fd fr fals" 522s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 522s # -> 3 replacements, "aaaaaaaaa" 522s # 7: Replacing "a" with "" (limit 0) in "aaa" 522s # -> 3 replacements, "" 522s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 522s # -> 1 replacements, "bba" 522s # 9: Replacing "" with "bar" (limit 0) in "foo" 522s # -> 4 replacements, "barfbarobarobar" 522s # 10: Replacing "" with "x" (limit 0) in "" 522s # -> 1 replacements, "x" 522s # 11: Replacing "" with "" (limit 0) in "" 522s # -> 1 replacements, "" 522s ok 20 /string/test-string-replace 522s ok 21 /string/test-string-steal 522s ok 22 /string/test-string-new-take 522s # Start of test-string-new-take tests 522s ok 23 /string/test-string-new-take/null 522s # End of test-string-new-take tests 522s # End of string tests 522s ok - glib/string.test 522s # Running test: glib/dir.test 522s TAP version 14 522s # random seed: R02Sb82086a860e233fb83a3f3f90d2c368e 522s 1..3 522s # Start of dir tests 522s ok 1 /dir/read 522s ok 2 /dir/nonexisting 522s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 522s ok 3 /dir/refcounting 522s # End of dir tests 522s ok - glib/dir.test 522s # Running test: glib/data-output-stream.test 522s TAP version 14 522s # random seed: R02S666af2ec0cafabffb7e50ff51beb0316 522s 1..7 522s # Start of data-output-stream tests 522s ok 1 /data-output-stream/basic 522s ok 2 /data-output-stream/write-lines-LF 522s ok 3 /data-output-stream/write-lines-CR 522s ok 4 /data-output-stream/write-lines-CR-LF 522s ok 5 /data-output-stream/write-int 522s ok 6 /data-output-stream/seek 522s ok 7 /data-output-stream/truncate 522s # End of data-output-stream tests 522s ok - glib/data-output-stream.test 522s # Running test: glib/autoptr-girepository.test 522s TAP version 14 522s # random seed: R02S47dc46a7303caf48964d9afe1e3145cc 522s 1..24 522s # Start of autoptr tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/repository/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 1 /autoptr/repository 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/typelib/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 2 /autoptr/typelib 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/base-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 3 /autoptr/base-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/arg-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 4 /autoptr/arg-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callable-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 5 /autoptr/callable-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/callback-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 6 /autoptr/callback-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/constant-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 7 /autoptr/constant-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/enum-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 8 /autoptr/enum-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/field-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 9 /autoptr/field-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/flags-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 10 /autoptr/flags-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/function-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 11 /autoptr/function-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/interface-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 12 /autoptr/interface-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/object-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 13 /autoptr/object-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/property-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 14 /autoptr/property-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/registered-type-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 15 /autoptr/registered-type-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/signal-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 16 /autoptr/signal-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/struct-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 17 /autoptr/struct-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/type-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 18 /autoptr/type-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/union-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 19 /autoptr/union-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/value-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 20 /autoptr/value-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/autoptr/vfunc-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 21 /autoptr/vfunc-info 522s # End of autoptr tests 522s # Start of auto tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/auto/arg-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 22 /auto/arg-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/auto/type-info/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 23 /auto/type-info 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_8GGDX2/auto/function-invoker/.dirs/runtime 522s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 522s ok 24 /auto/function-invoker 522s # End of auto tests 522s ok - glib/autoptr-girepository.test 522s # Running test: glib/gdbus-auth.test 522s TAP version 14 522s # random seed: R02S565f2641f427b51c39851499b350e037 522s 1..5 522s # Start of gdbus tests 522s # Start of auth tests 522s # Start of client tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/EXTERNAL/.dirs/runtime 522s ok 1 /gdbus/auth/client/EXTERNAL 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 522s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 522s # End of client tests 522s # Start of server tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 522s ok 3 /gdbus/auth/server/ANONYMOUS 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/EXTERNAL/.dirs/runtime 522s ok 4 /gdbus/auth/server/EXTERNAL 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Z2HDX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 522s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 522s # End of server tests 522s # End of auth tests 522s # End of gdbus tests 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok - glib/gdbus-auth.test 522s # Running test: glib/regex.test 522s TAP version 14 522s # random seed: R02Sf973f1b6c27ad8682703a7488d6ba65e 522s 1..848 522s # Start of regex tests 522s ok 1 /regex/properties 522s ok 2 /regex/class 522s ok 3 /regex/lookahead 522s ok 4 /regex/lookbehind 522s ok 5 /regex/subpattern 522s ok 6 /regex/condition 522s ok 7 /regex/recursion 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 522s ok 8 /regex/multiline 522s ok 9 /regex/explicit-crlf 522s ok 10 /regex/max-lookbehind 522s ok 11 /regex/compile-errors 522s ok 12 /regex/jit-unsupported-matching 522s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 522s ok 13 /regex/unmatched-named-subpattern 522s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 522s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 522s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 522s ok 14 /regex/compiled-regex-after-jit-failure 522s # Start of new tests 522s ok 15 /regex/new/1 522s ok 16 /regex/new/2 522s ok 17 /regex/new/3 522s ok 18 /regex/new/4 522s ok 19 /regex/new/5 522s ok 20 /regex/new/6 522s ok 21 /regex/new/7 522s ok 22 /regex/new/8 522s ok 23 /regex/new/9 522s ok 24 /regex/new/10 522s ok 25 /regex/new/11 522s ok 26 /regex/new/12 522s ok 27 /regex/new/13 522s ok 28 /regex/new/14 522s ok 29 /regex/new/15 522s ok 30 /regex/new/16 522s ok 31 /regex/new/17 522s ok 32 /regex/new/18 522s ok 33 /regex/new/19 522s ok 34 /regex/new/71 522s ok 35 /regex/new/80 522s ok 36 /regex/new/82 522s # End of new tests 522s # Start of new-check-flags tests 522s ok 37 /regex/new-check-flags/20 522s ok 38 /regex/new-check-flags/21 522s ok 39 /regex/new-check-flags/22 522s ok 40 /regex/new-check-flags/23 522s ok 41 /regex/new-check-flags/24 522s ok 42 /regex/new-check-flags/25 522s ok 43 /regex/new-check-flags/26 522s ok 44 /regex/new-check-flags/27 522s ok 45 /regex/new-check-flags/28 522s ok 46 /regex/new-check-flags/29 522s ok 47 /regex/new-check-flags/30 522s ok 48 /regex/new-check-flags/31 522s ok 49 /regex/new-check-flags/32 522s ok 50 /regex/new-check-flags/33 522s ok 51 /regex/new-check-flags/34 522s ok 52 /regex/new-check-flags/35 522s ok 53 /regex/new-check-flags/36 522s # End of new-check-flags tests 522s # Start of new-fail tests 522s ok 54 /regex/new-fail/37 522s ok 55 /regex/new-fail/38 522s ok 56 /regex/new-fail/39 522s ok 57 /regex/new-fail/40 522s ok 58 /regex/new-fail/41 522s ok 59 /regex/new-fail/42 522s ok 60 /regex/new-fail/43 522s ok 61 /regex/new-fail/44 522s ok 62 /regex/new-fail/45 522s ok 63 /regex/new-fail/46 522s ok 64 /regex/new-fail/47 522s ok 65 /regex/new-fail/48 522s ok 66 /regex/new-fail/49 522s ok 67 /regex/new-fail/50 522s ok 68 /regex/new-fail/51 522s ok 69 /regex/new-fail/52 522s ok 70 /regex/new-fail/53 522s ok 71 /regex/new-fail/54 522s ok 72 /regex/new-fail/55 522s ok 73 /regex/new-fail/56 522s ok 74 /regex/new-fail/57 522s ok 75 /regex/new-fail/58 522s ok 76 /regex/new-fail/59 522s ok 77 /regex/new-fail/60 522s ok 78 /regex/new-fail/61 522s ok 79 /regex/new-fail/62 522s ok 80 /regex/new-fail/63 522s ok 81 /regex/new-fail/64 522s ok 82 /regex/new-fail/65 522s ok 83 /regex/new-fail/66 522s ok 84 /regex/new-fail/67 522s ok 85 /regex/new-fail/68 522s ok 86 /regex/new-fail/69 522s ok 87 /regex/new-fail/70 522s ok 88 /regex/new-fail/72 522s ok 89 /regex/new-fail/73 522s ok 90 /regex/new-fail/74 522s ok 91 /regex/new-fail/75 522s ok 92 /regex/new-fail/76 522s ok 93 /regex/new-fail/77 522s ok 94 /regex/new-fail/78 522s ok 95 /regex/new-fail/79 522s ok 96 /regex/new-fail/81 522s ok 97 /regex/new-fail/83 522s ok 98 /regex/new-fail/84 522s ok 99 /regex/new-fail/85 522s ok 100 /regex/new-fail/86 522s ok 101 /regex/new-fail/87 522s ok 102 /regex/new-fail/88 522s ok 103 /regex/new-fail/89 522s ok 104 /regex/new-fail/90 522s ok 105 /regex/new-fail/91 522s # End of new-fail tests 522s # Start of match-simple tests 522s ok 106 /regex/match-simple/92 522s ok 107 /regex/match-simple/93 522s ok 108 /regex/match-simple/94 522s ok 109 /regex/match-simple/95 522s ok 110 /regex/match-simple/96 522s ok 111 /regex/match-simple/97 522s ok 112 /regex/match-simple/98 522s ok 113 /regex/match-simple/99 522s ok 114 /regex/match-simple/100 522s ok 115 /regex/match-simple/101 522s ok 116 /regex/match-simple/102 522s ok 117 /regex/match-simple/103 522s ok 118 /regex/match-simple/104 522s ok 119 /regex/match-simple/105 522s ok 120 /regex/match-simple/106 522s ok 121 /regex/match-simple/107 522s ok 122 /regex/match-simple/108 522s ok 123 /regex/match-simple/109 522s ok 124 /regex/match-simple/110 522s ok 125 /regex/match-simple/111 522s ok 126 /regex/match-simple/112 522s ok 127 /regex/match-simple/113 522s ok 128 /regex/match-simple/114 522s ok 129 /regex/match-simple/115 522s ok 130 /regex/match-simple/116 522s ok 131 /regex/match-simple/117 522s ok 132 /regex/match-simple/118 522s ok 133 /regex/match-simple/119 522s ok 134 /regex/match-simple/120 522s ok 135 /regex/match-simple/121 523s ok 136 /regex/match-simple/122 523s ok 137 /regex/match-simple/123 523s ok 138 /regex/match-simple/124 523s ok 139 /regex/match-simple/125 523s ok 140 /regex/match-simple/126 523s ok 141 /regex/match-simple/127 523s ok 142 /regex/match-simple/128 523s ok 143 /regex/match-simple/129 523s ok 144 /regex/match-simple/130 523s ok 145 /regex/match-simple/131 523s ok 146 /regex/match-simple/132 523s ok 147 /regex/match-simple/133 523s ok 148 /regex/match-simple/134 523s ok 149 /regex/match-simple/135 523s ok 150 /regex/match-simple/136 523s ok 151 /regex/match-simple/137 523s ok 152 /regex/match-simple/138 523s ok 153 /regex/match-simple/139 523s ok 154 /regex/match-simple/140 523s ok 155 /regex/match-simple/141 523s ok 156 /regex/match-simple/142 523s ok 157 /regex/match-simple/143 523s ok 158 /regex/match-simple/144 523s ok 159 /regex/match-simple/145 523s ok 160 /regex/match-simple/146 523s ok 161 /regex/match-simple/147 523s ok 162 /regex/match-simple/148 523s ok 163 /regex/match-simple/149 523s ok 164 /regex/match-simple/150 523s ok 165 /regex/match-simple/151 523s ok 166 /regex/match-simple/152 523s ok 167 /regex/match-simple/153 523s ok 168 /regex/match-simple/154 523s ok 169 /regex/match-simple/155 523s ok 170 /regex/match-simple/156 523s ok 171 /regex/match-simple/157 523s ok 172 /regex/match-simple/158 523s ok 173 /regex/match-simple/159 523s ok 174 /regex/match-simple/160 523s ok 175 /regex/match-simple/161 523s ok 176 /regex/match-simple/162 523s ok 177 /regex/match-simple/163 523s ok 178 /regex/match-simple/164 523s # End of match-simple tests 523s # Start of match-simple-optimized tests 523s ok 179 /regex/match-simple-optimized/92 523s ok 180 /regex/match-simple-optimized/93 523s ok 181 /regex/match-simple-optimized/94 523s ok 182 /regex/match-simple-optimized/95 523s ok 183 /regex/match-simple-optimized/96 523s ok 184 /regex/match-simple-optimized/97 523s ok 185 /regex/match-simple-optimized/98 523s ok 186 /regex/match-simple-optimized/99 523s ok 187 /regex/match-simple-optimized/100 523s ok 188 /regex/match-simple-optimized/101 523s ok 189 /regex/match-simple-optimized/102 523s ok 190 /regex/match-simple-optimized/103 523s ok 191 /regex/match-simple-optimized/104 523s ok 192 /regex/match-simple-optimized/105 523s ok 193 /regex/match-simple-optimized/106 523s ok 194 /regex/match-simple-optimized/107 523s ok 195 /regex/match-simple-optimized/108 523s ok 196 /regex/match-simple-optimized/109 523s ok 197 /regex/match-simple-optimized/110 523s ok 198 /regex/match-simple-optimized/111 523s ok 199 /regex/match-simple-optimized/112 523s ok 200 /regex/match-simple-optimized/113 523s ok 201 /regex/match-simple-optimized/114 523s ok 202 /regex/match-simple-optimized/115 523s ok 203 /regex/match-simple-optimized/116 523s ok 204 /regex/match-simple-optimized/117 523s ok 205 /regex/match-simple-optimized/118 523s ok 206 /regex/match-simple-optimized/119 523s ok 207 /regex/match-simple-optimized/120 523s ok 208 /regex/match-simple-optimized/121 523s ok 209 /regex/match-simple-optimized/122 523s ok 210 /regex/match-simple-optimized/123 523s ok 211 /regex/match-simple-optimized/124 523s ok 212 /regex/match-simple-optimized/125 523s ok 213 /regex/match-simple-optimized/126 523s ok 214 /regex/match-simple-optimized/127 523s ok 215 /regex/match-simple-optimized/128 523s ok 216 /regex/match-simple-optimized/129 523s ok 217 /regex/match-simple-optimized/130 523s ok 218 /regex/match-simple-optimized/131 523s ok 219 /regex/match-simple-optimized/132 523s ok 220 /regex/match-simple-optimized/133 523s ok 221 /regex/match-simple-optimized/134 523s ok 222 /regex/match-simple-optimized/135 523s ok 223 /regex/match-simple-optimized/136 523s ok 224 /regex/match-simple-optimized/137 523s ok 225 /regex/match-simple-optimized/138 523s ok 226 /regex/match-simple-optimized/139 523s ok 227 /regex/match-simple-optimized/140 523s ok 228 /regex/match-simple-optimized/141 523s ok 229 /regex/match-simple-optimized/142 523s ok 230 /regex/match-simple-optimized/143 523s ok 231 /regex/match-simple-optimized/144 523s ok 232 /regex/match-simple-optimized/145 523s ok 233 /regex/match-simple-optimized/146 523s ok 234 /regex/match-simple-optimized/147 523s ok 235 /regex/match-simple-optimized/148 523s ok 236 /regex/match-simple-optimized/149 523s ok 237 /regex/match-simple-optimized/150 523s ok 238 /regex/match-simple-optimized/151 523s ok 239 /regex/match-simple-optimized/152 523s ok 240 /regex/match-simple-optimized/153 523s ok 241 /regex/match-simple-optimized/154 523s ok 242 /regex/match-simple-optimized/155 523s ok 243 /regex/match-simple-optimized/156 523s ok 244 /regex/match-simple-optimized/157 523s ok 245 /regex/match-simple-optimized/158 523s ok 246 /regex/match-simple-optimized/159 523s ok 247 /regex/match-simple-optimized/160 523s ok 248 /regex/match-simple-optimized/161 523s ok 249 /regex/match-simple-optimized/162 523s ok 250 /regex/match-simple-optimized/163 523s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 523s ok 251 /regex/match-simple-optimized/164 523s # End of match-simple-optimized tests 523s # Start of match tests 523s ok 252 /regex/match/165 523s ok 253 /regex/match/166 523s ok 254 /regex/match/167 523s ok 255 /regex/match/168 523s ok 256 /regex/match/169 523s ok 257 /regex/match/170 523s ok 258 /regex/match/171 523s ok 259 /regex/match/172 523s ok 260 /regex/match/173 523s ok 261 /regex/match/174 523s ok 262 /regex/match/175 523s ok 263 /regex/match/176 523s ok 264 /regex/match/177 523s ok 265 /regex/match/178 523s ok 266 /regex/match/179 523s ok 267 /regex/match/180 523s ok 268 /regex/match/181 523s ok 269 /regex/match/182 523s ok 270 /regex/match/183 523s ok 271 /regex/match/184 523s ok 272 /regex/match/185 523s ok 273 /regex/match/186 523s ok 274 /regex/match/187 523s ok 275 /regex/match/188 523s ok 276 /regex/match/189 523s ok 277 /regex/match/190 523s ok 278 /regex/match/191 523s ok 279 /regex/match/192 523s ok 280 /regex/match/193 523s ok 281 /regex/match/194 523s ok 282 /regex/match/195 523s ok 283 /regex/match/196 523s ok 284 /regex/match/197 523s ok 285 /regex/match/198 523s ok 286 /regex/match/199 523s ok 287 /regex/match/200 523s ok 288 /regex/match/201 523s ok 289 /regex/match/202 523s ok 290 /regex/match/203 523s ok 291 /regex/match/204 523s ok 292 /regex/match/205 523s ok 293 /regex/match/206 523s ok 294 /regex/match/207 523s ok 295 /regex/match/208 523s ok 296 /regex/match/209 523s ok 297 /regex/match/210 523s ok 298 /regex/match/211 523s ok 299 /regex/match/212 523s ok 300 /regex/match/213 523s ok 301 /regex/match/214 523s ok 302 /regex/match/215 523s ok 303 /regex/match/216 523s ok 304 /regex/match/217 523s ok 305 /regex/match/218 523s ok 306 /regex/match/219 523s ok 307 /regex/match/220 523s ok 308 /regex/match/221 523s ok 309 /regex/match/222 523s ok 310 /regex/match/223 523s ok 311 /regex/match/224 523s ok 312 /regex/match/225 523s ok 313 /regex/match/226 523s ok 314 /regex/match/227 523s ok 315 /regex/match/228 523s ok 316 /regex/match/229 523s ok 317 /regex/match/230 523s ok 318 /regex/match/231 523s ok 319 /regex/match/232 523s ok 320 /regex/match/233 523s ok 321 /regex/match/234 523s ok 322 /regex/match/235 523s ok 323 /regex/match/236 523s ok 324 /regex/match/237 523s ok 325 /regex/match/238 523s ok 326 /regex/match/239 523s ok 327 /regex/match/240 523s ok 328 /regex/match/241 523s ok 329 /regex/match/242 523s ok 330 /regex/match/243 523s ok 331 /regex/match/244 523s ok 332 /regex/match/245 523s ok 333 /regex/match/246 523s ok 334 /regex/match/partial281 523s ok 335 /regex/match/partial282 523s ok 336 /regex/match/partial283 523s ok 337 /regex/match/partial284 523s ok 338 /regex/match/partial285 523s ok 339 /regex/match/partial286 523s ok 340 /regex/match/partial287 523s ok 341 /regex/match/partial288 523s ok 342 /regex/match/partial289 523s ok 343 /regex/match/partial290 523s ok 344 /regex/match/partial291 523s ok 345 /regex/match/partial292 523s ok 346 /regex/match/partial293 523s ok 347 /regex/match/partial294 523s ok 348 /regex/match/partial295 523s ok 349 /regex/match/partial296 523s ok 350 /regex/match/partial297 523s ok 351 /regex/match/partial298 523s ok 352 /regex/match/partial299 523s ok 353 /regex/match/partial300 523s ok 354 /regex/match/partial301 523s ok 355 /regex/match/partial302 523s # Start of next0 tests 523s ok 356 /regex/match/next0/247 523s ok 357 /regex/match/next0/248 523s ok 358 /regex/match/next0/249 523s ok 359 /regex/match/next0/250 523s # End of next0 tests 523s # Start of next1 tests 523s ok 360 /regex/match/next1/251 523s ok 361 /regex/match/next1/252 523s ok 362 /regex/match/next1/253 523s ok 363 /regex/match/next1/254 523s ok 364 /regex/match/next1/255 523s # End of next1 tests 523s # Start of next2 tests 523s ok 365 /regex/match/next2/256 523s ok 366 /regex/match/next2/257 523s ok 367 /regex/match/next2/258 523s ok 368 /regex/match/next2/259 523s ok 369 /regex/match/next2/260 523s ok 370 /regex/match/next2/261 523s ok 371 /regex/match/next2/262 523s ok 372 /regex/match/next2/263 523s # End of next2 tests 523s # Start of next3 tests 523s ok 373 /regex/match/next3/264 523s ok 374 /regex/match/next3/265 523s ok 375 /regex/match/next3/266 523s ok 376 /regex/match/next3/267 523s ok 377 /regex/match/next3/268 523s ok 378 /regex/match/next3/269 523s # End of next3 tests 523s # Start of next4 tests 523s ok 379 /regex/match/next4/270 523s # End of next4 tests 523s # Start of count tests 523s ok 380 /regex/match/count/271 523s ok 381 /regex/match/count/272 523s ok 382 /regex/match/count/273 523s ok 383 /regex/match/count/274 523s ok 384 /regex/match/count/275 523s ok 385 /regex/match/count/276 523s ok 386 /regex/match/count/277 523s ok 387 /regex/match/count/278 523s ok 388 /regex/match/count/279 523s ok 389 /regex/match/count/280 523s # End of count tests 523s # Start of count-optimized tests 523s ok 390 /regex/match/count-optimized/271 523s ok 391 /regex/match/count-optimized/272 523s ok 392 /regex/match/count-optimized/273 523s ok 393 /regex/match/count-optimized/274 523s ok 394 /regex/match/count-optimized/275 523s ok 395 /regex/match/count-optimized/276 523s ok 396 /regex/match/count-optimized/277 523s ok 397 /regex/match/count-optimized/278 523s ok 398 /regex/match/count-optimized/279 523s ok 399 /regex/match/count-optimized/280 523s # End of count-optimized tests 523s # Start of partial-optimized tests 523s ok 400 /regex/match/partial-optimized/281 523s ok 401 /regex/match/partial-optimized/282 523s ok 402 /regex/match/partial-optimized/283 523s ok 403 /regex/match/partial-optimized/284 523s ok 404 /regex/match/partial-optimized/285 523s ok 405 /regex/match/partial-optimized/286 523s ok 406 /regex/match/partial-optimized/287 523s ok 407 /regex/match/partial-optimized/288 523s ok 408 /regex/match/partial-optimized/289 523s ok 409 /regex/match/partial-optimized/290 523s ok 410 /regex/match/partial-optimized/291 523s ok 411 /regex/match/partial-optimized/292 523s ok 412 /regex/match/partial-optimized/293 523s ok 413 /regex/match/partial-optimized/294 523s ok 414 /regex/match/partial-optimized/295 523s ok 415 /regex/match/partial-optimized/296 523s ok 416 /regex/match/partial-optimized/297 523s ok 417 /regex/match/partial-optimized/298 523s ok 418 /regex/match/partial-optimized/299 523s ok 419 /regex/match/partial-optimized/300 523s ok 420 /regex/match/partial-optimized/301 523s ok 421 /regex/match/partial-optimized/302 523s # End of partial-optimized tests 523s # Start of subpattern tests 523s ok 422 /regex/match/subpattern/303 523s ok 423 /regex/match/subpattern/304 523s ok 424 /regex/match/subpattern/305 523s ok 425 /regex/match/subpattern/306 523s ok 426 /regex/match/subpattern/307 523s ok 427 /regex/match/subpattern/308 523s ok 428 /regex/match/subpattern/309 523s ok 429 /regex/match/subpattern/310 523s ok 430 /regex/match/subpattern/311 523s ok 431 /regex/match/subpattern/312 523s ok 432 /regex/match/subpattern/313 523s ok 433 /regex/match/subpattern/314 523s ok 434 /regex/match/subpattern/315 523s # Start of named tests 523s # Start of dupnames tests 523s ok 435 /regex/match/subpattern/named/dupnames/325 523s ok 436 /regex/match/subpattern/named/dupnames/326 523s ok 437 /regex/match/subpattern/named/dupnames/327 523s ok 438 /regex/match/subpattern/named/dupnames/328 523s ok 439 /regex/match/subpattern/named/dupnames/329 523s # End of dupnames tests 523s # End of named tests 523s # End of subpattern tests 523s # Start of subpattern-optimized tests 523s ok 440 /regex/match/subpattern-optimized/303 523s ok 441 /regex/match/subpattern-optimized/304 523s ok 442 /regex/match/subpattern-optimized/305 523s ok 443 /regex/match/subpattern-optimized/306 523s ok 444 /regex/match/subpattern-optimized/307 523s ok 445 /regex/match/subpattern-optimized/308 523s ok 446 /regex/match/subpattern-optimized/309 523s ok 447 /regex/match/subpattern-optimized/310 523s ok 448 /regex/match/subpattern-optimized/311 523s ok 449 /regex/match/subpattern-optimized/312 523s ok 450 /regex/match/subpattern-optimized/313 523s ok 451 /regex/match/subpattern-optimized/314 523s ok 452 /regex/match/subpattern-optimized/315 523s # End of subpattern-optimized tests 523s # Start of named tests 523s # Start of subpattern tests 523s ok 453 /regex/match/named/subpattern/316 523s ok 454 /regex/match/named/subpattern/317 523s ok 455 /regex/match/named/subpattern/318 523s ok 456 /regex/match/named/subpattern/319 523s ok 457 /regex/match/named/subpattern/320 523s ok 458 /regex/match/named/subpattern/321 523s ok 459 /regex/match/named/subpattern/322 523s ok 460 /regex/match/named/subpattern/323 523s ok 461 /regex/match/named/subpattern/324 523s ok 462 /regex/match/named/subpattern/330 523s ok 463 /regex/match/named/subpattern/331 523s ok 464 /regex/match/named/subpattern/332 523s ok 465 /regex/match/named/subpattern/333 523s ok 466 /regex/match/named/subpattern/334 523s # End of subpattern tests 523s # End of named tests 523s # End of match tests 523s # Start of match-optimized tests 523s ok 467 /regex/match-optimized/165 523s ok 468 /regex/match-optimized/166 523s ok 469 /regex/match-optimized/167 523s ok 470 /regex/match-optimized/168 523s ok 471 /regex/match-optimized/169 523s ok 472 /regex/match-optimized/170 523s ok 473 /regex/match-optimized/171 523s ok 474 /regex/match-optimized/172 523s ok 475 /regex/match-optimized/173 523s ok 476 /regex/match-optimized/174 523s ok 477 /regex/match-optimized/175 523s ok 478 /regex/match-optimized/176 523s ok 479 /regex/match-optimized/177 523s ok 480 /regex/match-optimized/178 523s ok 481 /regex/match-optimized/179 523s ok 482 /regex/match-optimized/180 523s ok 483 /regex/match-optimized/181 523s ok 484 /regex/match-optimized/182 523s ok 485 /regex/match-optimized/183 523s ok 486 /regex/match-optimized/184 523s ok 487 /regex/match-optimized/185 523s ok 488 /regex/match-optimized/186 523s ok 489 /regex/match-optimized/187 523s ok 490 /regex/match-optimized/188 523s ok 491 /regex/match-optimized/189 523s ok 492 /regex/match-optimized/190 523s ok 493 /regex/match-optimized/191 523s ok 494 /regex/match-optimized/192 523s ok 495 /regex/match-optimized/193 523s ok 496 /regex/match-optimized/194 523s ok 497 /regex/match-optimized/195 523s ok 498 /regex/match-optimized/196 523s ok 499 /regex/match-optimized/197 523s ok 500 /regex/match-optimized/198 523s ok 501 /regex/match-optimized/199 523s ok 502 /regex/match-optimized/200 523s ok 503 /regex/match-optimized/201 523s ok 504 /regex/match-optimized/202 523s ok 505 /regex/match-optimized/203 523s ok 506 /regex/match-optimized/204 523s ok 507 /regex/match-optimized/205 523s ok 508 /regex/match-optimized/206 523s ok 509 /regex/match-optimized/207 523s ok 510 /regex/match-optimized/208 523s ok 511 /regex/match-optimized/209 523s ok 512 /regex/match-optimized/210 523s ok 513 /regex/match-optimized/211 523s ok 514 /regex/match-optimized/212 523s ok 515 /regex/match-optimized/213 523s ok 516 /regex/match-optimized/214 523s ok 517 /regex/match-optimized/215 523s ok 518 /regex/match-optimized/216 523s ok 519 /regex/match-optimized/217 523s ok 520 /regex/match-optimized/218 523s ok 521 /regex/match-optimized/219 523s ok 522 /regex/match-optimized/220 523s ok 523 /regex/match-optimized/221 523s ok 524 /regex/match-optimized/222 523s ok 525 /regex/match-optimized/223 523s ok 526 /regex/match-optimized/224 523s ok 527 /regex/match-optimized/225 523s ok 528 /regex/match-optimized/226 523s ok 529 /regex/match-optimized/227 523s ok 530 /regex/match-optimized/228 523s ok 531 /regex/match-optimized/229 523s ok 532 /regex/match-optimized/230 523s ok 533 /regex/match-optimized/231 523s ok 534 /regex/match-optimized/232 523s ok 535 /regex/match-optimized/233 523s ok 536 /regex/match-optimized/234 523s ok 537 /regex/match-optimized/235 523s ok 538 /regex/match-optimized/236 523s ok 539 /regex/match-optimized/237 523s ok 540 /regex/match-optimized/238 523s ok 541 /regex/match-optimized/239 523s ok 542 /regex/match-optimized/240 523s ok 543 /regex/match-optimized/241 523s ok 544 /regex/match-optimized/242 523s ok 545 /regex/match-optimized/243 523s ok 546 /regex/match-optimized/244 523s ok 547 /regex/match-optimized/245 523s ok 548 /regex/match-optimized/246 523s # End of match-optimized tests 523s # Start of fetch-all0 tests 523s ok 549 /regex/fetch-all0/335 523s ok 550 /regex/fetch-all0/336 523s # End of fetch-all0 tests 523s # Start of fetch-all1 tests 523s ok 551 /regex/fetch-all1/337 523s ok 552 /regex/fetch-all1/338 523s ok 553 /regex/fetch-all1/339 523s # End of fetch-all1 tests 523s # Start of fetch-all2 tests 523s ok 554 /regex/fetch-all2/340 523s ok 555 /regex/fetch-all2/341 523s ok 556 /regex/fetch-all2/342 523s # End of fetch-all2 tests 523s # Start of fetch-all3 tests 523s ok 557 /regex/fetch-all3/343 523s ok 558 /regex/fetch-all3/344 523s ok 559 /regex/fetch-all3/345 523s ok 560 /regex/fetch-all3/346 523s ok 561 /regex/fetch-all3/347 523s # End of fetch-all3 tests 523s # Start of split tests 523s # Start of simple0 tests 523s ok 562 /regex/split/simple0/348 523s ok 563 /regex/split/simple0/349 523s ok 564 /regex/split/simple0/364 523s ok 565 /regex/split/simple0/365 523s # End of simple0 tests 523s # Start of simple1 tests 523s ok 566 /regex/split/simple1/350 523s ok 567 /regex/split/simple1/351 523s # End of simple1 tests 523s # Start of simple2 tests 523s ok 568 /regex/split/simple2/352 523s ok 569 /regex/split/simple2/358 523s ok 570 /regex/split/simple2/360 523s # End of simple2 tests 523s # Start of simple3 tests 523s ok 571 /regex/split/simple3/353 523s ok 572 /regex/split/simple3/354 523s ok 573 /regex/split/simple3/355 523s ok 574 /regex/split/simple3/356 523s ok 575 /regex/split/simple3/357 523s ok 576 /regex/split/simple3/359 523s ok 577 /regex/split/simple3/361 523s ok 578 /regex/split/simple3/362 523s ok 579 /regex/split/simple3/363 523s # End of simple3 tests 523s # End of split tests 523s # Start of split0 tests 523s ok 580 /regex/split0/366 523s ok 581 /regex/split0/368 523s # End of split0 tests 523s # Start of full-split0 tests 523s ok 582 /regex/full-split0/367 523s ok 583 /regex/full-split0/369 523s ok 584 /regex/full-split0/370 523s ok 585 /regex/full-split0/371 523s ok 586 /regex/full-split0/372 523s # End of full-split0 tests 523s # Start of split1 tests 523s ok 587 /regex/split1/373 523s ok 588 /regex/split1/376 523s # End of split1 tests 523s # Start of full-split1 tests 523s ok 589 /regex/full-split1/374 523s ok 590 /regex/full-split1/375 523s ok 591 /regex/full-split1/377 523s ok 592 /regex/full-split1/378 523s ok 593 /regex/full-split1/404 523s # End of full-split1 tests 523s # Start of split2 tests 523s ok 594 /regex/split2/379 523s ok 595 /regex/split2/383 523s ok 596 /regex/split2/395 523s # End of split2 tests 523s # Start of full-split2 tests 523s ok 597 /regex/full-split2/380 523s ok 598 /regex/full-split2/381 523s ok 599 /regex/full-split2/382 523s ok 600 /regex/full-split2/384 523s ok 601 /regex/full-split2/396 523s ok 602 /regex/full-split2/399 523s ok 603 /regex/full-split2/405 523s # End of full-split2 tests 523s # Start of split3 tests 523s ok 604 /regex/split3/385 523s ok 605 /regex/split3/387 523s ok 606 /regex/split3/389 523s ok 607 /regex/split3/391 523s ok 608 /regex/split3/393 523s ok 609 /regex/split3/397 523s ok 610 /regex/split3/400 523s ok 611 /regex/split3/402 523s # End of split3 tests 523s # Start of full-split3 tests 523s ok 612 /regex/full-split3/386 523s ok 613 /regex/full-split3/388 523s ok 614 /regex/full-split3/390 523s ok 615 /regex/full-split3/392 523s ok 616 /regex/full-split3/394 523s ok 617 /regex/full-split3/398 523s ok 618 /regex/full-split3/401 523s ok 619 /regex/full-split3/403 523s ok 620 /regex/full-split3/406 523s ok 621 /regex/full-split3/407 523s # End of full-split3 tests 523s # Start of check-repacement tests 523s ok 622 /regex/check-repacement/408 523s ok 623 /regex/check-repacement/409 523s ok 624 /regex/check-repacement/410 523s ok 625 /regex/check-repacement/411 523s ok 626 /regex/check-repacement/412 523s ok 627 /regex/check-repacement/413 523s ok 628 /regex/check-repacement/414 523s ok 629 /regex/check-repacement/415 523s # End of check-repacement tests 523s # Start of expand tests 523s ok 630 /regex/expand/416 523s ok 631 /regex/expand/417 523s ok 632 /regex/expand/418 523s ok 633 /regex/expand/419 523s ok 634 /regex/expand/420 523s ok 635 /regex/expand/421 523s ok 636 /regex/expand/422 523s ok 637 /regex/expand/423 523s ok 638 /regex/expand/424 523s ok 639 /regex/expand/425 523s ok 640 /regex/expand/426 523s ok 641 /regex/expand/427 523s ok 642 /regex/expand/428 523s ok 643 /regex/expand/429 523s ok 644 /regex/expand/430 523s ok 645 /regex/expand/431 523s ok 646 /regex/expand/432 523s ok 647 /regex/expand/433 523s ok 648 /regex/expand/434 523s ok 649 /regex/expand/435 523s ok 650 /regex/expand/436 523s ok 651 /regex/expand/437 523s ok 652 /regex/expand/438 523s ok 653 /regex/expand/439 523s ok 654 /regex/expand/440 523s ok 655 /regex/expand/441 523s ok 656 /regex/expand/442 523s ok 657 /regex/expand/443 523s ok 658 /regex/expand/444 523s ok 659 /regex/expand/445 523s ok 660 /regex/expand/446 523s ok 661 /regex/expand/447 523s ok 662 /regex/expand/448 523s ok 663 /regex/expand/449 523s ok 664 /regex/expand/450 523s ok 665 /regex/expand/451 523s ok 666 /regex/expand/452 523s ok 667 /regex/expand/453 523s ok 668 /regex/expand/454 523s ok 669 /regex/expand/455 523s ok 670 /regex/expand/456 523s ok 671 /regex/expand/457 523s ok 672 /regex/expand/458 523s ok 673 /regex/expand/459 523s ok 674 /regex/expand/460 523s ok 675 /regex/expand/461 523s ok 676 /regex/expand/462 523s ok 677 /regex/expand/463 523s ok 678 /regex/expand/464 523s ok 679 /regex/expand/465 523s ok 680 /regex/expand/466 523s ok 681 /regex/expand/467 523s ok 682 /regex/expand/468 523s ok 683 /regex/expand/469 523s ok 684 /regex/expand/470 523s ok 685 /regex/expand/471 523s ok 686 /regex/expand/472 523s ok 687 /regex/expand/473 523s ok 688 /regex/expand/474 523s ok 689 /regex/expand/475 523s ok 690 /regex/expand/476 523s ok 691 /regex/expand/477 523s ok 692 /regex/expand/478 523s ok 693 /regex/expand/479 523s ok 694 /regex/expand/480 523s ok 695 /regex/expand/481 523s # End of expand tests 523s # Start of replace tests 523s ok 696 /regex/replace/482 523s ok 697 /regex/replace/483 523s ok 698 /regex/replace/484 523s ok 699 /regex/replace/485 523s ok 700 /regex/replace/486 523s ok 701 /regex/replace/487 523s ok 702 /regex/replace/488 523s ok 703 /regex/replace/489 523s ok 704 /regex/replace/490 523s ok 705 /regex/replace/491 523s ok 706 /regex/replace/492 523s ok 707 /regex/replace/493 523s ok 708 /regex/replace/494 523s ok 709 /regex/replace/495 523s ok 710 /regex/replace/496 523s ok 711 /regex/replace/497 523s ok 712 /regex/replace/498 523s ok 713 /regex/replace/499 523s ok 714 /regex/replace/500 523s ok 715 /regex/replace/501 523s ok 716 /regex/replace/502 523s ok 717 /regex/replace/503 523s ok 718 /regex/replace/504 523s ok 719 /regex/replace/505 523s ok 720 /regex/replace/506 523s ok 721 /regex/replace/507 523s ok 722 /regex/replace/508 523s ok 723 /regex/replace/509 523s # End of replace tests 523s # Start of replace-optimized tests 523s ok 724 /regex/replace-optimized/482 523s ok 725 /regex/replace-optimized/483 523s ok 726 /regex/replace-optimized/484 523s ok 727 /regex/replace-optimized/485 523s ok 728 /regex/replace-optimized/486 523s ok 729 /regex/replace-optimized/487 523s ok 730 /regex/replace-optimized/488 523s ok 731 /regex/replace-optimized/489 523s ok 732 /regex/replace-optimized/490 523s ok 733 /regex/replace-optimized/491 523s ok 734 /regex/replace-optimized/492 523s ok 735 /regex/replace-optimized/493 523s ok 736 /regex/replace-optimized/494 523s ok 737 /regex/replace-optimized/495 523s ok 738 /regex/replace-optimized/496 523s ok 739 /regex/replace-optimized/497 523s ok 740 /regex/replace-optimized/498 523s ok 741 /regex/replace-optimized/499 523s ok 742 /regex/replace-optimized/500 523s ok 743 /regex/replace-optimized/501 523s ok 744 /regex/replace-optimized/502 523s ok 745 /regex/replace-optimized/503 523s ok 746 /regex/replace-optimized/504 523s ok 747 /regex/replace-optimized/505 523s ok 748 /regex/replace-optimized/506 523s ok 749 /regex/replace-optimized/507 523s ok 750 /regex/replace-optimized/508 523s ok 751 /regex/replace-optimized/509 523s # End of replace-optimized tests 523s # Start of replace-literally tests 523s ok 752 /regex/replace-literally/510 523s ok 753 /regex/replace-literally/511 523s ok 754 /regex/replace-literally/512 523s ok 755 /regex/replace-literally/513 523s ok 756 /regex/replace-literally/514 523s ok 757 /regex/replace-literally/515 523s ok 758 /regex/replace-literally/516 523s ok 759 /regex/replace-literally/517 523s ok 760 /regex/replace-literally/518 523s ok 761 /regex/replace-literally/519 523s ok 762 /regex/replace-literally/520 523s ok 763 /regex/replace-literally/521 523s ok 764 /regex/replace-literally/522 523s ok 765 /regex/replace-literally/523 523s ok 766 /regex/replace-literally/524 523s ok 767 /regex/replace-literally/525 523s ok 768 /regex/replace-literally/526 523s ok 769 /regex/replace-literally/527 523s ok 770 /regex/replace-literally/528 523s ok 771 /regex/replace-literally/529 523s # End of replace-literally tests 523s # Start of string-number tests 523s ok 772 /regex/string-number/530 523s ok 773 /regex/string-number/531 523s ok 774 /regex/string-number/532 523s ok 775 /regex/string-number/533 523s ok 776 /regex/string-number/534 523s ok 777 /regex/string-number/535 523s ok 778 /regex/string-number/536 523s ok 779 /regex/string-number/537 523s ok 780 /regex/string-number/538 523s ok 781 /regex/string-number/539 523s ok 782 /regex/string-number/540 523s ok 783 /regex/string-number/541 523s ok 784 /regex/string-number/542 523s ok 785 /regex/string-number/543 523s ok 786 /regex/string-number/544 523s # End of string-number tests 523s # Start of escape_nul tests 523s ok 787 /regex/escape_nul/545 523s ok 788 /regex/escape_nul/546 523s ok 789 /regex/escape_nul/547 523s ok 790 /regex/escape_nul/548 523s ok 791 /regex/escape_nul/549 523s ok 792 /regex/escape_nul/550 523s ok 793 /regex/escape_nul/551 523s ok 794 /regex/escape_nul/552 523s ok 795 /regex/escape_nul/553 523s ok 796 /regex/escape_nul/554 523s ok 797 /regex/escape_nul/555 523s ok 798 /regex/escape_nul/556 523s ok 799 /regex/escape_nul/557 523s ok 800 /regex/escape_nul/558 523s ok 801 /regex/escape_nul/559 523s # End of escape_nul tests 523s # Start of escape tests 523s ok 802 /regex/escape/560 523s ok 803 /regex/escape/561 523s ok 804 /regex/escape/562 523s ok 805 /regex/escape/563 523s ok 806 /regex/escape/564 523s ok 807 /regex/escape/565 523s ok 808 /regex/escape/566 523s ok 809 /regex/escape/567 523s ok 810 /regex/escape/568 523s ok 811 /regex/escape/569 523s ok 812 /regex/escape/570 523s ok 813 /regex/escape/571 523s ok 814 /regex/escape/572 523s ok 815 /regex/escape/573 523s ok 816 /regex/escape/574 523s ok 817 /regex/escape/575 523s ok 818 /regex/escape/576 523s ok 819 /regex/escape/577 523s # End of escape tests 523s # Start of match-all0 tests 523s ok 820 /regex/match-all0/578 523s ok 821 /regex/match-all0/580 523s # End of match-all0 tests 523s # Start of match-all-full0 tests 523s ok 822 /regex/match-all-full0/579 523s ok 823 /regex/match-all-full0/581 523s ok 824 /regex/match-all-full0/582 523s ok 825 /regex/match-all-full0/583 523s # End of match-all-full0 tests 523s # Start of match-all1 tests 523s ok 826 /regex/match-all1/584 523s ok 827 /regex/match-all1/586 523s ok 828 /regex/match-all1/591 523s # End of match-all1 tests 523s # Start of match-all-full1 tests 523s ok 829 /regex/match-all-full1/585 523s ok 830 /regex/match-all-full1/587 523s ok 831 /regex/match-all-full1/588 523s ok 832 /regex/match-all-full1/589 523s ok 833 /regex/match-all-full1/590 523s ok 834 /regex/match-all-full1/592 523s # End of match-all-full1 tests 523s # Start of match-all2 tests 523s ok 835 /regex/match-all2/593 523s ok 836 /regex/match-all2/595 523s ok 837 /regex/match-all2/597 523s # End of match-all2 tests 523s # Start of match-all-full2 tests 523s ok 838 /regex/match-all-full2/594 523s ok 839 /regex/match-all-full2/596 523s ok 840 /regex/match-all-full2/598 523s # End of match-all-full2 tests 523s # Start of match-all3 tests 523s ok 841 /regex/match-all3/599 523s ok 842 /regex/match-all3/601 523s # End of match-all3 tests 523s # Start of match-all-full3 tests 523s ok 843 /regex/match-all-full3/600 523s ok 844 /regex/match-all-full3/602 523s # End of match-all-full3 tests 523s # Start of match-notempty tests 523s ok 845 /regex/match-notempty/603 523s # End of match-notempty tests 523s # Start of match-notempty-optimized tests 523s ok 846 /regex/match-notempty-optimized/603 523s # End of match-notempty-optimized tests 523s # Start of match-notempty-atstart tests 523s ok 847 /regex/match-notempty-atstart/604 523s # End of match-notempty-atstart tests 523s # Start of match-notempty-atstart-optimized tests 523s ok 848 /regex/match-notempty-atstart-optimized/604 523s # End of match-notempty-atstart-optimized tests 523s # End of regex tests 523s ok - glib/regex.test 523s # Running test: glib/dynamictype.test 523s TAP version 14 523s # random seed: R02Scb72ce291947642e601ef16e3cf374b7 523s 1..2 523s # Start of gobject tests 523s ok 1 /gobject/dynamic-type 523s # Start of dynamic-type tests 523s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 523s ok 2 /gobject/dynamic-type/query 523s # End of dynamic-type tests 523s # End of gobject tests 523s ok - glib/dynamictype.test 523s # Running test: glib/gdatetime.test 523s TAP version 14 523s # random seed: R02S08a2c388753bb034f9c7f75a03022f2c 523s 1..68 523s # Start of GDateTime tests 523s # Bug Reference: http://bugzilla.gnome.org/702674 523s ok 1 /GDateTime/invalid 523s ok 2 /GDateTime/add_days 523s ok 3 /GDateTime/add_full 523s ok 4 /GDateTime/add_hours 523s ok 5 /GDateTime/add_minutes 523s ok 6 /GDateTime/add_months 523s ok 7 /GDateTime/add_seconds 523s ok 8 /GDateTime/add_weeks 523s ok 9 /GDateTime/add_years 523s ok 10 /GDateTime/compare 523s ok 11 /GDateTime/diff 523s ok 12 /GDateTime/equal 523s ok 13 /GDateTime/get_day_of_week 523s ok 14 /GDateTime/get_day_of_month 523s ok 15 /GDateTime/get_day_of_year 523s ok 16 /GDateTime/get_hour 523s ok 17 /GDateTime/get_microsecond 523s ok 18 /GDateTime/get_minute 523s ok 19 /GDateTime/get_month 523s ok 20 /GDateTime/get_second 523s ok 21 /GDateTime/get_utc_offset 523s ok 22 /GDateTime/get_year 523s ok 23 /GDateTime/hash 523s ok 24 /GDateTime/new_from_unix 523s ok 25 /GDateTime/new_from_unix_utc 523s ok 26 /GDateTime/new_from_timeval 523s ok 27 /GDateTime/new_from_timeval_utc 523s ok 28 /GDateTime/new_from_iso8601 523s ok 29 /GDateTime/new_full 523s ok 30 /GDateTime/now 523s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 523s ok 31 /GDateTime/test-6-days-until-end-of-the-month 523s # %a -> expected: Sat 523s # %a -> actual: Sat 523s # %A -> expected: Saturday 523s # %A -> actual: Saturday 523s # %b -> expected: Oct 523s # %b -> actual: Oct 523s # %B -> expected: October 523s # %B -> actual: October 523s # %d -> expected: 24 523s # %d -> actual: 24 523s # %d -> expected: 01 523s # %d -> actual: 01 523s # %e -> expected: 24 523s # %e -> actual: 24 523s # %e -> expected:  1 523s # %e -> actual:  1 523s # %f -> expected: 001000 523s # %f -> actual: 001000 523s # %h -> expected: Oct 523s # %h -> actual: Oct 523s # %H -> expected: 00 523s # %H -> actual: 00 523s # %H -> expected: 15 523s # %H -> actual: 15 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %I -> expected: 03 523s # %I -> actual: 03 523s # %j -> expected: 297 523s # %j -> actual: 297 523s # %k -> expected:  0 523s # %k -> actual:  0 523s # %k -> expected: 13 523s # %k -> actual: 13 523s # %l -> expected: 12 523s # %l -> actual: 12 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %l -> expected:  1 523s # %l -> actual:  1 523s # %l -> expected: 10 523s # %l -> actual: 10 523s # %m -> expected: 10 523s # %m -> actual: 10 523s # %M -> expected: 00 523s # %M -> actual: 00 523s # %p -> expected: AM 523s # %p -> actual: AM 523s # %p -> expected: PM 523s # %p -> actual: PM 523s # %P -> expected: am 523s # %P -> actual: am 523s # %P -> expected: pm 523s # %P -> actual: pm 523s # %r -> expected: 12:00:00 AM 523s # %r -> actual: 12:00:00 AM 523s # %r -> expected: 01:13:13 PM 523s # %r -> actual: 01:13:13 PM 523s # %R -> expected: 00:00 523s # %R -> actual: 00:00 523s # %R -> expected: 13:13 523s # %R -> actual: 13:13 523s # %S -> expected: 00 523s # %S -> actual: 00 523s # %t -> expected: 523s # %t -> actual: 523s # %u -> expected: 6 523s # %u -> actual: 6 523s # %x -> expected: 10/24/09 523s # %x -> actual: 10/24/09 523s # %X -> expected: 00:00:00 523s # %X -> actual: 00:00:00 523s # %X -> expected: 13:14:15 523s # %X -> actual: 13:14:15 523s # %y -> expected: 09 523s # %y -> actual: 09 523s # %Y -> expected: 2009 523s # %Y -> actual: 2009 523s # %% -> expected: % 523s # %% -> actual: % 523s # % -> expected: 523s # % -> actual: 523s # %9 -> expected: (null) 523s # %9 -> actual: (null) 523s # %Z -> expected: UTC 523s # %Z -> actual: UTC 523s ok 32 /GDateTime/printf 523s # %a -> expected: ÅÚ 523s # %a -> actual: ÅÚ 523s # %A -> expected: ÅÚÍËÆü 523s # %A -> actual: ÅÚÍËÆü 523s # %b -> expected: 10·î 523s # %b -> actual: 10·î 523s # %B -> expected: 10·î 523s # %B -> actual: 10·î 523s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 523s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 523s # %C -> expected: 20 523s # %C -> actual: 20 523s # %d -> expected: 24 523s # %d -> actual: 24 523s # %d -> expected: 01 523s # %d -> actual: 01 523s # %e -> expected: 24 523s # %e -> actual: 24 523s # %h -> expected: 10·î 523s # %h -> actual: 10·î 523s # %H -> expected: 00 523s # %H -> actual: 00 523s # %H -> expected: 15 523s # %H -> actual: 15 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %I -> expected: 03 523s # %I -> actual: 03 523s # %j -> expected: 297 523s # %j -> actual: 297 523s # %k -> expected: ?0 523s # %k -> actual: ?0 523s # %k -> expected: 13 523s # %k -> actual: 13 523s # %l -> expected: 12 523s # %l -> actual: 12 523s # %I -> expected: 12 523s # %I -> actual: 12 523s # %l -> expected: ?1 523s # %l -> actual: ?1 523s # %l -> expected: 10 523s # %l -> actual: 10 523s # %m -> expected: 10 523s # %m -> actual: 10 523s # %M -> expected: 00 523s # %M -> actual: 00 523s # %p -> expected: ¸áÁ° 523s # %p -> actual: ¸áÁ° 523s # %p -> expected: ¸á¸å 523s # %p -> actual: ¸á¸å 523s # %P -> expected: ¸áÁ° 523s # %P -> actual: ¸áÁ° 523s # %P -> expected: ¸á¸å 523s # %P -> actual: ¸á¸å 523s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 523s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 523s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 523s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 523s # %R -> expected: 00:00 523s # %R -> actual: 00:00 523s # %R -> expected: 13:13 523s # %R -> actual: 13:13 523s # %S -> expected: 00 523s # %S -> actual: 00 523s # %t -> expected: 523s # %t -> actual: 523s # %u -> expected: 6 523s # %u -> actual: 6 523s # %x -> expected: 2009ǯ10·î24Æü 523s # %x -> actual: 2009ǯ10·î24Æü 523s # %X -> expected: 00»þ00ʬ00Éà 523s # %X -> actual: 00»þ00ʬ00Éà 523s # %X -> expected: 13»þ14ʬ15Éà 523s # %X -> actual: 13»þ14ʬ15Éà 523s # %y -> expected: 09 523s # %y -> actual: 09 523s # %Y -> expected: 2009 523s # %Y -> actual: 2009 523s # %% -> expected: % 523s # %% -> actual: % 523s # % -> expected: 523s # % -> actual: 523s # %9 -> expected: (null) 523s # %9 -> actual: (null) 523s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 523s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 523s # %EC -> expected: 20 523s # %EC -> actual: 20 523s # %Ex -> expected: 2009ǯ10·î24Æü 523s # %Ex -> actual: 2009ǯ10·î24Æü 523s # %EX -> expected: 00»þ00ʬ00Éà 523s # %EX -> actual: 00»þ00ʬ00Éà 523s # %Ey -> expected: 09 523s # %Ey -> actual: 09 523s # %EY -> expected: 2009 523s # %EY -> actual: 2009 523s ok 33 /GDateTime/non_utf8_printf 523s # ???? -> expected: ???? 523s # ???? -> actual: ???? 523s # %H?%M -> expected: 23?15 523s # %H?%M -> actual: 23?15 523s # %H?%M -> expected: 23?15 523s # %H?%M -> actual: 23?15 523s ok 34 /GDateTime/format_unrepresentable 523s ok 35 /GDateTime/format_iso8601 523s ok 36 /GDateTime/strftime 523s # %d -> expected: 01 523s # %d -> actual: 01 523s # %_d -> expected: 1 523s # %_d -> actual: 1 523s # %-d -> expected: 1 523s # %-d -> actual: 1 523s # %0d -> expected: 01 523s # %0d -> actual: 01 523s # %d -> expected: 21 523s # %d -> actual: 21 523s # %_d -> expected: 21 523s # %_d -> actual: 21 523s # %-d -> expected: 21 523s # %-d -> actual: 21 523s # %0d -> expected: 21 523s # %0d -> actual: 21 523s # %e -> expected:  1 523s # %e -> actual:  1 523s # %_e -> expected: 1 523s # %_e -> actual: 1 523s # %-e -> expected: 1 523s # %-e -> actual: 1 523s # %0e -> expected: 01 523s # %0e -> actual: 01 523s # %e -> expected: 21 523s # %e -> actual: 21 523s # %_e -> expected: 21 523s # %_e -> actual: 21 523s # %-e -> expected: 21 523s # %-e -> actual: 21 523s # %0e -> expected: 21 523s # %0e -> actual: 21 523s # %a -> expected: Thu 523s # %a -> actual: Thu 523s # %^a -> expected: THU 523s # %^a -> actual: THU 523s # %#a -> expected: THU 523s # %#a -> actual: THU 523s # %A -> expected: Thursday 523s # %A -> actual: Thursday 523s # %^A -> expected: THURSDAY 523s # %^A -> actual: THURSDAY 523s # %#A -> expected: THURSDAY 523s # %#A -> actual: THURSDAY 523s # %b -> expected: Jan 523s # %b -> actual: Jan 523s # %^b -> expected: JAN 523s # %^b -> actual: JAN 523s # %#b -> expected: JAN 523s # %#b -> actual: JAN 523s # %B -> expected: January 523s # %B -> actual: January 523s # %^B -> expected: JANUARY 523s # %^B -> actual: JANUARY 523s # %#B -> expected: JANUARY 523s # %#B -> actual: JANUARY 523s # %h -> expected: Jan 523s # %h -> actual: Jan 523s # %^h -> expected: JAN 523s # %^h -> actual: JAN 523s # %#h -> expected: JAN 523s # %#h -> actual: JAN 523s # %Z -> expected: UTC 523s # %Z -> actual: UTC 523s # %^Z -> expected: UTC 523s # %^Z -> actual: UTC 523s # %#Z -> expected: utc 523s # %#Z -> actual: utc 523s # %H -> expected: 01 523s # %H -> actual: 01 523s # %_H -> expected: 1 523s # %_H -> actual: 1 523s # %-H -> expected: 1 523s # %-H -> actual: 1 523s # %0H -> expected: 01 523s # %0H -> actual: 01 523s # %H -> expected: 21 523s # %H -> actual: 21 523s # %_H -> expected: 21 523s # %_H -> actual: 21 523s # %-H -> expected: 21 523s # %-H -> actual: 21 523s # %0H -> expected: 21 523s # %0H -> actual: 21 523s # %I -> expected: 01 523s # %I -> actual: 01 523s # %_I -> expected: 1 523s # %_I -> actual: 1 523s # %-I -> expected: 1 523s # %-I -> actual: 1 523s # %0I -> expected: 01 523s # %0I -> actual: 01 523s # %I -> expected: 11 523s # %I -> actual: 11 523s # %_I -> expected: 11 523s # %_I -> actual: 11 523s # %-I -> expected: 11 523s # %-I -> actual: 11 523s # %0I -> expected: 11 523s # %0I -> actual: 11 523s # %k -> expected:  1 523s # %k -> actual:  1 523s # %_k -> expected: 1 523s # %_k -> actual: 1 523s # %-k -> expected: 1 523s # %-k -> actual: 1 523s # %0k -> expected: 01 523s # %0k -> actual: 01 523s # %l -> expected:  1 523s # %l -> actual:  1 523s # %_l -> expected: 1 523s # %_l -> actual: 1 523s # %-l -> expected: 1 523s # %-l -> actual: 1 523s # %0l -> expected: 01 523s # %0l -> actual: 01 523s # %l -> expected: 11 523s # %l -> actual: 11 523s # %_l -> expected: 11 523s # %_l -> actual: 11 523s # %-l -> expected: 11 523s # %-l -> actual: 11 523s # %0l -> expected: 11 523s # %0l -> actual: 11 523s # %p -> expected: AM 523s # %p -> actual: AM 523s # %^p -> expected: AM 523s # %^p -> actual: AM 523s # %#p -> expected: am 523s # %#p -> actual: am 523s # %P -> expected: am 523s # %P -> actual: am 523s # %^P -> expected: AM 523s # %^P -> actual: AM 523s # %#P -> expected: am 523s # %#P -> actual: am 523s # %OH -> expected: Û²Û³ 523s # %OH -> actual: Û²Û³ 523s # %OI -> expected: Û±Û± 523s # %OI -> actual: Û±Û± 523s # %OM -> expected: Û°Û° 523s # %OM -> actual: Û°Û° 523s # %Om -> expected: Û°Û· 523s # %Om -> actual: Û°Û· 523s # %0Om -> expected: Û°Û· 523s # %0Om -> actual: Û°Û· 523s # %-Om -> expected: Û· 523s # %-Om -> actual: Û· 523s # %_Om -> expected: Û· 523s # %_Om -> actual: Û· 523s # %c -> expected: thu 01 jan 2009 00:00:00 utc 523s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 523s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 523s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 523s # %C -> expected: 20 523s # %C -> actual: 20 523s # %EC -> expected: 20 523s # %EC -> actual: 20 523s # %x -> expected: 02/01/09 523s # %x -> actual: 02/01/09 523s # %Ex -> expected: 02/01/09 523s # %Ex -> actual: 02/01/09 523s # %X -> expected: 01:02:03 523s # %X -> actual: 01:02:03 523s # %EX -> expected: 01:02:03 523s # %EX -> actual: 01:02:03 523s # %y -> expected: 09 523s # %y -> actual: 09 523s # %Ey -> expected: 09 523s # %Ey -> actual: 09 523s # %Y -> expected: 2009 523s # %Y -> actual: 2009 523s # %EY -> expected: 2009 523s # %EY -> actual: 2009 523s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 523s # Bug Reference: http://bugzilla.gnome.org/749206 523s # %B -> expected: January 523s # %B -> actual: January 523s # %OB -> expected: February 523s # %OB -> actual: February 523s # %b -> expected: Mar 523s # %b -> actual: Mar 523s # %Ob -> expected: Apr 523s # %Ob -> actual: Apr 523s # %h -> expected: May 523s # %h -> actual: May 523s # %Oh -> expected: Jun 523s # %Oh -> actual: Jun 523s # %B -> expected: Juli 523s # %B -> actual: Juli 523s # %OB -> expected: August 523s # %OB -> actual: August 523s # %b -> expected: Sep 523s # %b -> actual: Sep 523s # %Ob -> expected: Okt 523s # %Ob -> actual: Okt 523s # %h -> expected: Nov 523s # %h -> actual: Nov 523s # %Oh -> expected: Dez 523s # %Oh -> actual: Dez 523s # %B -> expected: enero 523s # %B -> actual: enero 523s # %OB -> expected: febrero 523s # %OB -> actual: febrero 523s # %b -> expected: mar 523s # %b -> actual: mar 523s # %Ob -> expected: abr 523s # %Ob -> actual: abr 523s # %h -> expected: may 523s # %h -> actual: may 523s # %Oh -> expected: jun 523s # %Oh -> actual: jun 523s # %B -> expected: juillet 523s # %B -> actual: juillet 523s # %OB -> expected: août 523s # %OB -> actual: août 523s # %b -> expected: sept. 523s # %b -> actual: sept. 523s # %Ob -> expected: oct. 523s # %Ob -> actual: oct. 523s # %h -> expected: nov. 523s # %h -> actual: nov. 523s # %Oh -> expected: déc. 523s # %Oh -> actual: déc. 523s # %B -> expected: ΙανουαÏίου 523s # %B -> actual: ΙανουαÏίου 523s # %B -> expected: ΦεβÏουαÏίου 523s # %B -> actual: ΦεβÏουαÏίου 523s # %B -> expected: ΜαÏτίου 523s # %B -> actual: ΜαÏτίου 523s # %OB -> expected: ΑπÏίλιος 523s # %OB -> actual: ΑπÏίλιος 523s # %OB -> expected: Μάιος 523s # %OB -> actual: Μάιος 523s # %OB -> expected: ΙοÏνιος 523s # %OB -> actual: ΙοÏνιος 523s # %b -> expected: Ιουλ 523s # %b -> actual: Ιουλ 523s # %Ob -> expected: ΑÏγ 523s # %Ob -> actual: ΑÏγ 523s # %B -> expected: svibnja 523s # %B -> actual: svibnja 523s # %B -> expected: lipnja 523s # %B -> actual: lipnja 523s # %B -> expected: srpnja 523s # %B -> actual: srpnja 523s # %OB -> expected: Kolovoz 523s # %OB -> actual: kolovoz 523s # %OB -> expected: Rujan 523s # %OB -> actual: rujan 523s # %OB -> expected: Listopad 523s # %OB -> actual: listopad 523s # %b -> expected: Stu 523s # %b -> actual: stu 523s # %Ob -> expected: Pro 523s # %Ob -> actual: pro 523s # %B -> expected: sausio 523s # %B -> actual: sausio 523s # %B -> expected: vasario 523s # %B -> actual: vasario 523s # %B -> expected: kovo 523s # %B -> actual: kovo 523s # %OB -> expected: balandis 523s # %OB -> actual: balandis 523s # %OB -> expected: gegužė 523s # %OB -> actual: gegužė 523s # %OB -> expected: birželis 523s # %OB -> actual: birželis 523s # %b -> expected: liep. 523s # %b -> actual: liep. 523s # %Ob -> expected: rugp. 523s # %Ob -> actual: rugp. 523s # %B -> expected: maja 523s # %B -> actual: maja 523s # %B -> expected: czerwca 523s # %B -> actual: czerwca 523s # %B -> expected: lipca 523s # %B -> actual: lipca 523s # %OB -> expected: sierpieÅ„ 523s # %OB -> actual: sierpieÅ„ 523s # %OB -> expected: wrzesieÅ„ 523s # %OB -> actual: wrzesieÅ„ 523s # %OB -> expected: październik 523s # %OB -> actual: październik 523s # %b -> expected: lis 523s # %b -> actual: lis 523s # %Ob -> expected: gru 523s # %Ob -> actual: gru 523s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 523s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 523s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 523s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 523s # %B -> expected: марта 523s # %B -> actual: марта 523s # %OB -> expected: Ðпрель 523s # %OB -> actual: Ðпрель 523s # %OB -> expected: Май 523s # %OB -> actual: Май 523s # %OB -> expected: Июнь 523s # %OB -> actual: Июнь 523s # %b -> expected: июл 523s # %b -> actual: июл 523s # %Ob -> expected: авг 523s # %Ob -> actual: авг 523s # %b -> expected: Ð¼Ð°Ñ 523s # %b -> actual: Ð¼Ð°Ñ 523s # %Ob -> expected: май 523s # %Ob -> actual: май 523s ok 38 /GDateTime/month_names 523s ok 39 /GDateTime/to_local 523s ok 40 /GDateTime/to_unix 523s ok 41 /GDateTime/to_timeval 523s ok 42 /GDateTime/to_utc 523s ok 43 /GDateTime/now_utc 523s ok 44 /GDateTime/dst 523s # Bug Reference: http://bugzilla.gnome.org/642935 523s ok 45 /GDateTime/test_z 524s ok 46 /GDateTime/test-all-dates 524s # slow test /GDateTime/test-all-dates executed in 1.23 secs 524s ok 47 /GDateTime/unix_usec 524s # Start of new_from_unix tests 524s # Bug Reference: http://bugzilla.gnome.org/782089 524s ok 48 /GDateTime/new_from_unix/overflow 524s # End of new_from_unix tests 524s # Start of new_from_timeval tests 524s # Bug Reference: http://bugzilla.gnome.org/782089 524s # Maximum supported GTimeVal.tv_sec = 253402300799 524s ok 49 /GDateTime/new_from_timeval/overflow 524s # End of new_from_timeval tests 524s # Start of new_from_iso8601 tests 524s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 524s # Vector 0: 1990-11-01T10:21:17Z 524s # Vector 1: 19901101T102117Z 524s # Vector 2: 1970-01-01T00:00:17.12Z 524s # Vector 3: 1970-01-01T00:00:17.1234Z 524s # Vector 4: 1970-01-01T00:00:17.123456Z 524s # Vector 5: 1980-02-22T12:36:00+02:00 524s # Vector 6: 1990-12-31T15:59:60-08:00 524s # Vector 7: 524s # Vector 8: x 524s # Vector 9: 123x 524s # Vector 10: 2001-10+x 524s # Vector 11: 1980-02-22T 524s # Vector 12: 2001-10-08Tx 524s # Vector 13: 2001-10-08T10:11x 524s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 524s # Vector 15: 1980-02-22T10:36:00Zulu 524s # Vector 16: 2T0+819855292164632335 524s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 524s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 524s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 524s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 524s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 524s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 524s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 524s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 524s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 524s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 524s # Vector 27: 20180803T140805.446178377+0100 524s # Vector 28: 21474836480803T140805.446178377+0100 524s # Vector 29: 20181303T140805.446178377+0100 524s # Vector 30: 20180003T140805.446178377+0100 524s # Vector 31: 20180800T140805.446178377+0100 524s # Vector 32: 20180832T140805.446178377+0100 524s # Vector 33: 20180803T240805.446178377+0100 524s # Vector 34: 20180803T146005.446178377+0100 524s # Vector 35: 20180803T140863.446178377+0100 524s # Vector 36: 20180803T140805.446178377+10000 524s # Vector 37: -0005-01-01T00:00:00Z 524s # Vector 38: 2018-08-06 524s # Vector 39: 20180803T140805,446178377+0100 524s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 524s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 524s # Vector 42: 1990-11-01T10:21:17 524s # Vector 43: 1719W462 407777-07 524s # Vector 44: 4011090 260528Z 524s # Vector 45: 0000W011 228214-22 524s ok 50 /GDateTime/new_from_iso8601/2 524s # End of new_from_iso8601 tests 524s # Start of format_mixed tests 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 524s # %b -> expected: mar 524s # %b -> actual: Mar 524s # %B -> expected: march 524s # %B -> actual: March 524s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 524s # %b -> expected: mar 524s # %b -> actual: Mar 524s # %B -> expected: march 524s # %B -> actual: March 524s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 524s # %b -> expected: Mär 524s # %b -> actual: Mär 524s # %B -> expected: März 524s # %B -> actual: März 524s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 524s # %b -> expected: Mär 524s # %b -> actual: Mär 524s # %B -> expected: März 524s # %B -> actual: März 524s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 524s # End of format_mixed tests 524s # Start of strftime tests 524s # %r -> expected: (null) 524s # %r -> actual: (null) 524s ok 55 /GDateTime/strftime/error_handling 524s # End of strftime tests 524s # Start of eras tests 524s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 524s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 524s # Vector 0: 524s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 524s # 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å¹´ 524s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 524s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 524s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 8: + 524s # Vector 9: +: 524s # Vector 10: +:: 524s # Vector 11: +:200 524s # Vector 12: +:2nonsense 524s # Vector 13: +:2nonsense: 524s # Vector 14: +:2: 524s # Vector 15: +:2:: 524s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 524s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 524s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 524s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 524s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 524s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 524s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 524s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 524s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 524s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 524s # Vector 28: +:2:2020/01/01 524s # Vector 29: +:2:2020/01/01: 524s # Vector 30: +:2:2020/01/01:: 524s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 524s # Vector 32: +:2:2020/01/01:+* 524s # Vector 33: +:2:2020/01/01:+*: 524s # Vector 34: +:2:2020/01/01:+*:: 524s # Vector 35: +:2:2020/01/01:+*:令和 524s # Vector 36: +:2:2020/01/01:+*:令和: 524s # Vector 37: +:2:2020/01/01:+*:令和:; 524s ok 58 /GDateTime/eras/parsing 524s # End of eras tests 524s # End of GDateTime tests 524s # Start of GTimeZone tests 524s ok 59 /GTimeZone/find-interval 524s ok 60 /GTimeZone/adjust-time 524s ok 61 /GTimeZone/no-header 524s ok 62 /GTimeZone/no-header-identifier 524s ok 63 /GTimeZone/posix-parse 524s # Bug Reference: http://bugzilla.gnome.org/697715 524s ok 64 /GTimeZone/floating-point 524s # System time zone identifier: Etc/UTC 524s ok 65 /GTimeZone/identifier 524s # Vector 0: -158400 524s # Vector 1: -10000 524s # Vector 2: -3600 524s # Vector 3: -61 524s # Vector 4: -60 524s # Vector 5: -59 524s # Vector 6: 0 524s # Vector 7: 59 524s # Vector 8: 60 524s # Vector 9: 61 524s # Vector 10: 3600 524s # Vector 11: 10000 524s # Vector 12: 158400 524s ok 66 /GTimeZone/new-offset 524s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 524s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 524s ok 67 /GTimeZone/parse-rfc8536 524s # /GTimeZone/caching summary: GTimeZone instances are cached 524s ok 68 /GTimeZone/caching 524s # End of GTimeZone tests 524s ok - glib/gdatetime.test 524s # Running test: glib/data-input-stream.test 524s TAP version 14 524s # random seed: R02S2783f33568a42d07df1786e13263bc24 524s 1..10 524s # Start of data-input-stream tests 524s ok 1 /data-input-stream/basic 524s ok 2 /data-input-stream/read-lines-LF 524s ok 3 /data-input-stream/read-lines-LF-valid-utf8 524s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 524s ok 5 /data-input-stream/read-lines-CR 524s ok 6 /data-input-stream/read-lines-CR-LF 524s ok 7 /data-input-stream/read-lines-any 524s ok 8 /data-input-stream/read-until 524s ok 9 /data-input-stream/read-upto 524s ok 10 /data-input-stream/read-int 524s # End of data-input-stream tests 524s ok - glib/data-input-stream.test 524s # Running test: glib/type.test 524s TAP version 14 524s # random seed: R02Sd82216539d938ef6374d9b16b7e5473e 524s 1..6 524s # Start of type tests 524s ok 1 /type/registration-serial 524s ok 2 /type/interface-prerequisite 524s ok 3 /type/interface-check 524s ok 4 /type/next-base 524s ok 5 /type/is-a 524s # Invalid types can?t be queried. 524s # Unclassed types can?t be queried. 524s ok 6 /type/query 524s # End of type tests 524s ok - glib/type.test 524s # Running test: glib/macros-c-89.test 524s TAP version 14 524s # random seed: R02Sae621e896566eef461cff6a8feac4469 524s 1..4 524s # Start of C tests 524s ok 1 /C/standard-89 524s # End of C tests 524s # Start of alignof tests 524s ok 2 /alignof/fallback 524s # End of alignof tests 524s # Start of assert tests 524s ok 3 /assert/static 524s # End of assert tests 524s # Start of struct tests 524s ok 4 /struct/sizeof_member 524s # End of struct tests 524s ok - glib/macros-c-89.test 524s # Running test: glib/socket-listener.test 524s TAP version 14 524s # random seed: R02S099ab7c971222d4c0324f99b5bf23e42 524s 1..1 524s # Start of socket-listener tests 524s ok 1 /socket-listener/event-signal 524s # End of socket-listener tests 524s ok - glib/socket-listener.test 524s # Running test: glib/onceinit.test 524s TAP version 14 524s # random seed: R02Seed97b73869e19acfbaeedf042605c92 524s 1..1 524s # Start of thread tests 524s ok 1 /thread/onceinit 524s # End of thread tests 524s ok - glib/onceinit.test 524s # Running test: glib/gdbus-bz627724.test 524s TAP version 14 524s # random seed: R02Seb3c9b2c7b10d0c0a06afde124758998 524s 1..1 524s # Start of gdbus tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_57RIX2/gdbus/bz627724/.dirs/runtime 524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s ok 1 /gdbus/bz627724 524s # End of gdbus tests 524s ok - glib/gdbus-bz627724.test 524s # Running test: glib/sort.test 524s TAP version 14 524s # random seed: R02Sa86e75fa37ae8c68c4c6d32311166f6c 524s 1..5 524s # Start of sort tests 524s ok 1 /sort/basic 524s ok 2 /sort/zero-elements 524s ok 3 /sort/stable 524s ok 4 /sort/big 524s ok 5 /sort/deprecated 524s # End of sort tests 524s ok - glib/sort.test 524s # Running test: glib/utils-isolated.test 524s TAP version 14 524s # random seed: R02S7ab2e041eba2dd74342d8de51f6e8fc7 524s 1..11 524s # Start of utils-isolated tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/tmp-dir/.dirs/runtime 524s ok 1 /utils-isolated/tmp-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/home-dir/.dirs/runtime 524s ok 2 /utils-isolated/home-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-cache-dir/.dirs/runtime 524s ok 3 /utils-isolated/user-cache-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-config-dirs/.dirs/runtime 524s ok 4 /utils-isolated/system-config-dirs 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-config-dir/.dirs/runtime 524s ok 5 /utils-isolated/user-config-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/system-data-dirs/.dirs/runtime 524s ok 6 /utils-isolated/system-data-dirs 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-data-dir/.dirs/runtime 524s ok 7 /utils-isolated/user-data-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-state-dir/.dirs/runtime 524s ok 8 /utils-isolated/user-state-dir 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/user-runtime-dir/.dirs/runtime 524s ok 9 /utils-isolated/user-runtime-dir 524s # Start of cleanup tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 524s Unable to clean up temporary directory /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 524s Unable to clean up temporary directory /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 524s Unable to clean up temporary directory /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/handles-errors: Directory not empty 524s ok 10 /utils-isolated/cleanup/handles-errors 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 524s Unable to clean up temporary directory /tmp/test_utils-isolated_N2GKX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 524s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 524s # End of cleanup tests 524s # End of utils-isolated tests 524s ok - glib/utils-isolated.test 524s # Running test: glib/array-test.test 524s TAP version 14 524s # random seed: R02S1a490fba8ec28c598f7294c2a04259fe 524s 1..113 524s # Start of array tests 524s ok 1 /array/ref-count 524s ok 2 /array/steal 524s ok 3 /array/clear-func 524s ok 4 /array/binary-search 524s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 524s ok 5 /array/copy-sized 524s ok 6 /array/overflow-append-vals 524s ok 7 /array/overflow-set-size 524s # Start of new tests 524s ok 8 /array/new/zero-terminated 524s ok 9 /array/new/take 524s ok 10 /array/new/take-zero-terminated 524s # Start of take tests 524s ok 11 /array/new/take/empty 524s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 524s # End of take tests 524s # End of new tests 524s # Start of set-size tests 524s ok 13 /array/set-size/non-zero-terminated-no-clear 524s ok 14 /array/set-size/non-zero-terminated-clear 524s ok 15 /array/set-size/zero-terminated-no-clear 524s ok 16 /array/set-size/zero-terminated-clear 524s # Start of sized tests 524s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 524s ok 18 /array/set-size/sized/non-zero-terminated-clear 524s ok 19 /array/set-size/sized/zero-terminated-no-clear 524s ok 20 /array/set-size/sized/zero-terminated-clear 524s # End of sized tests 524s # End of set-size tests 524s # Start of append-val tests 524s ok 21 /array/append-val/non-zero-terminated-no-clear 524s ok 22 /array/append-val/non-zero-terminated-clear 524s ok 23 /array/append-val/zero-terminated-no-clear 524s ok 24 /array/append-val/zero-terminated-clear 524s # End of append-val tests 524s # Start of prepend-val tests 524s ok 25 /array/prepend-val/non-zero-terminated-no-clear 524s ok 26 /array/prepend-val/non-zero-terminated-clear 524s ok 27 /array/prepend-val/zero-terminated-no-clear 524s ok 28 /array/prepend-val/zero-terminated-clear 524s # End of prepend-val tests 524s # Start of prepend-vals tests 524s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 524s ok 30 /array/prepend-vals/non-zero-terminated-clear 524s ok 31 /array/prepend-vals/zero-terminated-no-clear 524s ok 32 /array/prepend-vals/zero-terminated-clear 524s # End of prepend-vals tests 524s # Start of insert-vals tests 524s ok 33 /array/insert-vals/non-zero-terminated-no-clear 524s ok 34 /array/insert-vals/non-zero-terminated-clear 524s ok 35 /array/insert-vals/zero-terminated-no-clear 524s ok 36 /array/insert-vals/zero-terminated-clear 524s # End of insert-vals tests 524s # Start of remove-index tests 524s ok 37 /array/remove-index/non-zero-terminated-no-clear 524s ok 38 /array/remove-index/non-zero-terminated-clear 524s ok 39 /array/remove-index/zero-terminated-no-clear 524s ok 40 /array/remove-index/zero-terminated-clear 524s # End of remove-index tests 524s # Start of remove-index-fast tests 524s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 524s ok 42 /array/remove-index-fast/non-zero-terminated-clear 524s ok 43 /array/remove-index-fast/zero-terminated-no-clear 524s ok 44 /array/remove-index-fast/zero-terminated-clear 524s # End of remove-index-fast tests 524s # Start of remove-range tests 524s ok 45 /array/remove-range/non-zero-terminated-no-clear 524s ok 46 /array/remove-range/non-zero-terminated-clear 524s ok 47 /array/remove-range/zero-terminated-no-clear 524s ok 48 /array/remove-range/zero-terminated-clear 524s # End of remove-range tests 524s # Start of copy tests 524s ok 49 /array/copy/non-zero-terminated-no-clear 524s ok 50 /array/copy/non-zero-terminated-clear 524s ok 51 /array/copy/zero-terminated-no-clear 524s ok 52 /array/copy/zero-terminated-clear 524s # End of copy tests 524s # Start of sort tests 524s ok 53 /array/sort/non-zero-terminated-no-clear 524s ok 54 /array/sort/non-zero-terminated-clear 524s ok 55 /array/sort/zero-terminated-no-clear 524s ok 56 /array/sort/zero-terminated-clear 524s # End of sort tests 524s # Start of sort-with-data tests 524s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 524s ok 58 /array/sort-with-data/non-zero-terminated-clear 524s ok 59 /array/sort-with-data/zero-terminated-no-clear 524s ok 60 /array/sort-with-data/zero-terminated-clear 524s # End of sort-with-data tests 524s # End of array tests 524s # Start of pointerarray tests 524s ok 61 /pointerarray/add 524s ok 62 /pointerarray/insert 524s ok 63 /pointerarray/new-take 524s ok 64 /pointerarray/new-take-null-terminated 524s ok 65 /pointerarray/new-from-array 524s ok 66 /pointerarray/new-from-null-terminated-array 524s ok 67 /pointerarray/free-func 524s ok 68 /pointerarray/array_extend_and_steal 524s ok 69 /pointerarray/sort 524s # Executing: glib/array-test.test 524s ok 70 /pointerarray/sort-with-data 524s ok 71 /pointerarray/sort-values 524s ok 72 /pointerarray/sort-values-with-data 524s ok 73 /pointerarray/remove-range 524s ok 74 /pointerarray/steal 524s # Start of free tests 524s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 524s ok 75 /pointerarray/free/null-terminated 524s # End of free tests 524s # Start of new-take tests 524s ok 76 /pointerarray/new-take/empty 524s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 524s ok 78 /pointerarray/new-take/with-free-func 524s # End of new-take tests 524s # Start of new-take-null-terminated tests 524s ok 79 /pointerarray/new-take-null-terminated/empty 524s ok 80 /pointerarray/new-take-null-terminated/with-free-func 524s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 524s # End of new-take-null-terminated tests 524s # Start of new-from-array tests 524s ok 82 /pointerarray/new-from-array/empty 524s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 524s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 524s # End of new-from-array tests 524s # Start of new-from-null-terminated-array tests 524s ok 85 /pointerarray/new-from-null-terminated-array/empty 524s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 524s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 524s # End of new-from-null-terminated-array tests 524s # Start of ref-count tests 524s ok 88 /pointerarray/ref-count/not-null-terminated 524s ok 89 /pointerarray/ref-count/null-terminated 524s # End of ref-count tests 524s # Start of array_copy tests 524s # /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 524s ok 90 /pointerarray/array_copy/not-null-terminated 524s # /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 524s ok 91 /pointerarray/array_copy/null-terminated 524s # End of array_copy tests 524s # Start of array_extend tests 524s ok 92 /pointerarray/array_extend/not-null-terminated 524s ok 93 /pointerarray/array_extend/null-terminated 524s # End of array_extend tests 524s # Start of sort tests 524s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 524s ok 94 /pointerarray/sort/example 524s # End of sort tests 524s # Start of sort-with-data tests 524s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 524s ok 95 /pointerarray/sort-with-data/example 524s # End of sort-with-data tests 524s # Start of sort-values tests 524s ok 96 /pointerarray/sort-values/example 524s # End of sort-values tests 524s # Start of sort-values-with-data tests 524s ok 97 /pointerarray/sort-values-with-data/example 524s # End of sort-values-with-data tests 524s # Start of find tests 524s ok 98 /pointerarray/find/empty 524s ok 99 /pointerarray/find/non-empty 524s # End of find tests 524s # Start of steal_index tests 524s ok 100 /pointerarray/steal_index/not-null-terminated 524s ok 101 /pointerarray/steal_index/null-terminated 524s # End of steal_index tests 524s # End of pointerarray tests 524s # Start of bytearray tests 524s ok 102 /bytearray/steal 524s ok 103 /bytearray/append 524s ok 104 /bytearray/prepend 524s ok 105 /bytearray/remove 524s ok 106 /bytearray/remove-fast 524s ok 107 /bytearray/remove-range 524s ok 108 /bytearray/ref-count 524s ok 109 /bytearray/sort 524s ok 110 /bytearray/sort-with-data 524s ok 111 /bytearray/new-take 524s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 524s ok 113 /bytearray/free-to-bytes 524s # End of bytearray tests 524s ok - glib/array-test.test 524s # Running test: glib/tls-database.test 524s TAP version 14 524s # random seed: R02Se5b72939779ee850568c6f0343a276a0 524s 1..1 524s # Start of tls-backend tests 524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 524s ok 1 /tls-backend/set-default-database 524s # End of tls-backend tests 524s ok - glib/tls-database.test 524s # Running test: glib/defaultvalue.test 524s TAP version 14 524s # random seed: R02S5fc87c0b3d043fbda426e537a1f648f4 524s 1..84 524s # Start of Default Values tests 524s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 524s ok 2 /Default Values/GAppLaunchContext 524s ok 3 /Default Values/GApplicationCommandLine 524s # skipping GApplication:is-remote 524s ok 4 /Default Values/GApplication 524s ok 5 /Default Values/GBinding # SKIP mandatory construct params 524s ok 6 /Default Values/GBindingGroup 524s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 524s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 524s ok 9 /Default Values/GBytesIcon 524s ok 10 /Default Values/GCancellable 524s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 524s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 524s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 524s ok 14 /Default Values/GCredentials 524s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 524s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 524s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 524s ok 18 /Default Values/GDBusAuthObserver 524s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 524s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 524s ok 21 /Default Values/GDBusMessage 524s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 524s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 524s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 524s ok 25 /Default Values/GDBusObjectProxy 524s ok 26 /Default Values/GDBusObjectSkeleton 524s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 524s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 524s ok 29 /Default Values/GEmblem 524s ok 30 /Default Values/GEmblemedIcon 524s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 524s ok 32 /Default Values/GFileInfo 524s ok 33 /Default Values/GFileInputStream 524s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 524s ok 35 /Default Values/GFileOutputStream 524s ok 36 /Default Values/GFilenameCompleter 524s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 524s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 524s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 524s ok 40 /Default Values/GInitiallyUnowned 524s ok 41 /Default Values/GIOModule 524s ok 42 /Default Values/GListStore 524s ok 43 /Default Values/GMemoryInputStream 524s ok 44 /Default Values/GMemoryOutputStream 524s ok 45 /Default Values/GMenu 524s ok 46 /Default Values/GMenuItem 524s ok 47 /Default Values/GMountOperation 524s ok 48 /Default Values/GNativeSocketAddress 524s ok 49 /Default Values/GNetworkAddress 524s ok 50 /Default Values/GNetworkService 524s ok 51 /Default Values/GNotification 524s ok 52 /Default Values/GObject 524s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 524s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 524s # skipping GProxyAddressEnumerator:proxy-resolver 524s ok 54 /Default Values/GProxyAddressEnumerator 524s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 524s ok 56 /Default Values/GSettings # SKIP mandatory construct params 524s ok 57 /Default Values/GSignalGroup 524s ok 58 /Default Values/GSimpleAction 524s ok 59 /Default Values/GSimpleActionGroup 524s ok 60 /Default Values/GSimpleAsyncResult 524s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 524s ok 62 /Default Values/GSimplePermission 524s ok 63 /Default Values/GSimpleProxyResolver 524s # skipping GSocketClient:proxy-resolver 524s ok 64 /Default Values/GSocketClient 524s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 524s ok 66 /Default Values/GSocket # SKIP initialization failed 524s ok 67 /Default Values/GSocketListener 524s ok 68 /Default Values/GSocketService 524s ok 69 /Default Values/GSubprocess # SKIP initialization failed 524s ok 70 /Default Values/GSubprocessLauncher 524s # GLib-GIO-DEBUG: GTask 0x2aa22b57fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 524s ok 71 /Default Values/GTask 524s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 524s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 524s ok 74 /Default Values/GTestDBus 524s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 524s ok 76 /Default Values/GThreadedSocketService 524s ok 77 /Default Values/GTlsInteraction 524s ok 78 /Default Values/GTlsPassword 524s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 524s ok 80 /Default Values/GUnixFDList 524s ok 81 /Default Values/GVfs 524s ok 82 /Default Values/GVolumeMonitor 524s ok 83 /Default Values/GZlibCompressor 524s ok 84 /Default Values/GZlibDecompressor 524s # End of Default Values tests 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 524s ok - glib/defaultvalue.test 524s # Running test: glib/gdbus-error.test 524s TAP version 14 524s # random seed: R02S10287dc04eda8bf8fe00c8693762f50a 524s 1..4 524s # Start of gdbus tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GP7JX2/gdbus/registered-errors/.dirs/runtime 524s ok 1 /gdbus/registered-errors 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GP7JX2/gdbus/unregistered-errors/.dirs/runtime 524s ok 2 /gdbus/unregistered-errors 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GP7JX2/gdbus/transparent-gerror/.dirs/runtime 524s ok 3 /gdbus/transparent-gerror 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GP7JX2/gdbus/register-error/.dirs/runtime 524s ok 4 /gdbus/register-error 524s # End of gdbus tests 524s ok - glib/gdbus-error.test 524s # Running test: glib/memory-monitor-dbus.test 524s TAP version 13 524s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 525s 1..1 525s ok - glib/memory-monitor-dbus.test 525s # Running test: glib/glistmodel.test 525s TAP version 14 525s # random seed: R02S0de9f4fb42ae59e512f8d71f7e27abab 525s 1..18 525s # Start of glistmodel tests 525s # Start of store tests 525s ok 1 /glistmodel/store/properties 525s ok 2 /glistmodel/store/non-gobjects 525s ok 3 /glistmodel/store/boundaries 525s ok 4 /glistmodel/store/refcounts 525s ok 5 /glistmodel/store/sorted 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 525s ok 6 /glistmodel/store/splice-replace-middle 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 525s ok 7 /glistmodel/store/splice-replace-all 525s ok 8 /glistmodel/store/splice-noop 525s ok 9 /glistmodel/store/splice-remove-multiple 525s ok 10 /glistmodel/store/splice-add-multiple 525s ok 11 /glistmodel/store/splice-wrong-type 525s ok 12 /glistmodel/store/item-type 525s ok 13 /glistmodel/store/remove-all 525s ok 14 /glistmodel/store/sort 525s ok 15 /glistmodel/store/get-item-cache 525s ok 16 /glistmodel/store/items-changed 525s ok 17 /glistmodel/store/past-end 525s ok 18 /glistmodel/store/find 525s # End of store tests 525s # End of glistmodel tests 525s ok - glib/glistmodel.test 525s # Running test: glib/mem-overflow.test 525s TAP version 14 525s # random seed: R02S636f71223f2824ec7dd6ba32dedfa2f2 525s 1..2 525s # Start of mem tests 525s ok 1 /mem/overflow 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 525s ok 2 /mem/empty-alloc 525s # Start of overflow tests 525s # Start of subprocess tests 525s # End of subprocess tests 525s # End of overflow tests 525s # Start of empty-alloc tests 525s # End of empty-alloc tests 525s # End of mem tests 525s ok - glib/mem-overflow.test 525s # Running test: glib/object.test 525s TAP version 14 525s # random seed: R02S5942dd1480af32c5e6351cdb324f42ef 525s 1..2 525s # Start of object tests 525s # Start of constructor tests 525s ok 1 /object/constructor/singleton 525s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 525s # End of constructor tests 525s # End of object tests 525s ok - glib/object.test 525s # Running test: glib/buffered-output-stream.test 525s TAP version 14 525s # random seed: R02Sa1ec1f3d7d0f959fad8953d5a0cc31b3 525s 1..5 525s # Start of buffered-output-stream tests 525s ok 1 /buffered-output-stream/write 525s ok 2 /buffered-output-stream/grow 525s ok 3 /buffered-output-stream/seek 525s ok 4 /buffered-output-stream/truncate 525s # End of buffered-output-stream tests 525s # Start of filter-output-stream tests 525s ok 5 /filter-output-stream/close 525s # End of filter-output-stream tests 525s ok - glib/buffered-output-stream.test 525s # Running test: glib/unicode-encoding.test 525s TAP version 14 525s # random seed: R02Sb63e30840b29ec53a65b498babd59d6c 525s 1..1 525s # Start of unicode tests 525s ok 1 /unicode/encoding 525s # End of unicode tests 525s ok - glib/unicode-encoding.test 525s # Running test: glib/refcount.test 525s TAP version 14 525s # random seed: R02Sfad91b9ac196ab68dab7e68e7ffee76a 525s 1..4 525s # Start of refcount tests 525s ok 1 /refcount/grefcount 525s ok 2 /refcount/gatomicrefcount 525s # Start of grefcount tests 525s ok 3 /refcount/grefcount/saturation 525s # End of grefcount tests 525s # Start of gatomicrefcount tests 525s ok 4 /refcount/gatomicrefcount/saturation 525s # End of gatomicrefcount tests 525s # End of refcount tests 525s ok - glib/refcount.test 525s # Running test: glib/unix-mounts.test 525s TAP version 14 525s # random seed: R02S6b29b6a9f896b3a2e9657a0c5994c548 525s 1..4 525s # Start of unix-mounts tests 525s ok 1 /unix-mounts/is-system-fs-type 525s ok 2 /unix-mounts/is-system-device-path 525s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 525s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 525s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 525s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 525s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 525s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 525s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 525s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 525s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 525s ok 3 /unix-mounts/get-mount-points 525s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 525s ok 4 /unix-mounts/get-mount-entries 525s # End of unix-mounts tests 525s ok - glib/unix-mounts.test 525s # Running test: glib/properties-refcount3.test 525s TAP version 14 525s # random seed: R02S81da99e843cfeafe8aa3ff9af21f3a99 525s 1..1 525s # Start of gobject tests 525s # Start of refcount tests 529s # Executing: glib/properties-refcount3.test 534s # Executing: glib/properties-refcount3.test 539s # Executing: glib/properties-refcount3.test 544s # Executing: glib/properties-refcount3.test 549s # Executing: glib/properties-refcount3.test 554s # Executing: glib/properties-refcount3.test 555s # 555s # stopping 555s # 555s # stopped 555s # 555s # 41399196 2397048 555s # 555s ok 1 /gobject/refcount/properties-3 555s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 555s # End of refcount tests 555s # End of gobject tests 555s ok - glib/properties-refcount3.test 555s # Running test: glib/utf8-validate.test 555s TAP version 14 555s # random seed: R02S63fb8c2520018eea2bbf0e78cbf7738e 555s 1..216 555s # Start of utf8 tests 555s # Vector 0 555s # Vector 1 555s # Vector 2 555s # Vector 3 555s # Vector 4 555s # Vector 5 555s # Vector 6 555s # Vector 7 555s # Vector 8 555s # Vector 9 555s # Vector 10 555s # Vector 11 555s # Vector 12 555s # Vector 13 555s # Vector 14 555s # Vector 15 555s # Vector 16 555s # Vector 17 555s # Vector 18 555s # Vector 19 555s # Vector 20 555s # Vector 21 555s # Vector 22 555s # Vector 23 555s # Vector 24 555s # Vector 25 555s # Vector 26 555s # Vector 27 555s ok 1 /utf8/get-char-validated 555s # Start of validate tests 555s ok 2 /utf8/validate/0 555s ok 3 /utf8/validate/1 555s ok 4 /utf8/validate/2 555s ok 5 /utf8/validate/3 555s ok 6 /utf8/validate/4 555s ok 7 /utf8/validate/5 555s ok 8 /utf8/validate/6 555s ok 9 /utf8/validate/7 555s ok 10 /utf8/validate/8 555s ok 11 /utf8/validate/9 555s ok 12 /utf8/validate/10 555s ok 13 /utf8/validate/11 555s ok 14 /utf8/validate/12 555s ok 15 /utf8/validate/13 555s ok 16 /utf8/validate/14 555s ok 17 /utf8/validate/15 555s ok 18 /utf8/validate/16 555s ok 19 /utf8/validate/17 555s ok 20 /utf8/validate/18 555s ok 21 /utf8/validate/19 555s ok 22 /utf8/validate/20 555s ok 23 /utf8/validate/21 555s ok 24 /utf8/validate/22 555s ok 25 /utf8/validate/23 555s ok 26 /utf8/validate/24 555s ok 27 /utf8/validate/25 555s ok 28 /utf8/validate/26 555s ok 29 /utf8/validate/27 555s ok 30 /utf8/validate/28 555s ok 31 /utf8/validate/29 555s ok 32 /utf8/validate/30 555s ok 33 /utf8/validate/31 555s ok 34 /utf8/validate/32 555s ok 35 /utf8/validate/33 555s ok 36 /utf8/validate/34 555s ok 37 /utf8/validate/35 555s ok 38 /utf8/validate/36 555s ok 39 /utf8/validate/37 555s ok 40 /utf8/validate/38 555s ok 41 /utf8/validate/39 555s ok 42 /utf8/validate/40 555s ok 43 /utf8/validate/41 555s ok 44 /utf8/validate/42 555s ok 45 /utf8/validate/43 555s ok 46 /utf8/validate/44 555s ok 47 /utf8/validate/45 555s ok 48 /utf8/validate/46 555s ok 49 /utf8/validate/47 555s ok 50 /utf8/validate/48 555s ok 51 /utf8/validate/49 555s ok 52 /utf8/validate/50 555s ok 53 /utf8/validate/51 555s ok 54 /utf8/validate/52 555s ok 55 /utf8/validate/53 555s ok 56 /utf8/validate/54 555s ok 57 /utf8/validate/55 555s ok 58 /utf8/validate/56 555s ok 59 /utf8/validate/57 555s ok 60 /utf8/validate/58 555s ok 61 /utf8/validate/59 555s ok 62 /utf8/validate/60 555s ok 63 /utf8/validate/61 555s ok 64 /utf8/validate/62 555s ok 65 /utf8/validate/63 555s ok 66 /utf8/validate/64 555s ok 67 /utf8/validate/65 555s ok 68 /utf8/validate/66 555s ok 69 /utf8/validate/67 555s ok 70 /utf8/validate/68 555s ok 71 /utf8/validate/69 555s ok 72 /utf8/validate/70 555s ok 73 /utf8/validate/71 555s ok 74 /utf8/validate/72 555s ok 75 /utf8/validate/73 555s ok 76 /utf8/validate/74 555s ok 77 /utf8/validate/75 555s ok 78 /utf8/validate/76 555s ok 79 /utf8/validate/77 555s ok 80 /utf8/validate/78 555s ok 81 /utf8/validate/79 555s ok 82 /utf8/validate/80 555s ok 83 /utf8/validate/81 555s ok 84 /utf8/validate/82 555s ok 85 /utf8/validate/83 555s ok 86 /utf8/validate/84 555s ok 87 /utf8/validate/85 555s ok 88 /utf8/validate/86 555s ok 89 /utf8/validate/87 555s ok 90 /utf8/validate/88 555s ok 91 /utf8/validate/89 555s ok 92 /utf8/validate/90 555s ok 93 /utf8/validate/91 555s ok 94 /utf8/validate/92 555s ok 95 /utf8/validate/93 555s ok 96 /utf8/validate/94 555s ok 97 /utf8/validate/95 555s ok 98 /utf8/validate/96 555s ok 99 /utf8/validate/97 555s ok 100 /utf8/validate/98 555s ok 101 /utf8/validate/99 555s ok 102 /utf8/validate/100 555s ok 103 /utf8/validate/101 555s ok 104 /utf8/validate/102 555s ok 105 /utf8/validate/103 555s ok 106 /utf8/validate/104 555s ok 107 /utf8/validate/105 555s ok 108 /utf8/validate/106 555s ok 109 /utf8/validate/107 555s ok 110 /utf8/validate/108 555s ok 111 /utf8/validate/109 555s ok 112 /utf8/validate/110 555s ok 113 /utf8/validate/111 555s ok 114 /utf8/validate/112 555s ok 115 /utf8/validate/113 555s ok 116 /utf8/validate/114 555s ok 117 /utf8/validate/115 555s ok 118 /utf8/validate/116 555s ok 119 /utf8/validate/117 555s ok 120 /utf8/validate/118 555s ok 121 /utf8/validate/119 555s ok 122 /utf8/validate/120 555s ok 123 /utf8/validate/121 555s ok 124 /utf8/validate/122 555s ok 125 /utf8/validate/123 555s ok 126 /utf8/validate/124 555s ok 127 /utf8/validate/125 555s ok 128 /utf8/validate/126 555s ok 129 /utf8/validate/127 555s ok 130 /utf8/validate/128 555s ok 131 /utf8/validate/129 555s ok 132 /utf8/validate/130 555s ok 133 /utf8/validate/131 555s ok 134 /utf8/validate/132 555s ok 135 /utf8/validate/133 555s ok 136 /utf8/validate/134 555s ok 137 /utf8/validate/135 555s ok 138 /utf8/validate/136 555s ok 139 /utf8/validate/137 555s ok 140 /utf8/validate/138 555s ok 141 /utf8/validate/139 555s ok 142 /utf8/validate/140 555s ok 143 /utf8/validate/141 555s ok 144 /utf8/validate/142 555s ok 145 /utf8/validate/143 555s ok 146 /utf8/validate/144 555s ok 147 /utf8/validate/145 555s ok 148 /utf8/validate/146 555s ok 149 /utf8/validate/147 555s ok 150 /utf8/validate/148 555s ok 151 /utf8/validate/149 555s ok 152 /utf8/validate/150 555s ok 153 /utf8/validate/151 555s ok 154 /utf8/validate/152 555s ok 155 /utf8/validate/153 555s ok 156 /utf8/validate/154 555s ok 157 /utf8/validate/155 555s ok 158 /utf8/validate/156 555s ok 159 /utf8/validate/157 555s ok 160 /utf8/validate/158 555s ok 161 /utf8/validate/159 555s ok 162 /utf8/validate/160 555s ok 163 /utf8/validate/161 555s ok 164 /utf8/validate/162 555s ok 165 /utf8/validate/163 555s ok 166 /utf8/validate/164 555s ok 167 /utf8/validate/165 555s ok 168 /utf8/validate/166 555s ok 169 /utf8/validate/167 555s ok 170 /utf8/validate/168 555s ok 171 /utf8/validate/169 555s ok 172 /utf8/validate/170 555s ok 173 /utf8/validate/171 555s ok 174 /utf8/validate/172 555s ok 175 /utf8/validate/173 555s ok 176 /utf8/validate/174 555s ok 177 /utf8/validate/175 555s ok 178 /utf8/validate/176 555s ok 179 /utf8/validate/177 555s ok 180 /utf8/validate/178 555s ok 181 /utf8/validate/179 555s ok 182 /utf8/validate/180 555s ok 183 /utf8/validate/181 555s ok 184 /utf8/validate/182 555s ok 185 /utf8/validate/183 555s ok 186 /utf8/validate/184 555s ok 187 /utf8/validate/185 555s ok 188 /utf8/validate/186 555s ok 189 /utf8/validate/187 555s ok 190 /utf8/validate/188 555s ok 191 /utf8/validate/189 555s ok 192 /utf8/validate/190 555s ok 193 /utf8/validate/191 555s ok 194 /utf8/validate/192 555s ok 195 /utf8/validate/193 555s ok 196 /utf8/validate/194 555s ok 197 /utf8/validate/195 555s ok 198 /utf8/validate/196 555s ok 199 /utf8/validate/197 555s ok 200 /utf8/validate/198 555s ok 201 /utf8/validate/199 555s ok 202 /utf8/validate/200 555s ok 203 /utf8/validate/201 555s ok 204 /utf8/validate/202 555s ok 205 /utf8/validate/203 555s ok 206 /utf8/validate/204 555s ok 207 /utf8/validate/205 555s ok 208 /utf8/validate/206 555s ok 209 /utf8/validate/207 555s ok 210 /utf8/validate/208 555s ok 211 /utf8/validate/209 555s ok 212 /utf8/validate/210 555s ok 213 /utf8/validate/211 555s ok 214 /utf8/validate/212 555s ok 215 /utf8/validate/213 555s ok 216 /utf8/validate/214 555s # End of validate tests 555s # End of utf8 tests 555s ok - glib/utf8-validate.test 555s # Running test: glib/gdbus-peer-object-manager.test 555s TAP version 14 555s # random seed: R02Sb59dd720da173843d2f5cde17517514a 555s 1..2 555s # Start of gdbus tests 555s # Start of peer-object-manager tests 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/normal/.dirs/runtime 555s ok 1 /gdbus/peer-object-manager/normal 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_BJI5W2/gdbus/peer-object-manager/root/.dirs/runtime 555s ok 2 /gdbus/peer-object-manager/root 555s # End of peer-object-manager tests 555s # End of gdbus tests 555s ok - glib/gdbus-peer-object-manager.test 555s # Running test: glib/portal-support-snap.test 555s TAP version 14 555s # random seed: R02S3b0e4f48a504053045febf2acfe9e899 555s 1..7 555s # Start of portal-support tests 555s # Start of snap tests 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/no-snapctl: No such file or directory 555s ok 1 /portal-support/snap/no-snapctl 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/none: No such file or directory 555s ok 2 /portal-support/snap/none 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/all: No such file or directory 555s ok 3 /portal-support/snap/all 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/desktop-only: No such file or directory 555s ok 4 /portal-support/snap/desktop-only 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/network-only: No such file or directory 555s ok 5 /portal-support/snap/network-only 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/gsettings-only: No such file or directory 555s ok 6 /portal-support/snap/gsettings-only 555s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/home 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/cache 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/system-config2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/config 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/system-data2 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/data 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/state 555s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime 555s # Created snap.yaml in /tmp/test_portal-support-snap_PJQ5W2/meta/snap.yaml 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s # Created snapctl in /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2/portal-support/snap/updates-dynamically: No such file or directory 555s ok 7 /portal-support/snap/updates-dynamically 555s # End of snap tests 555s # End of portal-support tests 555s Unable to clean up temporary directory /tmp/test_portal-support-snap_PJQ5W2: No such file or directory 555s ok - glib/portal-support-snap.test 555s # Running test: glib/giomodule.test 555s TAP version 14 555s # random seed: R02S8dca9548ed766ae39bb34a59ade67647 555s 1..3 555s # Start of giomodule tests 555s ok 1 /giomodule/extension-point 555s ok 2 /giomodule/module-scan-all 555s ok 3 /giomodule/module-scan-all-with-scope 555s # End of giomodule tests 555s ok - glib/giomodule.test 555s # Running test: glib/io-channel.test 555s TAP version 14 555s # random seed: R02S38eef9fa6190e0b6bfaf384f378d686b 555s 1..2 555s # Start of io-channel tests 555s # Line one 555s # 555s # Line two 555s # 555s # Line three 555s # 555s # /* Hello */ 555s # 555s # \x1234\x567890\x6666 555s # 555s # read 62 bytes, wrote 62 bytes 555s ok 1 /io-channel/read-write 555s # Start of read-line tests 555s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 555s ok 2 /io-channel/read-line/embedded-nuls 555s # End of read-line tests 555s # End of io-channel tests 555s ok - glib/io-channel.test 555s # Running test: glib/closure.test 555s TAP version 14 555s # random seed: R02Sc2b07b37a5ed8b0af2e88413ff8e68bc 555s 1..6 555s # Start of closure tests 555s ok 1 /closure/idle 555s ok 2 /closure/timeout 555s ok 3 /closure/iochannel 555s ok 4 /closure/child 555s ok 5 /closure/fd 555s ok 6 /closure/signal 555s # End of closure tests 555s ok - glib/closure.test 555s # Running test: glib/refstring.test 555s TAP version 14 555s # random seed: R02Sdfac178f3edc4654e8fdaec0f51c994c 555s 1..5 555s # Start of refstring tests 555s # s = 'hello, world' (0x2aa3ced85d0) 555s ok 1 /refstring/base 555s ok 2 /refstring/length 555s ok 3 /refstring/length-auto 555s ok 4 /refstring/length-nuls 555s # s = 'hello, world' (0x2aa3ced85d0) 555s # p = s = 'hello, world' (0x2aa3ced85d0) 555s # releasing p[0x2aa3ced85d0] ('hello, world') 555s # p = 'goodbye, world' (0x2aa3ced86a0) 555s # releasing p[0x2aa3ced86a0] ('goodbye, world') 555s # releasing s[0x2aa3ced85d0] ('hello, world') 555s ok 5 /refstring/intern 555s # End of refstring tests 555s ok - glib/refstring.test 555s # Running test: glib/codegen.py.test 555s TAP version 13 555s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 555s # tmpdir: /tmp/tmp75cpb5xh 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmp75cpb5xh/tmpqy_fat2_.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp75cpb5xh/tmpqy_fat2_.xml', '--output', '-', '--header'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifndef __STDOUT__ 555s # #define __STDOUT__ 555s # 555s # #include 555s # 555s # G_BEGIN_DECLS 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # /* Declarations for org.project.UsefulInterface */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 555s # 555s # struct _OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 555s # 555s # struct _OrgProjectUsefulInterfaceIface 555s # { 555s # GTypeInterface parent_iface; 555s # 555s # gboolean (*handle_useful_method) ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # }; 555s # 555s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 555s # 555s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 555s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 555s # 555s # 555s # /* D-Bus method call completion functions: */ 555s # void org_project_useful_interface_complete_useful_method ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # 555s # 555s # /* D-Bus method calls: */ 555s # void org_project_useful_interface_call_useful_method ( 555s # OrgProjectUsefulInterface *proxy, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 555s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 555s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceProxy 555s # { 555s # /*< private >*/ 555s # GDBusProxy parent_instance; 555s # OrgProjectUsefulInterfaceProxyPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceProxyClass 555s # { 555s # GDBusProxyClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 555s # #endif 555s # 555s # void org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # void org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeleton 555s # { 555s # /*< private >*/ 555s # GDBusInterfaceSkeleton parent_instance; 555s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonClass 555s # { 555s # GDBusInterfaceSkeletonClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 555s # #endif 555s # 555s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 555s # 555s # 555s # G_END_DECLS 555s # 555s # #endif /* __STDOUT__ */ 555s # /tmp/tmp75cpb5xh/tmpun4ofhau.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp75cpb5xh/tmpun4ofhau.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifndef __STDOUT__ 555s # #define __STDOUT__ 555s # 555s # #include 555s # 555s # G_BEGIN_DECLS 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # /* Declarations for org.project.UsefulInterface */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 555s # 555s # struct _OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 555s # 555s # struct _OrgProjectUsefulInterfaceIface 555s # { 555s # GTypeInterface parent_iface; 555s # 555s # gboolean (*handle_useful_method) ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # }; 555s # 555s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 555s # 555s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 555s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 555s # 555s # 555s # /* D-Bus method call completion functions: */ 555s # void org_project_useful_interface_complete_useful_method ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # 555s # 555s # /* D-Bus method calls: */ 555s # void org_project_useful_interface_call_useful_method ( 555s # OrgProjectUsefulInterface *proxy, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 555s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 555s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceProxy 555s # { 555s # /*< private >*/ 555s # GDBusProxy parent_instance; 555s # OrgProjectUsefulInterfaceProxyPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceProxyClass 555s # { 555s # GDBusProxyClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 555s # #endif 555s # 555s # void org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # void org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeleton 555s # { 555s # /*< private >*/ 555s # GDBusInterfaceSkeleton parent_instance; 555s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonClass 555s # { 555s # GDBusInterfaceSkeletonClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 555s # #endif 555s # 555s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 555s # 555s # 555s # G_END_DECLS 555s # 555s # #endif /* __STDOUT__ */ 555s # /tmp/tmp75cpb5xh/tmp7ql9ipv6.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp75cpb5xh/tmp7ql9ipv6.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifndef __STDOUT__ 555s # #define __STDOUT__ 555s # 555s # #include 555s # 555s # G_BEGIN_DECLS 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # /* Declarations for org.project.UsefulInterface */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 555s # 555s # struct _OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 555s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 555s # 555s # struct _OrgProjectUsefulInterfaceIface 555s # { 555s # GTypeInterface parent_iface; 555s # 555s # gboolean (*handle_useful_method) ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # }; 555s # 555s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 555s # 555s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 555s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 555s # 555s # 555s # /* D-Bus method call completion functions: */ 555s # void org_project_useful_interface_complete_useful_method ( 555s # OrgProjectUsefulInterface *object, 555s # GDBusMethodInvocation *invocation); 555s # 555s # 555s # 555s # /* D-Bus method calls: */ 555s # void org_project_useful_interface_call_useful_method ( 555s # OrgProjectUsefulInterface *proxy, 555s # GDBusCallFlags call_flags, 555s # gint timeout_msec, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_finish ( 555s # OrgProjectUsefulInterface *proxy, 555s # GAsyncResult *res, 555s # GError **error); 555s # 555s # gboolean org_project_useful_interface_call_useful_method_sync ( 555s # OrgProjectUsefulInterface *proxy, 555s # GDBusCallFlags call_flags, 555s # gint timeout_msec, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 555s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 555s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceProxy 555s # { 555s # /*< private >*/ 555s # GDBusProxy parent_instance; 555s # OrgProjectUsefulInterfaceProxyPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceProxyClass 555s # { 555s # GDBusProxyClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 555s # #endif 555s # 555s # void org_project_useful_interface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # void org_project_useful_interface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error); 555s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error); 555s # 555s # 555s # /* ---- */ 555s # 555s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 555s # 555s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 555s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeleton 555s # { 555s # /*< private >*/ 555s # GDBusInterfaceSkeleton parent_instance; 555s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 555s # }; 555s # 555s # struct _OrgProjectUsefulInterfaceSkeletonClass 555s # { 555s # GDBusInterfaceSkeletonClass parent_class; 555s # }; 555s # 555s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 555s # 555s # #if GLIB_CHECK_VERSION(2, 44, 0) 555s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 555s # #endif 555s # 555s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 555s # 555s # 555s # G_END_DECLS 555s # 555s # #endif /* __STDOUT__ */ 555s ok 2 __main__.TestCodegen.test_dbus_types 555s # tmpdir: /tmp/tmpwmx_g7n_ 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmpwmx_g7n_/tmpvshwvwpa.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpvshwvwpa.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmp18ha57qg.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmp18ha57qg.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmp_l3h1ogu.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmp_l3h1ogu.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmpb2t7d5rt.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpb2t7d5rt.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmpsp_rw5f9.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpsp_rw5f9.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmp2g4f14rd.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmp2g4f14rd.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmptew6add1.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmptew6add1.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmphep_xghk.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmphep_xghk.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmpkgynz96g.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpkgynz96g.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmpg6n4rv6o.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpg6n4rv6o.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmp27jrykr9.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmp27jrykr9.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmps70v36xp.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmps70v36xp.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmplhu43kdb.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmplhu43kdb.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # /tmp/tmpwmx_g7n_/tmpil5pdw79.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpil5pdw79.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface GoodTypes 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:GoodTypes 555s # * @title: GoodTypes 555s # * @short_description: Generated C code for the GoodTypes D-Bus interface 555s # * 555s # * This section contains code for working with the GoodTypes D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for GoodTypes ---- */ 555s # 555s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodPropertyType", 555s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 555s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 555s # NULL 555s # }, 555s # "good-property-type", 555s # FALSE, 555s # TRUE 555s # }; 555s # 555s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 555s # { 555s # &_good_types_property_info_good_property_type.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodTypes", 555s # NULL, 555s # NULL, 555s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 555s # NULL 555s # }, 555s # "good-types", 555s # }; 555s # 555s # 555s # /** 555s # * good_types_interface_info: 555s # * 555s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # good_types_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * good_types_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 555s # { 555s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # 555s # /** 555s # * GoodTypes: 555s # * 555s # * Abstract interface type for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # /** 555s # * GoodTypesIface: 555s # * @parent_iface: The parent interface. 555s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 555s # * 555s # * Virtual table for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # typedef GoodTypesIface GoodTypesInterface; 555s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 555s # 555s # static void 555s # good_types_default_init (GoodTypesIface *iface) 555s # { 555s # /* GObject properties for D-Bus properties: */ 555s # /** 555s # * GoodTypes:good-property-type: 555s # * 555s # * Represents the D-Bus property "GoodPropertyType". 555s # * 555s # * 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. 555s # */ 555s # g_object_interface_install_property (iface, 555s # 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)); 555s # } 555s # 555s # /** 555s # * good_types_get_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets the value of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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. 555s # * 555s # * 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. 555s # */ 555s # GVariant * 555s # good_types_get_good_property_type (GoodTypes *object) 555s # { 555s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 555s # 555s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 555s # } 555s # 555s # /** 555s # * good_types_dup_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets a copy of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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(). 555s # */ 555s # GVariant * 555s # good_types_dup_good_property_type (GoodTypes *object) 555s # { 555s # GVariant *value; 555s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 555s # return value; 555s # } 555s # 555s # /** 555s # * good_types_set_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * @value: The value to set. 555s # * 555s # * Sets the "GoodPropertyType" D-Bus property to @value. 555s # * 555s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 555s # */ 555s # void 555s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 555s # { 555s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesProxy: 555s # * 555s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesProxy. 555s # */ 555s # 555s # struct _GoodTypesProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (GoodTypesProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_proxy_finalize (GObject *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_proxy_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 555s # if (info->use_gvariant) 555s # { 555s # g_value_set_variant (value, variant); 555s # } 555s # else 555s # { 555s # if (variant != NULL) 555s # g_dbus_gvariant_to_gvalue (variant, value); 555s # } 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 555s # GAsyncResult *res, 555s # gpointer user_data) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info = user_data; 555s # GError *error; 555s # GVariant *_ret; 555s # error = NULL; 555s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 555s # if (!_ret) 555s # { 555s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 555s # info->parent_struct.name, 555s # error->message, g_quark_to_string (error->domain), error->code); 555s # g_error_free (error); 555s # } 555s # else 555s # { 555s # g_variant_unref (_ret); 555s # } 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_dbus_proxy_call (G_DBUS_PROXY (object), 555s # "org.freedesktop.DBus.Properties.Set", 555s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static GVariant * 555s # good_types_proxy_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # GVariant *variant; 555s # GVariant *value = NULL; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 555s # value = variant; 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_proxy_init (GoodTypesProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = good_types_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 555s # } 555s # 555s # static void 555s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_proxy_finalize; 555s # gobject_class->get_property = good_types_proxy_get_property; 555s # gobject_class->set_property = good_types_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = good_types_proxy_g_signal; 555s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_proxy_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * good_types_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesSkeleton: 555s # * 555s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesSkeleton. 555s # */ 555s # 555s # struct _GoodTypesSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _good_types_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # 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); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _good_types_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _good_types_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 555s # { 555s # _good_types_skeleton_handle_method_call, 555s # _good_types_skeleton_handle_get_property, 555s # _good_types_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return good_types_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # if (_good_types_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # 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); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static gboolean _good_types_emit_changed (gpointer user_data); 555s # 555s # static void 555s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # gboolean emit_changed = FALSE; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # { 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # emit_changed = TRUE; 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # 555s # if (emit_changed) 555s # _good_types_emit_changed (skeleton); 555s # } 555s # 555s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (GoodTypesSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_skeleton_finalize (GObject *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # guint n; 555s # for (n = 0; n < 1; n++) 555s # g_value_unset (&skeleton->priv->properties[n]); 555s # g_free (skeleton->priv->properties); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static gboolean 555s # _good_types_emit_changed (gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GList *l; 555s # GVariantBuilder builder; 555s # GVariantBuilder invalidated_builder; 555s # guint num_changes; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 555s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *cp = l->data; 555s # GVariant *variant; 555s # const GValue *cur_value; 555s # 555s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 555s # if (!_g_value_equal (cur_value, &cp->orig_value)) 555s # { 555s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 555s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 555s # g_variant_unref (variant); 555s # num_changes++; 555s # } 555s # } 555s # if (num_changes > 0) 555s # { 555s # GList *connections, *ll; 555s # GVariant *signal_variant; 555s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 555s # &builder, &invalidated_builder)); 555s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 555s # for (ll = connections; ll != NULL; ll = ll->next) 555s # { 555s # GDBusConnection *connection = ll->data; 555s # 555s # g_dbus_connection_emit_signal (connection, 555s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 555s # "org.freedesktop.DBus.Properties", 555s # "PropertiesChanged", 555s # signal_variant, 555s # NULL); 555s # } 555s # g_variant_unref (signal_variant); 555s # g_list_free_full (connections, g_object_unref); 555s # } 555s # else 555s # { 555s # g_variant_builder_clear (&builder); 555s # g_variant_builder_clear (&invalidated_builder); 555s # } 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # skeleton->priv->changed_properties = NULL; 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return FALSE; 555s # } 555s # 555s # static void 555s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 555s # { 555s # ChangedProperty *cp; 555s # GList *l; 555s # cp = NULL; 555s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *i_cp = l->data; 555s # if (i_cp->info == info) 555s # { 555s # cp = i_cp; 555s # break; 555s # } 555s # } 555s # if (cp == NULL) 555s # { 555s # cp = g_new0 (ChangedProperty, 1); 555s # cp->prop_id = prop_id; 555s # cp->info = info; 555s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 555s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 555s # g_value_copy (orig_value, &cp->orig_value); 555s # } 555s # } 555s # 555s # static void 555s # good_types_skeleton_notify (GObject *object, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties != NULL && 555s # skeleton->priv->changed_properties_idle_source == NULL) 555s # { 555s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 555s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 555s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 555s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 555s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 555s # g_source_unref (skeleton->priv->changed_properties_idle_source); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static void 555s # good_types_skeleton_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_object_freeze_notify (object); 555s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 555s # { 555s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 555s # info->emits_changed_signal) 555s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 555s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 555s # g_object_notify_by_pspec (object, pspec); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # g_object_thaw_notify (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # skeleton->priv->properties = g_new0 (GValue, 1); 555s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # GVariant *value; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_skeleton_finalize; 555s # gobject_class->get_property = good_types_skeleton_get_property; 555s # gobject_class->set_property = good_types_skeleton_set_property; 555s # gobject_class->notify = good_types_skeleton_notify; 555s # 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_skeleton_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface GoodTypes. 555s # * 555s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 555s # */ 555s # GoodTypes * 555s # good_types_skeleton_new (void) 555s # { 555s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 555s # } 555s # /tmp/tmpwmx_g7n_/tmpduhpfiex.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpduhpfiex.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface GoodTypes 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:GoodTypes 555s # * @title: GoodTypes 555s # * @short_description: Generated C code for the GoodTypes D-Bus interface 555s # * 555s # * This section contains code for working with the GoodTypes D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for GoodTypes ---- */ 555s # 555s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodPropertyType", 555s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 555s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 555s # NULL 555s # }, 555s # "good-property-type", 555s # FALSE, 555s # TRUE 555s # }; 555s # 555s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 555s # { 555s # &_good_types_property_info_good_property_type.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodTypes", 555s # NULL, 555s # NULL, 555s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 555s # NULL 555s # }, 555s # "good-types", 555s # }; 555s # 555s # 555s # /** 555s # * good_types_interface_info: 555s # * 555s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # good_types_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * good_types_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 555s # { 555s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # 555s # /** 555s # * GoodTypes: 555s # * 555s # * Abstract interface type for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # /** 555s # * GoodTypesIface: 555s # * @parent_iface: The parent interface. 555s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 555s # * 555s # * Virtual table for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # typedef GoodTypesIface GoodTypesInterface; 555s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 555s # 555s # static void 555s # good_types_default_init (GoodTypesIface *iface) 555s # { 555s # /* GObject properties for D-Bus properties: */ 555s # /** 555s # * GoodTypes:good-property-type: 555s # * 555s # * Represents the D-Bus property "GoodPropertyType". 555s # * 555s # * 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. 555s # */ 555s # g_object_interface_install_property (iface, 555s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 555s # } 555s # 555s # /** 555s # * good_types_get_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets the value of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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. 555s # * 555s # * 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. 555s # */ 555s # GVariant * 555s # good_types_get_good_property_type (GoodTypes *object) 555s # { 555s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 555s # 555s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 555s # } 555s # 555s # /** 555s # * good_types_dup_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets a copy of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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(). 555s # */ 555s # GVariant * 555s # good_types_dup_good_property_type (GoodTypes *object) 555s # { 555s # GVariant *value; 555s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 555s # return value; 555s # } 555s # 555s # /** 555s # * good_types_set_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * @value: The value to set. 555s # * 555s # * Sets the "GoodPropertyType" D-Bus property to @value. 555s # * 555s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 555s # */ 555s # void 555s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 555s # { 555s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesProxy: 555s # * 555s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesProxy. 555s # */ 555s # 555s # struct _GoodTypesProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (GoodTypesProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_proxy_finalize (GObject *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_proxy_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 555s # if (info->use_gvariant) 555s # { 555s # g_value_set_variant (value, variant); 555s # } 555s # else 555s # { 555s # if (variant != NULL) 555s # g_dbus_gvariant_to_gvalue (variant, value); 555s # } 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 555s # GAsyncResult *res, 555s # gpointer user_data) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info = user_data; 555s # GError *error; 555s # GVariant *_ret; 555s # error = NULL; 555s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 555s # if (!_ret) 555s # { 555s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 555s # info->parent_struct.name, 555s # error->message, g_quark_to_string (error->domain), error->code); 555s # g_error_free (error); 555s # } 555s # else 555s # { 555s # g_variant_unref (_ret); 555s # } 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_dbus_proxy_call (G_DBUS_PROXY (object), 555s # "org.freedesktop.DBus.Properties.Set", 555s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static GVariant * 555s # good_types_proxy_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # GVariant *variant; 555s # GVariant *value = NULL; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 555s # value = variant; 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_proxy_init (GoodTypesProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = good_types_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 555s # } 555s # 555s # static void 555s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_proxy_finalize; 555s # gobject_class->get_property = good_types_proxy_get_property; 555s # gobject_class->set_property = good_types_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = good_types_proxy_g_signal; 555s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_proxy_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * good_types_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesSkeleton: 555s # * 555s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesSkeleton. 555s # */ 555s # 555s # struct _GoodTypesSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _good_types_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # 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); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _good_types_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _good_types_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 555s # { 555s # _good_types_skeleton_handle_method_call, 555s # _good_types_skeleton_handle_get_property, 555s # _good_types_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return good_types_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # if (_good_types_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # 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); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static gboolean _good_types_emit_changed (gpointer user_data); 555s # 555s # static void 555s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # gboolean emit_changed = FALSE; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # { 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # emit_changed = TRUE; 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # 555s # if (emit_changed) 555s # _good_types_emit_changed (skeleton); 555s # } 555s # 555s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (GoodTypesSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_skeleton_finalize (GObject *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # guint n; 555s # for (n = 0; n < 1; n++) 555s # g_value_unset (&skeleton->priv->properties[n]); 555s # g_free (skeleton->priv->properties); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static gboolean 555s # _good_types_emit_changed (gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GList *l; 555s # GVariantBuilder builder; 555s # GVariantBuilder invalidated_builder; 555s # guint num_changes; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 555s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *cp = l->data; 555s # GVariant *variant; 555s # const GValue *cur_value; 555s # 555s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 555s # if (!_g_value_equal (cur_value, &cp->orig_value)) 555s # { 555s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 555s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 555s # g_variant_unref (variant); 555s # num_changes++; 555s # } 555s # } 555s # if (num_changes > 0) 555s # { 555s # GList *connections, *ll; 555s # GVariant *signal_variant; 555s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 555s # &builder, &invalidated_builder)); 555s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 555s # for (ll = connections; ll != NULL; ll = ll->next) 555s # { 555s # GDBusConnection *connection = ll->data; 555s # 555s # g_dbus_connection_emit_signal (connection, 555s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 555s # "org.freedesktop.DBus.Properties", 555s # "PropertiesChanged", 555s # signal_variant, 555s # NULL); 555s # } 555s # g_variant_unref (signal_variant); 555s # g_list_free_full (connections, g_object_unref); 555s # } 555s # else 555s # { 555s # g_variant_builder_clear (&builder); 555s # g_variant_builder_clear (&invalidated_builder); 555s # } 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # skeleton->priv->changed_properties = NULL; 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return FALSE; 555s # } 555s # 555s # static void 555s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 555s # { 555s # ChangedProperty *cp; 555s # GList *l; 555s # cp = NULL; 555s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *i_cp = l->data; 555s # if (i_cp->info == info) 555s # { 555s # cp = i_cp; 555s # break; 555s # } 555s # } 555s # if (cp == NULL) 555s # { 555s # cp = g_new0 (ChangedProperty, 1); 555s # cp->prop_id = prop_id; 555s # cp->info = info; 555s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 555s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 555s # g_value_copy (orig_value, &cp->orig_value); 555s # } 555s # } 555s # 555s # static void 555s # good_types_skeleton_notify (GObject *object, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties != NULL && 555s # skeleton->priv->changed_properties_idle_source == NULL) 555s # { 555s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 555s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 555s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 555s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 555s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 555s # g_source_unref (skeleton->priv->changed_properties_idle_source); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static void 555s # good_types_skeleton_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_object_freeze_notify (object); 555s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 555s # { 555s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 555s # info->emits_changed_signal) 555s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 555s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 555s # g_object_notify_by_pspec (object, pspec); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # g_object_thaw_notify (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # skeleton->priv->properties = g_new0 (GValue, 1); 555s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # GVariant *value; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_skeleton_finalize; 555s # gobject_class->get_property = good_types_skeleton_get_property; 555s # gobject_class->set_property = good_types_skeleton_set_property; 555s # gobject_class->notify = good_types_skeleton_notify; 555s # 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_skeleton_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface GoodTypes. 555s # * 555s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 555s # */ 555s # GoodTypes * 555s # good_types_skeleton_new (void) 555s # { 555s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 555s # } 555s # /tmp/tmpwmx_g7n_/tmpo5z_ggnb.xml: 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwmx_g7n_/tmpo5z_ggnb.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface GoodTypes 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:GoodTypes 555s # * @title: GoodTypes 555s # * @short_description: Generated C code for the GoodTypes D-Bus interface 555s # * 555s # * This section contains code for working with the GoodTypes D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for GoodTypes ---- */ 555s # 555s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodPropertyType", 555s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 555s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 555s # NULL 555s # }, 555s # "good-property-type", 555s # FALSE, 555s # TRUE 555s # }; 555s # 555s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 555s # { 555s # &_good_types_property_info_good_property_type.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "GoodTypes", 555s # NULL, 555s # NULL, 555s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 555s # NULL 555s # }, 555s # "good-types", 555s # }; 555s # 555s # 555s # /** 555s # * good_types_interface_info: 555s # * 555s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # good_types_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * good_types_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 555s # { 555s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # 555s # /** 555s # * GoodTypes: 555s # * 555s # * Abstract interface type for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # /** 555s # * GoodTypesIface: 555s # * @parent_iface: The parent interface. 555s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 555s # * 555s # * Virtual table for the D-Bus interface GoodTypes. 555s # */ 555s # 555s # typedef GoodTypesIface GoodTypesInterface; 555s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 555s # 555s # static void 555s # good_types_default_init (GoodTypesIface *iface) 555s # { 555s # /* GObject properties for D-Bus properties: */ 555s # /** 555s # * GoodTypes:good-property-type: 555s # * 555s # * Represents the D-Bus property "GoodPropertyType". 555s # * 555s # * 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. 555s # */ 555s # g_object_interface_install_property (iface, 555s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 555s # } 555s # 555s # /** 555s # * good_types_get_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets the value of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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. 555s # * 555s # * 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. 555s # */ 555s # GVariant * 555s # good_types_get_good_property_type (GoodTypes *object) 555s # { 555s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 555s # 555s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 555s # } 555s # 555s # /** 555s # * good_types_dup_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * 555s # * Gets a copy of the "GoodPropertyType" D-Bus property. 555s # * 555s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 555s # * 555s # * 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(). 555s # */ 555s # GVariant * 555s # good_types_dup_good_property_type (GoodTypes *object) 555s # { 555s # GVariant *value; 555s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 555s # return value; 555s # } 555s # 555s # /** 555s # * good_types_set_good_property_type: (skip) 555s # * @object: A GoodTypes. 555s # * @value: The value to set. 555s # * 555s # * Sets the "GoodPropertyType" D-Bus property to @value. 555s # * 555s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 555s # */ 555s # void 555s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 555s # { 555s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesProxy: 555s # * 555s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesProxy. 555s # */ 555s # 555s # struct _GoodTypesProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (GoodTypesProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_proxy_finalize (GObject *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_proxy_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 555s # if (info->use_gvariant) 555s # { 555s # g_value_set_variant (value, variant); 555s # } 555s # else 555s # { 555s # if (variant != NULL) 555s # g_dbus_gvariant_to_gvalue (variant, value); 555s # } 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 555s # GAsyncResult *res, 555s # gpointer user_data) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info = user_data; 555s # GError *error; 555s # GVariant *_ret; 555s # error = NULL; 555s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 555s # if (!_ret) 555s # { 555s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 555s # info->parent_struct.name, 555s # error->message, g_quark_to_string (error->domain), error->code); 555s # g_error_free (error); 555s # } 555s # else 555s # { 555s # g_variant_unref (_ret); 555s # } 555s # } 555s # 555s # static void 555s # good_types_proxy_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GVariant *variant; 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_dbus_proxy_call (G_DBUS_PROXY (object), 555s # "org.freedesktop.DBus.Properties.Set", 555s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 555s # g_variant_unref (variant); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static GVariant * 555s # good_types_proxy_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 555s # GVariant *variant; 555s # GVariant *value = NULL; 555s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 555s # value = variant; 555s # if (variant != NULL) 555s # g_variant_unref (variant); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_proxy_init (GoodTypesProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = good_types_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 555s # } 555s # 555s # static void 555s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_proxy_finalize; 555s # gobject_class->get_property = good_types_proxy_get_property; 555s # gobject_class->set_property = good_types_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = good_types_proxy_g_signal; 555s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_proxy_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * good_types_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * 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()). 555s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # good_types_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with good_types_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * good_types_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # GoodTypes * 555s # good_types_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return GOOD_TYPES (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * GoodTypesSkeleton: 555s # * 555s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * GoodTypesSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for GoodTypesSkeleton. 555s # */ 555s # 555s # struct _GoodTypesSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _good_types_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # 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); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _good_types_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _good_types_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 555s # { 555s # _good_types_skeleton_handle_method_call, 555s # _good_types_skeleton_handle_get_property, 555s # _good_types_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return good_types_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # if (_good_types_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # 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); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static gboolean _good_types_emit_changed (gpointer user_data); 555s # 555s # static void 555s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 555s # gboolean emit_changed = FALSE; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # { 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # emit_changed = TRUE; 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # 555s # if (emit_changed) 555s # _good_types_emit_changed (skeleton); 555s # } 555s # 555s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (GoodTypesSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # good_types_skeleton_finalize (GObject *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # guint n; 555s # for (n = 0; n < 1; n++) 555s # g_value_unset (&skeleton->priv->properties[n]); 555s # g_free (skeleton->priv->properties); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_get_property (GObject *object, 555s # guint prop_id, 555s # GValue *value, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static gboolean 555s # _good_types_emit_changed (gpointer user_data) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 555s # GList *l; 555s # GVariantBuilder builder; 555s # GVariantBuilder invalidated_builder; 555s # guint num_changes; 555s # 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 555s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *cp = l->data; 555s # GVariant *variant; 555s # const GValue *cur_value; 555s # 555s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 555s # if (!_g_value_equal (cur_value, &cp->orig_value)) 555s # { 555s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 555s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 555s # g_variant_unref (variant); 555s # num_changes++; 555s # } 555s # } 555s # if (num_changes > 0) 555s # { 555s # GList *connections, *ll; 555s # GVariant *signal_variant; 555s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 555s # &builder, &invalidated_builder)); 555s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 555s # for (ll = connections; ll != NULL; ll = ll->next) 555s # { 555s # GDBusConnection *connection = ll->data; 555s # 555s # g_dbus_connection_emit_signal (connection, 555s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 555s # "org.freedesktop.DBus.Properties", 555s # "PropertiesChanged", 555s # signal_variant, 555s # NULL); 555s # } 555s # g_variant_unref (signal_variant); 555s # g_list_free_full (connections, g_object_unref); 555s # } 555s # else 555s # { 555s # g_variant_builder_clear (&builder); 555s # g_variant_builder_clear (&invalidated_builder); 555s # } 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # skeleton->priv->changed_properties = NULL; 555s # skeleton->priv->changed_properties_idle_source = NULL; 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return FALSE; 555s # } 555s # 555s # static void 555s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 555s # { 555s # ChangedProperty *cp; 555s # GList *l; 555s # cp = NULL; 555s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 555s # { 555s # ChangedProperty *i_cp = l->data; 555s # if (i_cp->info == info) 555s # { 555s # cp = i_cp; 555s # break; 555s # } 555s # } 555s # if (cp == NULL) 555s # { 555s # cp = g_new0 (ChangedProperty, 1); 555s # cp->prop_id = prop_id; 555s # cp->info = info; 555s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 555s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 555s # g_value_copy (orig_value, &cp->orig_value); 555s # } 555s # } 555s # 555s # static void 555s # good_types_skeleton_notify (GObject *object, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_mutex_lock (&skeleton->priv->lock); 555s # if (skeleton->priv->changed_properties != NULL && 555s # skeleton->priv->changed_properties_idle_source == NULL) 555s # { 555s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 555s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 555s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 555s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 555s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 555s # g_source_unref (skeleton->priv->changed_properties_idle_source); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # } 555s # 555s # static void 555s # good_types_skeleton_set_property (GObject *object, 555s # guint prop_id, 555s # const GValue *value, 555s # GParamSpec *pspec) 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # g_assert (prop_id != 0 && prop_id - 1 < 1); 555s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # g_object_freeze_notify (object); 555s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 555s # { 555s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 555s # info->emits_changed_signal) 555s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 555s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 555s # g_object_notify_by_pspec (object, pspec); 555s # } 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # g_object_thaw_notify (object); 555s # } 555s # 555s # static void 555s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # skeleton->priv->properties = g_new0 (GValue, 1); 555s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 555s # } 555s # 555s # static GVariant * 555s # good_types_skeleton_get_good_property_type (GoodTypes *object) 555s # { 555s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 555s # GVariant *value; 555s # g_mutex_lock (&skeleton->priv->lock); 555s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 555s # g_mutex_unlock (&skeleton->priv->lock); 555s # return value; 555s # } 555s # 555s # static void 555s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = good_types_skeleton_finalize; 555s # gobject_class->get_property = good_types_skeleton_get_property; 555s # gobject_class->set_property = good_types_skeleton_set_property; 555s # gobject_class->notify = good_types_skeleton_notify; 555s # 555s # 555s # good_types_override_properties (gobject_class, 1); 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # good_types_skeleton_iface_init (GoodTypesIface *iface) 555s # { 555s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 555s # } 555s # 555s # /** 555s # * good_types_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface GoodTypes. 555s # * 555s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 555s # */ 555s # GoodTypes * 555s # good_types_skeleton_new (void) 555s # { 555s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 555s # } 555s ok 3 __main__.TestCodegen.test_empty_interface_body 555s # tmpdir: /tmp/tmp_r2a4pzq 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmp_r2a4pzq/tmpv1skezqj.xml: 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_r2a4pzq/tmpv1skezqj.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s ok 4 __main__.TestCodegen.test_empty_interface_header 555s # tmpdir: /tmp/tmppaygifuj 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmppaygifuj/tmpz4z_p0nc.xml: 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppaygifuj/tmpz4z_p0nc.xml', '--output', '-', '--header'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifndef __STDOUT__ 555s # #define __STDOUT__ 555s # 555s # #include 555s # 555s # G_BEGIN_DECLS 555s # 555s # 555s # G_END_DECLS 555s # 555s # #endif /* __STDOUT__ */ 555s ok 5 __main__.TestCodegen.test_empty_interface_info_body 555s # tmpdir: /tmp/tmp1a0eot8o 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmp1a0eot8o/tmpp2w9iyi0.xml: 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1a0eot8o/tmpp2w9iyi0.xml', '--output', '-', '--interface-info-body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s ok 6 __main__.TestCodegen.test_empty_interface_info_header 555s # tmpdir: /tmp/tmp1pxoa_om 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmp1pxoa_om/tmpg4u1bn93.xml: 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1pxoa_om/tmpg4u1bn93.xml', '--output', '-', '--interface-info-header'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifndef __STDOUT__ 555s # #define __STDOUT__ 555s # 555s # #include 555s # 555s # G_BEGIN_DECLS 555s # 555s # 555s # G_END_DECLS 555s # 555s # #endif /* __STDOUT__ */ 555s ok 7 __main__.TestCodegen.test_generate_docbook 555s # tmpdir: /tmp/tmpbz5doxij 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmpbz5doxij/tmp7ukzp71f.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbz5doxij/tmp7ukzp71f.xml', '--generate-docbook', 'test'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: 555s ok 8 __main__.TestCodegen.test_generate_md 555s # tmpdir: /tmp/tmpu9h_xqod 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmpu9h_xqod/tmpeaouc_42.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu9h_xqod/tmpeaouc_42.xml', '--generate-md', 'test'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: 555s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 555s # tmpdir: /tmp/tmpwhw13fwt 555s # codegen: /usr/bin/gdbus-codegen 555s # /tmp/tmpwhw13fwt/tmpjv_q0ogc.xml: 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # 555s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwhw13fwt/tmpjv_q0ogc.xml', '--output', '-', '--body'] 555s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 555s # Output: /* 555s # * This file is generated by gdbus-codegen, do not modify it. 555s # * 555s # * The license of this code is the same as for the D-Bus interface description 555s # * it was derived from. Note that it links to GLib, so must comply with the 555s # * LGPL linking clauses. 555s # */ 555s # 555s # #ifdef HAVE_CONFIG_H 555s # # include "config.h" 555s # #endif 555s # 555s # #include 555s # #ifdef G_OS_UNIX 555s # # include 555s # #endif 555s # 555s # #ifdef G_ENABLE_DEBUG 555s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 555s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 555s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 555s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 555s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 555s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 555s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 555s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 555s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 555s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 555s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 555s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 555s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 555s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 555s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 555s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 555s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 555s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 555s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 555s # #else /* !G_ENABLE_DEBUG */ 555s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 555s # * Do not access GValues directly in your code. Instead, use the 555s # * g_value_get_*() functions 555s # */ 555s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 555s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 555s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 555s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 555s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 555s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 555s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 555s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 555s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 555s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 555s # #endif /* !G_ENABLE_DEBUG */ 555s # 555s # typedef struct 555s # { 555s # GDBusArgInfo parent_struct; 555s # gboolean use_gvariant; 555s # } _ExtendedGDBusArgInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusMethodInfo parent_struct; 555s # const gchar *signal_name; 555s # gboolean pass_fdlist; 555s # } _ExtendedGDBusMethodInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusSignalInfo parent_struct; 555s # const gchar *signal_name; 555s # } _ExtendedGDBusSignalInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusPropertyInfo parent_struct; 555s # const gchar *hyphen_name; 555s # guint use_gvariant : 1; 555s # guint emits_changed_signal : 1; 555s # } _ExtendedGDBusPropertyInfo; 555s # 555s # typedef struct 555s # { 555s # GDBusInterfaceInfo parent_struct; 555s # const gchar *hyphen_name; 555s # } _ExtendedGDBusInterfaceInfo; 555s # 555s # typedef struct 555s # { 555s # const _ExtendedGDBusPropertyInfo *info; 555s # guint prop_id; 555s # GValue orig_value; /* the value before the change */ 555s # } ChangedProperty; 555s # 555s # static void 555s # _changed_property_free (ChangedProperty *data) 555s # { 555s # g_value_unset (&data->orig_value); 555s # g_free (data); 555s # } 555s # 555s # static gboolean 555s # _g_strv_equal0 (gchar **a, gchar **b) 555s # { 555s # gboolean ret = FALSE; 555s # guint n; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # if (g_strv_length (a) != g_strv_length (b)) 555s # goto out; 555s # for (n = 0; a[n] != NULL; n++) 555s # if (g_strcmp0 (a[n], b[n]) != 0) 555s # goto out; 555s # ret = TRUE; 555s # out: 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _g_variant_equal0 (GVariant *a, GVariant *b) 555s # { 555s # gboolean ret = FALSE; 555s # if (a == NULL && b == NULL) 555s # { 555s # ret = TRUE; 555s # goto out; 555s # } 555s # if (a == NULL || b == NULL) 555s # goto out; 555s # ret = g_variant_equal (a, b); 555s # out: 555s # return ret; 555s # } 555s # 555s # G_GNUC_UNUSED static gboolean 555s # _g_value_equal (const GValue *a, const GValue *b) 555s # { 555s # gboolean ret = FALSE; 555s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 555s # switch (G_VALUE_TYPE (a)) 555s # { 555s # case G_TYPE_BOOLEAN: 555s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 555s # break; 555s # case G_TYPE_UCHAR: 555s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 555s # break; 555s # case G_TYPE_INT: 555s # ret = (g_value_get_int (a) == g_value_get_int (b)); 555s # break; 555s # case G_TYPE_UINT: 555s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 555s # break; 555s # case G_TYPE_INT64: 555s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 555s # break; 555s # case G_TYPE_UINT64: 555s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 555s # break; 555s # case G_TYPE_DOUBLE: 555s # { 555s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 555s # gdouble da = g_value_get_double (a); 555s # gdouble db = g_value_get_double (b); 555s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 555s # } 555s # break; 555s # case G_TYPE_STRING: 555s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 555s # break; 555s # case G_TYPE_VARIANT: 555s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 555s # break; 555s # default: 555s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 555s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 555s # else 555s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 555s # break; 555s # } 555s # return ret; 555s # } 555s # 555s # static void 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint G_GNUC_UNUSED, 555s # void *marshal_data) 555s # { 555s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 555s # (void *data1, 555s # GDBusMethodInvocation *arg_method_invocation, 555s # void *data2); 555s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 555s # GCClosure *cc = (GCClosure*) closure; 555s # void *data1, *data2; 555s # gboolean v_return; 555s # 555s # g_return_if_fail (return_value != NULL); 555s # g_return_if_fail (n_param_values == 2); 555s # 555s # if (G_CCLOSURE_SWAP_DATA (closure)) 555s # { 555s # data1 = closure->data; 555s # data2 = g_value_peek_pointer (param_values + 0); 555s # } 555s # else 555s # { 555s # data1 = g_value_peek_pointer (param_values + 0); 555s # data2 = closure->data; 555s # } 555s # 555s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 555s # (marshal_data ? marshal_data : cc->callback); 555s # 555s # v_return = 555s # callback (data1, 555s # g_marshal_value_peek_object (param_values + 1), 555s # data2); 555s # 555s # g_value_set_boolean (return_value, v_return); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.CallableIface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectCallableIface 555s # * @title: OrgProjectCallableIface 555s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.CallableIface ---- */ 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SimpleMethod", 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-simple-method", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 555s # { 555s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.CallableIface", 555s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-callable-iface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_callable_iface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_callable_iface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_callable_iface_method_marshal_simple_method ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectCallableIface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 555s # */ 555s # 555s # /** 555s # * OrgProjectCallableIfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.CallableIface. 555s # */ 555s # 555s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectCallableIface::handle-simple-method: 555s # * @object: A #OrgProjectCallableIface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * 555s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 555s # * 555s # * 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. 555s # * 555s # * 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. 555s # */ 555s # g_signal_new ("handle-simple-method", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_callable_iface_method_marshal_simple_method, 555s # G_TYPE_BOOLEAN, 555s # 1, 555s # G_TYPE_DBUS_METHOD_INVOCATION); 555s # 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_call_simple_method: 555s # * @proxy: A #OrgProjectCallableIfaceProxy. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 555s # * 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()). 555s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 555s # * 555s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_callable_iface_call_simple_method ( 555s # OrgProjectCallableIface *proxy, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SimpleMethod", 555s # g_variant_new ("()"), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_call_simple_method_finish: 555s # * @proxy: A #OrgProjectCallableIfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_callable_iface_call_simple_method_finish ( 555s # OrgProjectCallableIface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_call_simple_method_sync: 555s # * @proxy: A #OrgProjectCallableIfaceProxy. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_callable_iface_call_simple_method_sync ( 555s # OrgProjectCallableIface *proxy, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SimpleMethod", 555s # g_variant_new ("()"), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_complete_simple_method: 555s # * @object: A #OrgProjectCallableIface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * 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. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_callable_iface_complete_simple_method ( 555s # OrgProjectCallableIface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectCallableIfaceProxy: 555s # * 555s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectCallableIfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectCallableIfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectCallableIfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_callable_iface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 555s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 555s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 555s # * 555s # * 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()). 555s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_callable_iface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectCallableIface * 555s # org_project_callable_iface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectCallableIface * 555s # org_project_callable_iface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return ORG_PROJECT_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * 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()). 555s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_callable_iface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectCallableIface * 555s # org_project_callable_iface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectCallableIface * 555s # org_project_callable_iface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return ORG_PROJECT_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectCallableIfaceSkeleton: 555s # * 555s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectCallableIfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectCallableIfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectCallableIfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_callable_iface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # 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); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_callable_iface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_callable_iface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 555s # { 555s # _org_project_callable_iface_skeleton_handle_method_call, 555s # _org_project_callable_iface_skeleton_handle_get_property, 555s # _org_project_callable_iface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_callable_iface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # 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); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_callable_iface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_callable_iface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectCallableIface * 555s # org_project_callable_iface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ 555s # * Code for interface org.project.OtherCallableIface 555s # * ------------------------------------------------------------------------ 555s # */ 555s # 555s # /** 555s # * SECTION:OrgProjectOtherCallableIface 555s # * @title: OrgProjectOtherCallableIface 555s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 555s # * 555s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 555s # */ 555s # 555s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 555s # 555s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 555s # { 555s # { 555s # -1, 555s # (gchar *) "SimpleMethod", 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "handle-simple-method", 555s # FALSE 555s # }; 555s # 555s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 555s # { 555s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 555s # NULL 555s # }; 555s # 555s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 555s # { 555s # { 555s # -1, 555s # (gchar *) "org.project.OtherCallableIface", 555s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 555s # NULL, 555s # NULL, 555s # NULL 555s # }, 555s # "org-project-other-callable-iface", 555s # }; 555s # 555s # 555s # /** 555s # * org_project_other_callable_iface_interface_info: 555s # * 555s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 555s # * 555s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 555s # */ 555s # GDBusInterfaceInfo * 555s # org_project_other_callable_iface_interface_info (void) 555s # { 555s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_override_properties: 555s # * @klass: The class structure for a #GObject derived class. 555s # * @property_id_begin: The property id to assign to the first overridden property. 555s # * 555s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 555s # * The properties are overridden in the order they are defined. 555s # * 555s # * Returns: The last property id. 555s # */ 555s # guint 555s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 555s # { 555s # return property_id_begin - 1; 555s # } 555s # 555s # 555s # inline static void 555s # org_project_other_callable_iface_method_marshal_simple_method ( 555s # GClosure *closure, 555s # GValue *return_value, 555s # unsigned int n_param_values, 555s # const GValue *param_values, 555s # void *invocation_hint, 555s # void *marshal_data) 555s # { 555s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 555s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 555s # } 555s # 555s # 555s # /** 555s # * OrgProjectOtherCallableIface: 555s # * 555s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 555s # */ 555s # 555s # /** 555s # * OrgProjectOtherCallableIfaceIface: 555s # * @parent_iface: The parent interface. 555s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 555s # * 555s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 555s # */ 555s # 555s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 555s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 555s # 555s # static void 555s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 555s # { 555s # /* GObject signals for incoming D-Bus method calls: */ 555s # /** 555s # * OrgProjectOtherCallableIface::handle-simple-method: 555s # * @object: A #OrgProjectOtherCallableIface. 555s # * @invocation: A #GDBusMethodInvocation. 555s # * 555s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 555s # * 555s # * 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. 555s # * 555s # * 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. 555s # */ 555s # g_signal_new ("handle-simple-method", 555s # G_TYPE_FROM_INTERFACE (iface), 555s # G_SIGNAL_RUN_LAST, 555s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 555s # g_signal_accumulator_true_handled, 555s # NULL, 555s # org_project_other_callable_iface_method_marshal_simple_method, 555s # G_TYPE_BOOLEAN, 555s # 1, 555s # G_TYPE_DBUS_METHOD_INVOCATION); 555s # 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_call_simple_method: 555s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 555s # * 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()). 555s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 555s # * 555s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 555s # */ 555s # void 555s # org_project_other_callable_iface_call_simple_method ( 555s # OrgProjectOtherCallableIface *proxy, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 555s # "SimpleMethod", 555s # g_variant_new ("()"), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # callback, 555s # user_data); 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_call_simple_method_finish: 555s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_other_callable_iface_call_simple_method_finish ( 555s # OrgProjectOtherCallableIface *proxy, 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_call_simple_method_sync: 555s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL. 555s # * 555s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 555s # * 555s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 555s # */ 555s # gboolean 555s # org_project_other_callable_iface_call_simple_method_sync ( 555s # OrgProjectOtherCallableIface *proxy, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GVariant *_ret; 555s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 555s # "SimpleMethod", 555s # g_variant_new ("()"), 555s # G_DBUS_CALL_FLAGS_NONE, 555s # -1, 555s # cancellable, 555s # error); 555s # if (_ret == NULL) 555s # goto _out; 555s # g_variant_get (_ret, 555s # "()"); 555s # g_variant_unref (_ret); 555s # _out: 555s # return _ret != NULL; 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_complete_simple_method: 555s # * @object: A #OrgProjectOtherCallableIface. 555s # * @invocation: (transfer full): A #GDBusMethodInvocation. 555s # * 555s # * 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. 555s # * 555s # * This method will free @invocation, you cannot use it afterwards. 555s # */ 555s # void 555s # org_project_other_callable_iface_complete_simple_method ( 555s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 555s # GDBusMethodInvocation *invocation) 555s # { 555s # g_dbus_method_invocation_return_value (invocation, 555s # g_variant_new ("()")); 555s # } 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectOtherCallableIfaceProxy: 555s # * 555s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectOtherCallableIfaceProxyClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 555s # */ 555s # 555s # struct _OrgProjectOtherCallableIfaceProxyPrivate 555s # { 555s # GData *qdata; 555s # }; 555s # 555s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 555s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_other_callable_iface_proxy_finalize (GObject *object) 555s # { 555s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 555s # g_datalist_clear (&proxy->priv->qdata); 555s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 555s # guint prop_id G_GNUC_UNUSED, 555s # const GValue *value G_GNUC_UNUSED, 555s # GParamSpec *pspec G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 555s # const gchar *sender_name G_GNUC_UNUSED, 555s # const gchar *signal_name, 555s # GVariant *parameters) 555s # { 555s # _ExtendedGDBusSignalInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # gsize n; 555s # guint signal_id; 555s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 555s # if (info == NULL) 555s # return; 555s # num_params = g_variant_n_children (parameters); 555s # paramv = g_new0 (GValue, num_params + 1); 555s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 555s # g_value_set_object (¶mv[0], proxy); 555s # g_variant_iter_init (&iter, parameters); 555s # n = 1; 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 555s # g_signal_emitv (paramv, signal_id, 0, NULL); 555s # for (n = 0; n < num_params + 1; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 555s # GVariant *changed_properties, 555s # const gchar *const *invalidated_properties) 555s # { 555s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 555s # guint n; 555s # const gchar *key; 555s # GVariantIter *iter; 555s # _ExtendedGDBusPropertyInfo *info; 555s # g_variant_get (changed_properties, "a{sv}", &iter); 555s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 555s # g_datalist_remove_data (&proxy->priv->qdata, key); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # g_variant_iter_free (iter); 555s # for (n = 0; invalidated_properties[n] != NULL; n++) 555s # { 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 555s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 555s # if (info != NULL) 555s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 555s # } 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 555s # #else 555s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 555s # #endif 555s # 555s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusProxyClass *proxy_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 555s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 555s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 555s # 555s # proxy_class = G_DBUS_PROXY_CLASS (klass); 555s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 555s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 555s # * 555s # * 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()). 555s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 555s # * 555s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_other_callable_iface_proxy_new ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectOtherCallableIface * 555s # org_project_other_callable_iface_proxy_new_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new_sync: 555s # * @connection: A #GDBusConnection. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectOtherCallableIface * 555s # org_project_other_callable_iface_proxy_new_sync ( 555s # GDBusConnection *connection, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new_for_bus: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 555s # * @user_data: User data to pass to @callback. 555s # * 555s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * 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()). 555s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 555s # * 555s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 555s # */ 555s # void 555s # org_project_other_callable_iface_proxy_new_for_bus ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GAsyncReadyCallback callback, 555s # gpointer user_data) 555s # { 555s # 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); 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 555s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 555s # * @error: Return location for error or %NULL 555s # * 555s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 555s # * 555s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectOtherCallableIface * 555s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 555s # GAsyncResult *res, 555s # GError **error) 555s # { 555s # GObject *ret; 555s # GObject *source_object; 555s # source_object = g_async_result_get_source_object (res); 555s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 555s # g_object_unref (source_object); 555s # if (ret != NULL) 555s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 555s # * @bus_type: A #GBusType. 555s # * @flags: Flags from the #GDBusProxyFlags enumeration. 555s # * @name: A bus name (well-known or unique). 555s # * @object_path: An object path. 555s # * @cancellable: (nullable): A #GCancellable or %NULL. 555s # * @error: Return location for error or %NULL 555s # * 555s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 555s # * 555s # * The calling thread is blocked until a reply is received. 555s # * 555s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 555s # * 555s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 555s # */ 555s # OrgProjectOtherCallableIface * 555s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 555s # GBusType bus_type, 555s # GDBusProxyFlags flags, 555s # const gchar *name, 555s # const gchar *object_path, 555s # GCancellable *cancellable, 555s # GError **error) 555s # { 555s # GInitable *ret; 555s # 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); 555s # if (ret != NULL) 555s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 555s # else 555s # return NULL; 555s # } 555s # 555s # 555s # /* ------------------------------------------------------------------------ */ 555s # 555s # /** 555s # * OrgProjectOtherCallableIfaceSkeleton: 555s # * 555s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 555s # */ 555s # 555s # /** 555s # * OrgProjectOtherCallableIfaceSkeletonClass: 555s # * @parent_class: The parent class. 555s # * 555s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 555s # */ 555s # 555s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 555s # { 555s # GValue *properties; 555s # GList *changed_properties; 555s # GSource *changed_properties_idle_source; 555s # GMainContext *context; 555s # GMutex lock; 555s # }; 555s # 555s # static void 555s # _org_project_other_callable_iface_skeleton_handle_method_call ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name, 555s # const gchar *method_name, 555s # GVariant *parameters, 555s # GDBusMethodInvocation *invocation, 555s # gpointer user_data) 555s # { 555s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 555s # _ExtendedGDBusMethodInfo *info; 555s # GVariantIter iter; 555s # GVariant *child; 555s # GValue *paramv; 555s # gsize num_params; 555s # guint num_extra; 555s # gsize n; 555s # guint signal_id; 555s # GValue return_value = G_VALUE_INIT; 555s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 555s # g_assert (info != NULL); 555s # num_params = g_variant_n_children (parameters); 555s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 555s # n = 0; 555s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 555s # g_value_set_object (¶mv[n++], skeleton); 555s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 555s # g_value_set_object (¶mv[n++], invocation); 555s # if (info->pass_fdlist) 555s # { 555s # #ifdef G_OS_UNIX 555s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 555s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 555s # #else 555s # g_assert_not_reached (); 555s # #endif 555s # } 555s # g_variant_iter_init (&iter, parameters); 555s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 555s # { 555s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 555s # if (arg_info->use_gvariant) 555s # { 555s # g_value_init (¶mv[n], G_TYPE_VARIANT); 555s # g_value_set_variant (¶mv[n], child); 555s # n++; 555s # } 555s # else 555s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 555s # g_variant_unref (child); 555s # } 555s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 555s # g_value_init (&return_value, G_TYPE_BOOLEAN); 555s # g_signal_emitv (paramv, signal_id, 0, &return_value); 555s # if (!g_value_get_boolean (&return_value)) 555s # 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); 555s # g_value_unset (&return_value); 555s # for (n = 0; n < num_params + num_extra; n++) 555s # g_value_unset (¶mv[n]); 555s # g_free (paramv); 555s # } 555s # 555s # static GVariant * 555s # _org_project_other_callable_iface_skeleton_handle_get_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # GVariant *ret; 555s # ret = NULL; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # g_value_init (&value, pspec->value_type); 555s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 555s # g_value_unset (&value); 555s # } 555s # return ret; 555s # } 555s # 555s # static gboolean 555s # _org_project_other_callable_iface_skeleton_handle_set_property ( 555s # GDBusConnection *connection G_GNUC_UNUSED, 555s # const gchar *sender G_GNUC_UNUSED, 555s # const gchar *object_path G_GNUC_UNUSED, 555s # const gchar *interface_name G_GNUC_UNUSED, 555s # const gchar *property_name, 555s # GVariant *variant, 555s # GError **error, 555s # gpointer user_data) 555s # { 555s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 555s # GValue value = G_VALUE_INIT; 555s # GParamSpec *pspec; 555s # _ExtendedGDBusPropertyInfo *info; 555s # gboolean ret; 555s # ret = FALSE; 555s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 555s # g_assert (info != NULL); 555s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 555s # if (pspec == NULL) 555s # { 555s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 555s # } 555s # else 555s # { 555s # if (info->use_gvariant) 555s # g_value_set_variant (&value, variant); 555s # else 555s # g_dbus_gvariant_to_gvalue (variant, &value); 555s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 555s # g_value_unset (&value); 555s # ret = TRUE; 555s # } 555s # return ret; 555s # } 555s # 555s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 555s # { 555s # _org_project_other_callable_iface_skeleton_handle_method_call, 555s # _org_project_other_callable_iface_skeleton_handle_get_property, 555s # _org_project_other_callable_iface_skeleton_handle_set_property, 555s # {NULL} 555s # }; 555s # 555s # static GDBusInterfaceInfo * 555s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return org_project_other_callable_iface_interface_info (); 555s # } 555s # 555s # static GDBusInterfaceVTable * 555s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 555s # { 555s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 555s # } 555s # 555s # static GVariant * 555s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 555s # { 555s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 555s # 555s # GVariantBuilder builder; 555s # guint n; 555s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 555s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 555s # goto out; 555s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 555s # { 555s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 555s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 555s # { 555s # GVariant *value; 555s # 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); 555s # if (value != NULL) 555s # { 555s # g_variant_take_ref (value); 555s # g_variant_builder_add (&builder, "{sv}", info->name, value); 555s # g_variant_unref (value); 555s # } 555s # } 555s # } 555s # out: 555s # return g_variant_builder_end (&builder); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 555s # 555s # #else 555s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 555s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 555s # 555s # #endif 555s # static void 555s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 555s # { 555s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 555s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 555s # if (skeleton->priv->changed_properties_idle_source != NULL) 555s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 555s # g_main_context_unref (skeleton->priv->context); 555s # g_mutex_clear (&skeleton->priv->lock); 555s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 555s # { 555s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 555s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 555s # #else 555s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 555s # #endif 555s # 555s # g_mutex_init (&skeleton->priv->lock); 555s # skeleton->priv->context = g_main_context_ref_thread_default (); 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 555s # { 555s # GObjectClass *gobject_class; 555s # GDBusInterfaceSkeletonClass *skeleton_class; 555s # 555s # gobject_class = G_OBJECT_CLASS (klass); 555s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 555s # 555s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 555s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 555s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 555s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 555s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 555s # 555s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 555s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 555s # #endif 555s # } 555s # 555s # static void 555s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 555s # { 555s # } 555s # 555s # /** 555s # * org_project_other_callable_iface_skeleton_new: 555s # * 555s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 555s # * 555s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 555s # */ 555s # OrgProjectOtherCallableIface * 555s # org_project_other_callable_iface_skeleton_new (void) 555s # { 555s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 555s # } 556s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 556s # tmpdir: /tmp/tmphiwu0q3u 556s # codegen: /usr/bin/gdbus-codegen 556s # /tmp/tmphiwu0q3u/tmp5gkkzlmg.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp5gkkzlmg.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gboolean arg_arg_b, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_boolean (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_b", 556s # (gchar *) "b", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodB", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-b", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_b ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_b: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-b", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_b, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_b: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_b ( 556s # OrgProjectUsefulInterface *proxy, 556s # gboolean arg_arg_b, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodB", 556s # g_variant_new ("(b)", 556s # arg_arg_b), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_b_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_b_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_b: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_b_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gboolean arg_arg_b, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodB", 556s # g_variant_new ("(b)", 556s # arg_arg_b), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_b: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_b ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpuri4tjv4.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpuri4tjv4.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # guchar arg_arg_y, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_uchar (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_y", 556s # (gchar *) "y", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodY", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-y", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_y ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_y: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-y", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_y, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_y: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_y ( 556s # OrgProjectUsefulInterface *proxy, 556s # guchar arg_arg_y, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodY", 556s # g_variant_new ("(y)", 556s # arg_arg_y), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_y_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_y_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_y: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_y_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guchar arg_arg_y, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodY", 556s # g_variant_new ("(y)", 556s # arg_arg_y), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_y: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_y ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpq3kpk6k8.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpq3kpk6k8.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gint16 arg_arg_n, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_int (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_n", 556s # (gchar *) "n", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodN", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-n", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_n ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_n: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-n", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_n, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_n: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_n ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint16 arg_arg_n, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodN", 556s # g_variant_new ("(n)", 556s # arg_arg_n), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_n_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_n_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_n: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_n_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint16 arg_arg_n, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodN", 556s # g_variant_new ("(n)", 556s # arg_arg_n), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_n: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_n ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpue1q62oz.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpue1q62oz.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # guint16 arg_arg_q, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_uint (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_q", 556s # (gchar *) "q", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodQ", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-q", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_q ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_q: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-q", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_q, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_q: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_q ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint16 arg_arg_q, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodQ", 556s # g_variant_new ("(q)", 556s # arg_arg_q), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_q_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_q_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_q: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_q_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint16 arg_arg_q, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodQ", 556s # g_variant_new ("(q)", 556s # arg_arg_q), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_q: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_q ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp49v2i19h.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp49v2i19h.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gint arg_arg_i, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_int (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_i", 556s # (gchar *) "i", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodI", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-i", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_i ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_i: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-i", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_i, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_i: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_i ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint arg_arg_i, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodI", 556s # g_variant_new ("(i)", 556s # arg_arg_i), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_i_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_i_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_i: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_i_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint arg_arg_i, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodI", 556s # g_variant_new ("(i)", 556s # arg_arg_i), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_i: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_i ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpc3ss82gr.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpc3ss82gr.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # guint arg_arg_u, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_uint (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_u", 556s # (gchar *) "u", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodU", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-u", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_u ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_u: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-u", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_u, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_u: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_u ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint arg_arg_u, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodU", 556s # g_variant_new ("(u)", 556s # arg_arg_u), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_u_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_u_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_u: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_u_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint arg_arg_u, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodU", 556s # g_variant_new ("(u)", 556s # arg_arg_u), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_u: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_u ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmps5n2t_hd.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmps5n2t_hd.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gint64 arg_arg_x, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_int64 (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_x", 556s # (gchar *) "x", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodX", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-x", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_x ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_x: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-x", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_x, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_x: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_x ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint64 arg_arg_x, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodX", 556s # g_variant_new ("(x)", 556s # arg_arg_x), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_x_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_x_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_x: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_x_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gint64 arg_arg_x, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodX", 556s # g_variant_new ("(x)", 556s # arg_arg_x), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_x: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_x ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp4wks1oj7.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp4wks1oj7.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # guint64 arg_arg_t, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_uint64 (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_t", 556s # (gchar *) "t", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodT", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-t", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_t ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_t: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-t", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_t, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_t: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_t ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint64 arg_arg_t, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodT", 556s # g_variant_new ("(t)", 556s # arg_arg_t), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_t_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_t_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_t: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_t_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # guint64 arg_arg_t, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodT", 556s # g_variant_new ("(t)", 556s # arg_arg_t), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_t: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_t ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpify6jriy.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpify6jriy.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # gdouble arg_arg_d, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_double (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_d", 556s # (gchar *) "d", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodD", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-d", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_d ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_d: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-d", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_d, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_d: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_d ( 556s # OrgProjectUsefulInterface *proxy, 556s # gdouble arg_arg_d, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodD", 556s # g_variant_new ("(d)", 556s # arg_arg_d), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_d_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_d_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_d: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_d_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # gdouble arg_arg_d, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodD", 556s # g_variant_new ("(d)", 556s # arg_arg_d), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_d: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_d ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpq1goim28.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpq1goim28.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *arg_arg_s, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_string (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_s", 556s # (gchar *) "s", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodS", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-s", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_s ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_s: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-s", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_s, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_s: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_s ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_s, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodS", 556s # g_variant_new ("(s)", 556s # arg_arg_s), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_s_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_s_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_s: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_s_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_s, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodS", 556s # g_variant_new ("(s)", 556s # arg_arg_s), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_s: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_s ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpo90qy9p5.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpo90qy9p5.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *arg_arg_o, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_string (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_o", 556s # (gchar *) "o", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodO", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-o", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_o ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_o: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-o", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_o, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_o: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_o ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_o, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodO", 556s # g_variant_new ("(o)", 556s # arg_arg_o), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_o_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_o_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_o: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_o_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_o, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodO", 556s # g_variant_new ("(o)", 556s # arg_arg_o), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_o: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_o ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpzznkljr1.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpzznkljr1.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *arg_arg_g, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_string (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_g", 556s # (gchar *) "g", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodG", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-g", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_g ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_g: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-g", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_g, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_g: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_g ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_g, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodG", 556s # g_variant_new ("(g)", 556s # arg_arg_g), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_g_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_g_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_g: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_g_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_g, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodG", 556s # g_variant_new ("(g)", 556s # arg_arg_g), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_g: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_g ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp2_aduh5y.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp2_aduh5y.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # GVariant *arg_arg_h, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_variant (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_h", 556s # (gchar *) "h", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodH", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-h", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_h ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_h: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-h", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_h, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_h: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_h ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant *arg_arg_h, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodH", 556s # g_variant_new ("(@h)", 556s # arg_arg_h), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_h_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_h_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_h: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_h_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant *arg_arg_h, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodH", 556s # g_variant_new ("(@h)", 556s # arg_arg_h), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_h: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_h ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp55km2rzz.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp55km2rzz.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *arg_arg_ay, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_string (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_ay", 556s # (gchar *) "ay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAy", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-ay", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_ay: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-ay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_ay, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_ay: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_ay ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_ay, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAy", 556s # g_variant_new ("(^ay)", 556s # arg_arg_ay), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ay_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ay_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_ay: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ay_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *arg_arg_ay, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAy", 556s # g_variant_new ("(^ay)", 556s # arg_arg_ay), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_ay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_ay ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp5g2vg95e.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp5g2vg95e.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *const *arg_arg_as, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_boxed (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_as", 556s # (gchar *) "as", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAs", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-as", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_as ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_as: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-as", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_as, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_as: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_as ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_as, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAs", 556s # g_variant_new ("(^as)", 556s # arg_arg_as), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_as_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_as_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_as: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_as_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_as, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAs", 556s # g_variant_new ("(^as)", 556s # arg_arg_as), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_as: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_as ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpte3_r6pp.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpte3_r6pp.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *const *arg_arg_ao, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_boxed (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_ao", 556s # (gchar *) "ao", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAo", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-ao", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_ao: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-ao", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_ao, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_ao: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_ao ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_ao, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAo", 556s # g_variant_new ("(^ao)", 556s # arg_arg_ao), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ao_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_ao_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_ao: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_ao_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_ao, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAo", 556s # g_variant_new ("(^ao)", 556s # arg_arg_ao), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_ao: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_ao ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmpcjqqveio.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmpcjqqveio.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # const gchar *const *arg_arg_aay, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_boxed (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_aay", 556s # (gchar *) "aay", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAay", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-aay", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_aay: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-aay", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_aay, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_aay: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_aay ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_aay, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAay", 556s # g_variant_new ("(^aay)", 556s # arg_arg_aay), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_aay_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_aay_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_aay: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_aay_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # const gchar *const *arg_arg_aay, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAay", 556s # g_variant_new ("(^aay)", 556s # arg_arg_aay), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_aay: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_aay ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 556s # /tmp/tmphiwu0q3u/tmp580nh250.xml: 556s # 556s # 556s # 556s # 556s # 556s # 556s # 556s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphiwu0q3u/tmp580nh250.xml', '--output', '-', '--body'] 556s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 556s # Output: /* 556s # * This file is generated by gdbus-codegen, do not modify it. 556s # * 556s # * The license of this code is the same as for the D-Bus interface description 556s # * it was derived from. Note that it links to GLib, so must comply with the 556s # * LGPL linking clauses. 556s # */ 556s # 556s # #ifdef HAVE_CONFIG_H 556s # # include "config.h" 556s # #endif 556s # 556s # #include 556s # #ifdef G_OS_UNIX 556s # # include 556s # #endif 556s # 556s # #ifdef G_ENABLE_DEBUG 556s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 556s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 556s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 556s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 556s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 556s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 556s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 556s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 556s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 556s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 556s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 556s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 556s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 556s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 556s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 556s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 556s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 556s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 556s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 556s # #else /* !G_ENABLE_DEBUG */ 556s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 556s # * Do not access GValues directly in your code. Instead, use the 556s # * g_value_get_*() functions 556s # */ 556s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 556s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 556s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 556s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 556s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 556s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 556s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 556s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 556s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 556s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 556s # #endif /* !G_ENABLE_DEBUG */ 556s # 556s # typedef struct 556s # { 556s # GDBusArgInfo parent_struct; 556s # gboolean use_gvariant; 556s # } _ExtendedGDBusArgInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusMethodInfo parent_struct; 556s # const gchar *signal_name; 556s # gboolean pass_fdlist; 556s # } _ExtendedGDBusMethodInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusSignalInfo parent_struct; 556s # const gchar *signal_name; 556s # } _ExtendedGDBusSignalInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusPropertyInfo parent_struct; 556s # const gchar *hyphen_name; 556s # guint use_gvariant : 1; 556s # guint emits_changed_signal : 1; 556s # } _ExtendedGDBusPropertyInfo; 556s # 556s # typedef struct 556s # { 556s # GDBusInterfaceInfo parent_struct; 556s # const gchar *hyphen_name; 556s # } _ExtendedGDBusInterfaceInfo; 556s # 556s # typedef struct 556s # { 556s # const _ExtendedGDBusPropertyInfo *info; 556s # guint prop_id; 556s # GValue orig_value; /* the value before the change */ 556s # } ChangedProperty; 556s # 556s # static void 556s # _changed_property_free (ChangedProperty *data) 556s # { 556s # g_value_unset (&data->orig_value); 556s # g_free (data); 556s # } 556s # 556s # static gboolean 556s # _g_strv_equal0 (gchar **a, gchar **b) 556s # { 556s # gboolean ret = FALSE; 556s # guint n; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # if (g_strv_length (a) != g_strv_length (b)) 556s # goto out; 556s # for (n = 0; a[n] != NULL; n++) 556s # if (g_strcmp0 (a[n], b[n]) != 0) 556s # goto out; 556s # ret = TRUE; 556s # out: 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _g_variant_equal0 (GVariant *a, GVariant *b) 556s # { 556s # gboolean ret = FALSE; 556s # if (a == NULL && b == NULL) 556s # { 556s # ret = TRUE; 556s # goto out; 556s # } 556s # if (a == NULL || b == NULL) 556s # goto out; 556s # ret = g_variant_equal (a, b); 556s # out: 556s # return ret; 556s # } 556s # 556s # G_GNUC_UNUSED static gboolean 556s # _g_value_equal (const GValue *a, const GValue *b) 556s # { 556s # gboolean ret = FALSE; 556s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 556s # switch (G_VALUE_TYPE (a)) 556s # { 556s # case G_TYPE_BOOLEAN: 556s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 556s # break; 556s # case G_TYPE_UCHAR: 556s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 556s # break; 556s # case G_TYPE_INT: 556s # ret = (g_value_get_int (a) == g_value_get_int (b)); 556s # break; 556s # case G_TYPE_UINT: 556s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 556s # break; 556s # case G_TYPE_INT64: 556s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 556s # break; 556s # case G_TYPE_UINT64: 556s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 556s # break; 556s # case G_TYPE_DOUBLE: 556s # { 556s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 556s # gdouble da = g_value_get_double (a); 556s # gdouble db = g_value_get_double (b); 556s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 556s # } 556s # break; 556s # case G_TYPE_STRING: 556s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 556s # break; 556s # case G_TYPE_VARIANT: 556s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 556s # break; 556s # default: 556s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 556s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 556s # else 556s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 556s # break; 556s # } 556s # return ret; 556s # } 556s # 556s # static void 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint G_GNUC_UNUSED, 556s # void *marshal_data) 556s # { 556s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 556s # (void *data1, 556s # GDBusMethodInvocation *arg_method_invocation, 556s # GVariant *arg_arg_asv, 556s # void *data2); 556s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 556s # GCClosure *cc = (GCClosure*) closure; 556s # void *data1, *data2; 556s # gboolean v_return; 556s # 556s # g_return_if_fail (return_value != NULL); 556s # g_return_if_fail (n_param_values == 3); 556s # 556s # if (G_CCLOSURE_SWAP_DATA (closure)) 556s # { 556s # data1 = closure->data; 556s # data2 = g_value_peek_pointer (param_values + 0); 556s # } 556s # else 556s # { 556s # data1 = g_value_peek_pointer (param_values + 0); 556s # data2 = closure->data; 556s # } 556s # 556s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 556s # (marshal_data ? marshal_data : cc->callback); 556s # 556s # v_return = 556s # callback (data1, 556s # g_marshal_value_peek_object (param_values + 1), 556s # g_marshal_value_peek_variant (param_values + 2), 556s # data2); 556s # 556s # g_value_set_boolean (return_value, v_return); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ 556s # * Code for interface org.project.UsefulInterface 556s # * ------------------------------------------------------------------------ 556s # */ 556s # 556s # /** 556s # * SECTION:OrgProjectUsefulInterface 556s # * @title: OrgProjectUsefulInterface 556s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 556s # * 556s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 556s # */ 556s # 556s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 556s # 556s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "arg_asv", 556s # (gchar *) "a{sv}", 556s # NULL 556s # }, 556s # FALSE 556s # }; 556s # 556s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 556s # { 556s # { 556s # -1, 556s # (gchar *) "SingleArgMethodAsv", 556s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 556s # NULL, 556s # NULL 556s # }, 556s # "handle-single-arg-method-asv", 556s # FALSE 556s # }; 556s # 556s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 556s # { 556s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 556s # NULL 556s # }; 556s # 556s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 556s # { 556s # { 556s # -1, 556s # (gchar *) "org.project.UsefulInterface", 556s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 556s # NULL, 556s # NULL, 556s # NULL 556s # }, 556s # "org-project-useful-interface", 556s # }; 556s # 556s # 556s # /** 556s # * org_project_useful_interface_interface_info: 556s # * 556s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 556s # * 556s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 556s # */ 556s # GDBusInterfaceInfo * 556s # org_project_useful_interface_interface_info (void) 556s # { 556s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_override_properties: 556s # * @klass: The class structure for a #GObject derived class. 556s # * @property_id_begin: The property id to assign to the first overridden property. 556s # * 556s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 556s # * The properties are overridden in the order they are defined. 556s # * 556s # * Returns: The last property id. 556s # */ 556s # guint 556s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 556s # { 556s # return property_id_begin - 1; 556s # } 556s # 556s # 556s # inline static void 556s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 556s # GClosure *closure, 556s # GValue *return_value, 556s # unsigned int n_param_values, 556s # const GValue *param_values, 556s # void *invocation_hint, 556s # void *marshal_data) 556s # { 556s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 556s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 556s # } 556s # 556s # 556s # /** 556s # * OrgProjectUsefulInterface: 556s # * 556s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceIface: 556s # * @parent_iface: The parent interface. 556s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 556s # * 556s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 556s # */ 556s # 556s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 556s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 556s # 556s # static void 556s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 556s # { 556s # /* GObject signals for incoming D-Bus method calls: */ 556s # /** 556s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: A #GDBusMethodInvocation. 556s # * @arg_arg_asv: Argument passed by remote caller. 556s # * 556s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 556s # * 556s # * 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. 556s # * 556s # * 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. 556s # */ 556s # g_signal_new ("handle-single-arg-method-asv", 556s # G_TYPE_FROM_INTERFACE (iface), 556s # G_SIGNAL_RUN_LAST, 556s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 556s # g_signal_accumulator_true_handled, 556s # NULL, 556s # org_project_useful_interface_method_marshal_single_arg_method_asv, 556s # G_TYPE_BOOLEAN, 556s # 2, 556s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 556s # 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 556s # * 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()). 556s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 556s # */ 556s # void 556s # org_project_useful_interface_call_single_arg_method_asv ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant *arg_arg_asv, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAsv", 556s # g_variant_new ("(@a{sv})", 556s # arg_arg_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # callback, 556s # user_data); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv_finish: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_asv_finish ( 556s # OrgProjectUsefulInterface *proxy, 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_call_single_arg_method_asv_sync: 556s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 556s # * @arg_arg_asv: Argument to pass with the method invocation. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL. 556s # * 556s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 556s # * 556s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 556s # */ 556s # gboolean 556s # org_project_useful_interface_call_single_arg_method_asv_sync ( 556s # OrgProjectUsefulInterface *proxy, 556s # GVariant *arg_arg_asv, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GVariant *_ret; 556s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 556s # "SingleArgMethodAsv", 556s # g_variant_new ("(@a{sv})", 556s # arg_arg_asv), 556s # G_DBUS_CALL_FLAGS_NONE, 556s # -1, 556s # cancellable, 556s # error); 556s # if (_ret == NULL) 556s # goto _out; 556s # g_variant_get (_ret, 556s # "()"); 556s # g_variant_unref (_ret); 556s # _out: 556s # return _ret != NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_complete_single_arg_method_asv: 556s # * @object: A #OrgProjectUsefulInterface. 556s # * @invocation: (transfer full): A #GDBusMethodInvocation. 556s # * 556s # * 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. 556s # * 556s # * This method will free @invocation, you cannot use it afterwards. 556s # */ 556s # void 556s # org_project_useful_interface_complete_single_arg_method_asv ( 556s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 556s # GDBusMethodInvocation *invocation) 556s # { 556s # g_dbus_method_invocation_return_value (invocation, 556s # g_variant_new ("()")); 556s # } 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxy: 556s # * 556s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceProxyClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceProxy. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceProxyPrivate 556s # { 556s # GData *qdata; 556s # }; 556s # 556s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_proxy_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 556s # g_datalist_clear (&proxy->priv->qdata); 556s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 556s # guint prop_id G_GNUC_UNUSED, 556s # const GValue *value G_GNUC_UNUSED, 556s # GParamSpec *pspec G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 556s # const gchar *sender_name G_GNUC_UNUSED, 556s # const gchar *signal_name, 556s # GVariant *parameters) 556s # { 556s # _ExtendedGDBusSignalInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # gsize n; 556s # guint signal_id; 556s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 556s # if (info == NULL) 556s # return; 556s # num_params = g_variant_n_children (parameters); 556s # paramv = g_new0 (GValue, num_params + 1); 556s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[0], proxy); 556s # g_variant_iter_init (&iter, parameters); 556s # n = 1; 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_signal_emitv (paramv, signal_id, 0, NULL); 556s # for (n = 0; n < num_params + 1; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 556s # GVariant *changed_properties, 556s # const gchar *const *invalidated_properties) 556s # { 556s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 556s # guint n; 556s # const gchar *key; 556s # GVariantIter *iter; 556s # _ExtendedGDBusPropertyInfo *info; 556s # g_variant_get (changed_properties, "a{sv}", &iter); 556s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 556s # g_datalist_remove_data (&proxy->priv->qdata, key); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # g_variant_iter_free (iter); 556s # for (n = 0; invalidated_properties[n] != NULL; n++) 556s # { 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 556s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 556s # if (info != NULL) 556s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 556s # } 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 556s # #else 556s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 556s # #endif 556s # 556s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusProxyClass *proxy_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 556s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 556s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 556s # 556s # proxy_class = G_DBUS_PROXY_CLASS (klass); 556s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 556s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_sync: 556s # * @connection: A #GDBusConnection. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_sync ( 556s # GDBusConnection *connection, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 556s # * @user_data: User data to pass to @callback. 556s # * 556s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * 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()). 556s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 556s # */ 556s # void 556s # org_project_useful_interface_proxy_new_for_bus ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GAsyncReadyCallback callback, 556s # gpointer user_data) 556s # { 556s # 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); 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_finish: 556s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 556s # * @error: Return location for error or %NULL 556s # * 556s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_finish ( 556s # GAsyncResult *res, 556s # GError **error) 556s # { 556s # GObject *ret; 556s # GObject *source_object; 556s # source_object = g_async_result_get_source_object (res); 556s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 556s # g_object_unref (source_object); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_proxy_new_for_bus_sync: 556s # * @bus_type: A #GBusType. 556s # * @flags: Flags from the #GDBusProxyFlags enumeration. 556s # * @name: A bus name (well-known or unique). 556s # * @object_path: An object path. 556s # * @cancellable: (nullable): A #GCancellable or %NULL. 556s # * @error: Return location for error or %NULL 556s # * 556s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 556s # * 556s # * The calling thread is blocked until a reply is received. 556s # * 556s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_proxy_new_for_bus_sync ( 556s # GBusType bus_type, 556s # GDBusProxyFlags flags, 556s # const gchar *name, 556s # const gchar *object_path, 556s # GCancellable *cancellable, 556s # GError **error) 556s # { 556s # GInitable *ret; 556s # 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); 556s # if (ret != NULL) 556s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 556s # else 556s # return NULL; 556s # } 556s # 556s # 556s # /* ------------------------------------------------------------------------ */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeleton: 556s # * 556s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 556s # */ 556s # 556s # /** 556s # * OrgProjectUsefulInterfaceSkeletonClass: 556s # * @parent_class: The parent class. 556s # * 556s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 556s # */ 556s # 556s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 556s # { 556s # GValue *properties; 556s # GList *changed_properties; 556s # GSource *changed_properties_idle_source; 556s # GMainContext *context; 556s # GMutex lock; 556s # }; 556s # 556s # static void 556s # _org_project_useful_interface_skeleton_handle_method_call ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name, 556s # const gchar *method_name, 556s # GVariant *parameters, 556s # GDBusMethodInvocation *invocation, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # _ExtendedGDBusMethodInfo *info; 556s # GVariantIter iter; 556s # GVariant *child; 556s # GValue *paramv; 556s # gsize num_params; 556s # guint num_extra; 556s # gsize n; 556s # guint signal_id; 556s # GValue return_value = G_VALUE_INIT; 556s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 556s # g_assert (info != NULL); 556s # num_params = g_variant_n_children (parameters); 556s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 556s # n = 0; 556s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_set_object (¶mv[n++], skeleton); 556s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 556s # g_value_set_object (¶mv[n++], invocation); 556s # if (info->pass_fdlist) 556s # { 556s # #ifdef G_OS_UNIX 556s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 556s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 556s # #else 556s # g_assert_not_reached (); 556s # #endif 556s # } 556s # g_variant_iter_init (&iter, parameters); 556s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 556s # { 556s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 556s # if (arg_info->use_gvariant) 556s # { 556s # g_value_init (¶mv[n], G_TYPE_VARIANT); 556s # g_value_set_variant (¶mv[n], child); 556s # n++; 556s # } 556s # else 556s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 556s # g_variant_unref (child); 556s # } 556s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 556s # g_value_init (&return_value, G_TYPE_BOOLEAN); 556s # g_signal_emitv (paramv, signal_id, 0, &return_value); 556s # if (!g_value_get_boolean (&return_value)) 556s # 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); 556s # g_value_unset (&return_value); 556s # for (n = 0; n < num_params + num_extra; n++) 556s # g_value_unset (¶mv[n]); 556s # g_free (paramv); 556s # } 556s # 556s # static GVariant * 556s # _org_project_useful_interface_skeleton_handle_get_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # GVariant *ret; 556s # ret = NULL; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # g_value_init (&value, pspec->value_type); 556s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 556s # g_value_unset (&value); 556s # } 556s # return ret; 556s # } 556s # 556s # static gboolean 556s # _org_project_useful_interface_skeleton_handle_set_property ( 556s # GDBusConnection *connection G_GNUC_UNUSED, 556s # const gchar *sender G_GNUC_UNUSED, 556s # const gchar *object_path G_GNUC_UNUSED, 556s # const gchar *interface_name G_GNUC_UNUSED, 556s # const gchar *property_name, 556s # GVariant *variant, 556s # GError **error, 556s # gpointer user_data) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 556s # GValue value = G_VALUE_INIT; 556s # GParamSpec *pspec; 556s # _ExtendedGDBusPropertyInfo *info; 556s # gboolean ret; 556s # ret = FALSE; 556s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 556s # g_assert (info != NULL); 556s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 556s # if (pspec == NULL) 556s # { 556s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 556s # } 556s # else 556s # { 556s # if (info->use_gvariant) 556s # g_value_set_variant (&value, variant); 556s # else 556s # g_dbus_gvariant_to_gvalue (variant, &value); 556s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 556s # g_value_unset (&value); 556s # ret = TRUE; 556s # } 556s # return ret; 556s # } 556s # 556s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 556s # { 556s # _org_project_useful_interface_skeleton_handle_method_call, 556s # _org_project_useful_interface_skeleton_handle_get_property, 556s # _org_project_useful_interface_skeleton_handle_set_property, 556s # {NULL} 556s # }; 556s # 556s # static GDBusInterfaceInfo * 556s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return org_project_useful_interface_interface_info (); 556s # } 556s # 556s # static GDBusInterfaceVTable * 556s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 556s # { 556s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 556s # } 556s # 556s # static GVariant * 556s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 556s # 556s # GVariantBuilder builder; 556s # guint n; 556s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 556s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 556s # goto out; 556s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 556s # { 556s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 556s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 556s # { 556s # GVariant *value; 556s # 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); 556s # if (value != NULL) 556s # { 556s # g_variant_take_ref (value); 556s # g_variant_builder_add (&builder, "{sv}", info->name, value); 556s # g_variant_unref (value); 556s # } 556s # } 556s # } 556s # out: 556s # return g_variant_builder_end (&builder); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #else 556s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 556s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 556s # 556s # #endif 556s # static void 556s # org_project_useful_interface_skeleton_finalize (GObject *object) 556s # { 556s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 556s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 556s # if (skeleton->priv->changed_properties_idle_source != NULL) 556s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 556s # g_main_context_unref (skeleton->priv->context); 556s # g_mutex_clear (&skeleton->priv->lock); 556s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 556s # { 556s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 556s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 556s # #else 556s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 556s # #endif 556s # 556s # g_mutex_init (&skeleton->priv->lock); 556s # skeleton->priv->context = g_main_context_ref_thread_default (); 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 556s # { 556s # GObjectClass *gobject_class; 556s # GDBusInterfaceSkeletonClass *skeleton_class; 556s # 556s # gobject_class = G_OBJECT_CLASS (klass); 556s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 556s # 556s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 556s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 556s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 556s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 556s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 556s # 556s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 556s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 556s # #endif 556s # } 556s # 556s # static void 556s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 556s # { 556s # } 556s # 556s # /** 556s # * org_project_useful_interface_skeleton_new: 556s # * 556s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 556s # * 556s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 556s # */ 556s # OrgProjectUsefulInterface * 556s # org_project_useful_interface_skeleton_new (void) 556s # { 556s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 556s # } 557s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 557s # tmpdir: /tmp/tmp6tj_p12_ 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmp6tj_p12_/tmpctdf734q.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpctdf734q.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodB", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-b", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_b ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-b", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_b, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_b: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_b ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodB", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_b_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_b_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gboolean *out_arg_b, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(b)", 557s # out_arg_b); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_b_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_b_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gboolean *out_arg_b, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodB", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(b)", 557s # out_arg_b); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_b: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_b: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_b ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gboolean arg_b) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(b)", 557s # arg_b)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmphhkk29pz.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmphhkk29pz.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodY", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-y", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_y ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-y", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_y, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_y: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_y ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodY", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_y_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_y_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # guchar *out_arg_y, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(y)", 557s # out_arg_y); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_y_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_y_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # guchar *out_arg_y, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodY", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(y)", 557s # out_arg_y); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_y: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_y: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_y ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # guchar arg_y) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(y)", 557s # arg_y)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpngh61gy2.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpngh61gy2.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodN", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-n", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_n ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-n", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_n, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_n: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_n ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodN", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_n_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_n_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint16 *out_arg_n, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(n)", 557s # out_arg_n); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_n_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_n_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint16 *out_arg_n, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodN", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(n)", 557s # out_arg_n); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_n: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_n: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_n ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gint16 arg_n) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(n)", 557s # arg_n)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpt7cwloqq.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpt7cwloqq.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodQ", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-q", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_q ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-q", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_q, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_q: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_q ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodQ", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_q_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_q_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint16 *out_arg_q, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(q)", 557s # out_arg_q); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_q_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_q_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint16 *out_arg_q, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodQ", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(q)", 557s # out_arg_q); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_q: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_q: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_q ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # guint16 arg_q) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(q)", 557s # arg_q)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmphjdoynu6.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmphjdoynu6.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodI", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-i", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_i ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-i", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_i, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_i: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_i ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodI", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_i_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_i_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint *out_arg_i, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(i)", 557s # out_arg_i); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_i_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_i_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint *out_arg_i, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodI", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(i)", 557s # out_arg_i); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_i: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_i: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_i ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gint arg_i) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(i)", 557s # arg_i)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpr7fiktiz.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpr7fiktiz.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodU", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-u", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_u ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-u", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_u, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_u: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_u ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodU", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_u_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_u_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint *out_arg_u, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(u)", 557s # out_arg_u); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_u_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_u_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint *out_arg_u, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodU", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(u)", 557s # out_arg_u); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_u: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_u: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_u ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # guint arg_u) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(u)", 557s # arg_u)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpehsy_gnf.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpehsy_gnf.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodX", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-x", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_x ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-x", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_x, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_x: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_x ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodX", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_x_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_x_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint64 *out_arg_x, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(x)", 557s # out_arg_x); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_x_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_x_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gint64 *out_arg_x, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodX", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(x)", 557s # out_arg_x); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_x: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_x: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_x ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gint64 arg_x) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(x)", 557s # arg_x)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpg7tms2j5.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpg7tms2j5.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodT", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-t", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_t ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-t", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_t, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_t: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_t ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodT", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_t_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_t_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint64 *out_arg_t, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(t)", 557s # out_arg_t); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_t_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_t_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # guint64 *out_arg_t, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodT", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(t)", 557s # out_arg_t); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_t: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_t: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_t ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # guint64 arg_t) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(t)", 557s # arg_t)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpr0vbfrg4.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpr0vbfrg4.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodD", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-d", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_d ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-d", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_d, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_d: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_d ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodD", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_d_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_d_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gdouble *out_arg_d, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(d)", 557s # out_arg_d); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_d_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_d_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gdouble *out_arg_d, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodD", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(d)", 557s # out_arg_d); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_d: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_d: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_d ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gdouble arg_d) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(d)", 557s # arg_d)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpf5kvxnk6.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpf5kvxnk6.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodS", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-s", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_s ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-s", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_s, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_s: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_s ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodS", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_s_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_s_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_s, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(s)", 557s # out_arg_s); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_s_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_s_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_s, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodS", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(s)", 557s # out_arg_s); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_s: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_s: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_s ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *arg_s) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(s)", 557s # arg_s)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmp8jmp4nj1.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmp8jmp4nj1.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodO", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-o", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_o ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-o", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_o, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_o: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_o ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodO", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_o_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_o_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_o, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(o)", 557s # out_arg_o); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_o_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_o_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_o, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodO", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(o)", 557s # out_arg_o); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_o: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_o: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_o ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *arg_o) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(o)", 557s # arg_o)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpt4kgrl02.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpt4kgrl02.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodG", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-g", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_g ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-g", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_g, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_g: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_g ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodG", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_g_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_g_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_g, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(g)", 557s # out_arg_g); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_g_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_g_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_g, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodG", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(g)", 557s # out_arg_g); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_g: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_g: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_g ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *arg_g) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(g)", 557s # arg_g)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpq7uiwjn8.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpq7uiwjn8.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodH", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-h", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_h ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-h", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_h, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_h: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_h ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodH", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_h_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_h_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # GVariant **out_arg_h, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(@h)", 557s # out_arg_h); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_h_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_h_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # GVariant **out_arg_h, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodH", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(@h)", 557s # out_arg_h); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_h: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_h: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_h ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # GVariant *arg_h) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(@h)", 557s # arg_h)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmprzfnu6af.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmprzfnu6af.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodAy", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-ay", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-ay", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_ay, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ay: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_ay ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAy", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ay_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_ay_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_ay, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^ay)", 557s # out_arg_ay); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ay_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_ay_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar **out_arg_ay, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAy", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^ay)", 557s # out_arg_ay); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_ay: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_ay: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_ay ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *arg_ay) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(^ay)", 557s # arg_ay)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmpfdea7xqe.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmpfdea7xqe.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodAs", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-as", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_as ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-as", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_as, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_as: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_as ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAs", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_as_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_as_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_as, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^as)", 557s # out_arg_as); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_as_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_as_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_as, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAs", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^as)", 557s # out_arg_as); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_as: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_as: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_as ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *const *arg_as) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(^as)", 557s # arg_as)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmp2xp5kzhu.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmp2xp5kzhu.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodAo", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-ao", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-ao", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_ao, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ao: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_ao ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAo", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ao_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_ao_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_ao, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^ao)", 557s # out_arg_ao); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_ao_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_ao_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_ao, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAo", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^ao)", 557s # out_arg_ao); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_ao: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_ao: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_ao ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *const *arg_ao) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(^ao)", 557s # arg_ao)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmp15hh6mbe.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmp15hh6mbe.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodAay", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-aay", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-aay", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_aay, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_aay: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_aay ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAay", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_aay_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_aay_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_aay, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^aay)", 557s # out_arg_aay); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_aay_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_aay_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # gchar ***out_arg_aay, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAay", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(^aay)", 557s # out_arg_aay); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_aay: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_aay: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_aay ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # const gchar *const *arg_aay) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(^aay)", 557s # arg_aay)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # /tmp/tmp6tj_p12_/tmp_mugchrd.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6tj_p12_/tmp_mugchrd.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "arg_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgMethodAsv", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-single-arg-method-asv", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-single-arg-method-asv", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_useful_interface_method_marshal_single_arg_method_asv, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_asv: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_useful_interface_call_single_arg_method_asv ( 557s # OrgProjectUsefulInterface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAsv", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_asv_finish: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_asv_finish ( 557s # OrgProjectUsefulInterface *proxy, 557s # GVariant **out_arg_asv, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(@a{sv})", 557s # out_arg_asv); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_call_single_arg_method_asv_sync: 557s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 557s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_useful_interface_call_single_arg_method_asv_sync ( 557s # OrgProjectUsefulInterface *proxy, 557s # GVariant **out_arg_asv, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SingleArgMethodAsv", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(@a{sv})", 557s # out_arg_asv); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_complete_single_arg_method_asv: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @arg_asv: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_useful_interface_complete_single_arg_method_asv ( 557s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # GVariant *arg_asv) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(@a{sv})", 557s # arg_asv)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 557s # tmpdir: /tmp/tmpujcufmg5 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpujcufmg5/tmpg7yvi04h.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpujcufmg5/tmpg7yvi04h.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 20); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # g_marshal_value_peek_boolean (param_values + 2), 557s # g_marshal_value_peek_uchar (param_values + 3), 557s # g_marshal_value_peek_int (param_values + 4), 557s # g_marshal_value_peek_uint (param_values + 5), 557s # g_marshal_value_peek_int (param_values + 6), 557s # g_marshal_value_peek_uint (param_values + 7), 557s # g_marshal_value_peek_int64 (param_values + 8), 557s # g_marshal_value_peek_uint64 (param_values + 9), 557s # g_marshal_value_peek_double (param_values + 10), 557s # g_marshal_value_peek_string (param_values + 11), 557s # g_marshal_value_peek_string (param_values + 12), 557s # g_marshal_value_peek_string (param_values + 13), 557s # g_marshal_value_peek_variant (param_values + 14), 557s # g_marshal_value_peek_string (param_values + 15), 557s # g_marshal_value_peek_boxed (param_values + 16), 557s # g_marshal_value_peek_boxed (param_values + 17), 557s # g_marshal_value_peek_boxed (param_values + 18), 557s # g_marshal_value_peek_variant (param_values + 19), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.CallableIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectCallableIface 557s # * @title: OrgProjectCallableIface 557s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.CallableIface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 557s # { 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 557s # { 557s # { 557s # -1, 557s # (gchar *) "MethodWithManyArgs", 557s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "handle-method-with-many-args", 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 557s # { 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SameMethodWithManyArgs", 557s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "handle-same-method-with-many-args", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 557s # { 557s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 557s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.CallableIface", 557s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-callable-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_callable_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_callable_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_callable_iface_method_marshal_method_with_many_args ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _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, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _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, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectCallableIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 557s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.CallableIface. 557s # */ 557s # 557s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectCallableIface::handle-method-with-many-args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * @arg_an_b: Argument passed by remote caller. 557s # * @arg_an_y: Argument passed by remote caller. 557s # * @arg_an_n: Argument passed by remote caller. 557s # * @arg_an_q: Argument passed by remote caller. 557s # * @arg_an_i: Argument passed by remote caller. 557s # * @arg_an_u: Argument passed by remote caller. 557s # * @arg_an_x: Argument passed by remote caller. 557s # * @arg_an_t: Argument passed by remote caller. 557s # * @arg_an_d: Argument passed by remote caller. 557s # * @arg_an_s: Argument passed by remote caller. 557s # * @arg_an_o: Argument passed by remote caller. 557s # * @arg_an_g: Argument passed by remote caller. 557s # * @arg_an_h: Argument passed by remote caller. 557s # * @arg_an_ay: Argument passed by remote caller. 557s # * @arg_an_as: Argument passed by remote caller. 557s # * @arg_an_ao: Argument passed by remote caller. 557s # * @arg_an_aay: Argument passed by remote caller. 557s # * @arg_an_asv: Argument passed by remote caller. 557s # * 557s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-method-with-many-args", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_callable_iface_method_marshal_method_with_many_args, 557s # G_TYPE_BOOLEAN, 557s # 19, 557s # 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); 557s # 557s # /** 557s # * OrgProjectCallableIface::handle-same-method-with-many-args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * @arg_an_b: Argument passed by remote caller. 557s # * @arg_an_y: Argument passed by remote caller. 557s # * @arg_an_n: Argument passed by remote caller. 557s # * @arg_an_q: Argument passed by remote caller. 557s # * @arg_an_i: Argument passed by remote caller. 557s # * @arg_an_u: Argument passed by remote caller. 557s # * @arg_an_x: Argument passed by remote caller. 557s # * @arg_an_t: Argument passed by remote caller. 557s # * @arg_an_d: Argument passed by remote caller. 557s # * @arg_an_s: Argument passed by remote caller. 557s # * @arg_an_o: Argument passed by remote caller. 557s # * @arg_an_g: Argument passed by remote caller. 557s # * @arg_an_h: Argument passed by remote caller. 557s # * @arg_an_ay: Argument passed by remote caller. 557s # * @arg_an_as: Argument passed by remote caller. 557s # * @arg_an_ao: Argument passed by remote caller. 557s # * @arg_an_aay: Argument passed by remote caller. 557s # * @arg_an_asv: Argument passed by remote caller. 557s # * 557s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-same-method-with-many-args", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_callable_iface_method_marshal_same_method_with_many_args, 557s # G_TYPE_BOOLEAN, 557s # 19, 557s # 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); 557s # 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_callable_iface_call_method_with_many_args ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args_finish: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_method_with_many_args_finish ( 557s # OrgProjectCallableIface *proxy, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args_sync: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_method_with_many_args_sync ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_same_method_with_many_args: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_callable_iface_call_same_method_with_many_args ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "SameMethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_same_method_with_many_args_finish: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_same_method_with_many_args_finish ( 557s # OrgProjectCallableIface *proxy, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_same_method_with_many_args_sync: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_same_method_with_many_args_sync ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "SameMethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_complete_method_with_many_args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_callable_iface_complete_method_with_many_args ( 557s # OrgProjectCallableIface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("()")); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_complete_same_method_with_many_args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_callable_iface_complete_same_method_with_many_args ( 557s # OrgProjectCallableIface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("()")); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceProxy: 557s # * 557s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectCallableIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectCallableIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_callable_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_callable_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_callable_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceSkeleton: 557s # * 557s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectCallableIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectCallableIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_callable_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_callable_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_callable_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 557s # { 557s # _org_project_callable_iface_skeleton_handle_method_call, 557s # _org_project_callable_iface_skeleton_handle_get_property, 557s # _org_project_callable_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_callable_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_callable_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.OtherCallableIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectOtherCallableIface 557s # * @title: OrgProjectOtherCallableIface 557s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 557s # { 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 557s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 557s # { 557s # { 557s # -1, 557s # (gchar *) "MethodWithManyArgs", 557s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "handle-method-with-many-args", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 557s # { 557s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.OtherCallableIface", 557s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-other-callable-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_other_callable_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_other_callable_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _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, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectOtherCallableIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherCallableIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 557s # */ 557s # 557s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 557s # * @object: A #OrgProjectOtherCallableIface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * @arg_an_b: Argument passed by remote caller. 557s # * @arg_an_y: Argument passed by remote caller. 557s # * @arg_an_n: Argument passed by remote caller. 557s # * @arg_an_q: Argument passed by remote caller. 557s # * @arg_an_i: Argument passed by remote caller. 557s # * @arg_an_u: Argument passed by remote caller. 557s # * @arg_an_x: Argument passed by remote caller. 557s # * @arg_an_t: Argument passed by remote caller. 557s # * @arg_an_d: Argument passed by remote caller. 557s # * @arg_an_s: Argument passed by remote caller. 557s # * @arg_an_o: Argument passed by remote caller. 557s # * @arg_an_g: Argument passed by remote caller. 557s # * @arg_an_h: Argument passed by remote caller. 557s # * @arg_an_ay: Argument passed by remote caller. 557s # * @arg_an_as: Argument passed by remote caller. 557s # * @arg_an_ao: Argument passed by remote caller. 557s # * @arg_an_aay: Argument passed by remote caller. 557s # * @arg_an_asv: Argument passed by remote caller. 557s # * 557s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-method-with-many-args", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_other_callable_iface_method_marshal_method_with_many_args, 557s # G_TYPE_BOOLEAN, 557s # 19, 557s # 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); 557s # 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_call_method_with_many_args: 557s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_other_callable_iface_call_method_with_many_args ( 557s # OrgProjectOtherCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_call_method_with_many_args_finish: 557s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_other_callable_iface_call_method_with_many_args_finish ( 557s # OrgProjectOtherCallableIface *proxy, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_call_method_with_many_args_sync: 557s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 557s # * @arg_an_b: Argument to pass with the method invocation. 557s # * @arg_an_y: Argument to pass with the method invocation. 557s # * @arg_an_n: Argument to pass with the method invocation. 557s # * @arg_an_q: Argument to pass with the method invocation. 557s # * @arg_an_i: Argument to pass with the method invocation. 557s # * @arg_an_u: Argument to pass with the method invocation. 557s # * @arg_an_x: Argument to pass with the method invocation. 557s # * @arg_an_t: Argument to pass with the method invocation. 557s # * @arg_an_d: Argument to pass with the method invocation. 557s # * @arg_an_s: Argument to pass with the method invocation. 557s # * @arg_an_o: Argument to pass with the method invocation. 557s # * @arg_an_g: Argument to pass with the method invocation. 557s # * @arg_an_h: Argument to pass with the method invocation. 557s # * @arg_an_ay: Argument to pass with the method invocation. 557s # * @arg_an_as: Argument to pass with the method invocation. 557s # * @arg_an_ao: Argument to pass with the method invocation. 557s # * @arg_an_aay: Argument to pass with the method invocation. 557s # * @arg_an_asv: Argument to pass with the method invocation. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_other_callable_iface_call_method_with_many_args_sync ( 557s # OrgProjectOtherCallableIface *proxy, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "()"); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_complete_method_with_many_args: 557s # * @object: A #OrgProjectOtherCallableIface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_other_callable_iface_complete_method_with_many_args ( 557s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("()")); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherCallableIfaceProxy: 557s # * 557s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherCallableIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectOtherCallableIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_callable_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_callable_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherCallableIface * 557s # org_project_other_callable_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherCallableIface * 557s # org_project_other_callable_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_callable_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherCallableIface * 557s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherCallableIface * 557s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherCallableIfaceSkeleton: 557s # * 557s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherCallableIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_other_callable_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_other_callable_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_other_callable_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 557s # { 557s # _org_project_other_callable_iface_skeleton_handle_method_call, 557s # _org_project_other_callable_iface_skeleton_handle_get_property, 557s # _org_project_other_callable_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_other_callable_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_other_callable_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectOtherCallableIface * 557s # org_project_other_callable_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 557s # } 557s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 557s # tmpdir: /tmp/tmpqzymxqtn 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpqzymxqtn/tmp25rfvelt.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzymxqtn/tmp25rfvelt.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (void *data1, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.CallableIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectCallableIface 557s # * @title: OrgProjectCallableIface 557s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for org.project.CallableIface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 557s # { 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 557s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 557s # { 557s # { 557s # -1, 557s # (gchar *) "MethodWithManyArgs", 557s # NULL, 557s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-method-with-many-args", 557s # FALSE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 557s # { 557s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.CallableIface", 557s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-callable-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_callable_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_callable_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_callable_iface_method_marshal_method_with_many_args ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectCallableIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.CallableIface. 557s # */ 557s # 557s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * OrgProjectCallableIface::handle-method-with-many-args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * 557s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-method-with-many-args", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # org_project_callable_iface_method_marshal_method_with_many_args, 557s # G_TYPE_BOOLEAN, 557s # 1, 557s # G_TYPE_DBUS_METHOD_INVOCATION); 557s # 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # org_project_callable_iface_call_method_with_many_args ( 557s # OrgProjectCallableIface *proxy, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args_finish: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_method_with_many_args_finish ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean *out_an_b, 557s # guchar *out_an_y, 557s # gint16 *out_an_n, 557s # guint16 *out_an_q, 557s # gint *out_an_i, 557s # guint *out_an_u, 557s # gint64 *out_an_x, 557s # guint64 *out_an_t, 557s # gdouble *out_an_d, 557s # gchar **out_an_s, 557s # gchar **out_an_o, 557s # gchar **out_an_g, 557s # GVariant **out_an_h, 557s # gchar **out_an_ay, 557s # gchar ***out_an_as, 557s # gchar ***out_an_ao, 557s # gchar ***out_an_aay, 557s # GVariant **out_an_asv, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # out_an_b, 557s # out_an_y, 557s # out_an_n, 557s # out_an_q, 557s # out_an_i, 557s # out_an_u, 557s # out_an_x, 557s # out_an_t, 557s # out_an_d, 557s # out_an_s, 557s # out_an_o, 557s # out_an_g, 557s # out_an_h, 557s # out_an_ay, 557s # out_an_as, 557s # out_an_ao, 557s # out_an_aay, 557s # out_an_asv); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_call_method_with_many_args_sync: 557s # * @proxy: A #OrgProjectCallableIfaceProxy. 557s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 557s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # org_project_callable_iface_call_method_with_many_args_sync ( 557s # OrgProjectCallableIface *proxy, 557s # gboolean *out_an_b, 557s # guchar *out_an_y, 557s # gint16 *out_an_n, 557s # guint16 *out_an_q, 557s # gint *out_an_i, 557s # guint *out_an_u, 557s # gint64 *out_an_x, 557s # guint64 *out_an_t, 557s # gdouble *out_an_d, 557s # gchar **out_an_s, 557s # gchar **out_an_o, 557s # gchar **out_an_g, 557s # GVariant **out_an_h, 557s # gchar **out_an_ay, 557s # gchar ***out_an_as, 557s # gchar ***out_an_ao, 557s # gchar ***out_an_aay, 557s # GVariant **out_an_asv, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 557s # "MethodWithManyArgs", 557s # g_variant_new ("()"), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # out_an_b, 557s # out_an_y, 557s # out_an_n, 557s # out_an_q, 557s # out_an_i, 557s # out_an_u, 557s # out_an_x, 557s # out_an_t, 557s # out_an_d, 557s # out_an_s, 557s # out_an_o, 557s # out_an_g, 557s # out_an_h, 557s # out_an_ay, 557s # out_an_as, 557s # out_an_ao, 557s # out_an_aay, 557s # out_an_asv); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_complete_method_with_many_args: 557s # * @object: A #OrgProjectCallableIface. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @an_b: Parameter to return. 557s # * @an_y: Parameter to return. 557s # * @an_n: Parameter to return. 557s # * @an_q: Parameter to return. 557s # * @an_i: Parameter to return. 557s # * @an_u: Parameter to return. 557s # * @an_x: Parameter to return. 557s # * @an_t: Parameter to return. 557s # * @an_d: Parameter to return. 557s # * @an_s: Parameter to return. 557s # * @an_o: Parameter to return. 557s # * @an_g: Parameter to return. 557s # * @an_h: Parameter to return. 557s # * @an_ay: Parameter to return. 557s # * @an_as: Parameter to return. 557s # * @an_ao: Parameter to return. 557s # * @an_aay: Parameter to return. 557s # * @an_asv: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # org_project_callable_iface_complete_method_with_many_args ( 557s # OrgProjectCallableIface *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # gboolean an_b, 557s # guchar an_y, 557s # gint16 an_n, 557s # guint16 an_q, 557s # gint an_i, 557s # guint an_u, 557s # gint64 an_x, 557s # guint64 an_t, 557s # gdouble an_d, 557s # const gchar *an_s, 557s # const gchar *an_o, 557s # const gchar *an_g, 557s # GVariant *an_h, 557s # const gchar *an_ay, 557s # const gchar *const *an_as, 557s # const gchar *const *an_ao, 557s # const gchar *const *an_aay, 557s # GVariant *an_asv) 557s # { 557s # g_dbus_method_invocation_return_value (invocation, 557s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # an_b, 557s # an_y, 557s # an_n, 557s # an_q, 557s # an_i, 557s # an_u, 557s # an_x, 557s # an_t, 557s # an_d, 557s # an_s, 557s # an_o, 557s # an_g, 557s # an_h, 557s # an_ay, 557s # an_as, 557s # an_ao, 557s # an_aay, 557s # an_asv)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceProxy: 557s # * 557s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectCallableIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectCallableIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_callable_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_callable_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_callable_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_CALLABLE_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceSkeleton: 557s # * 557s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectCallableIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectCallableIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectCallableIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_callable_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_callable_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_callable_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 557s # { 557s # _org_project_callable_iface_skeleton_handle_method_call, 557s # _org_project_callable_iface_skeleton_handle_get_property, 557s # _org_project_callable_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_callable_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_callable_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_callable_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectCallableIface * 557s # org_project_callable_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 557s # } 557s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 557s # tmpdir: /tmp/tmpn86p36x3 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpn86p36x3/tmp0nhyinmb.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn86p36x3/tmp0nhyinmb.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 557s # (void *data1, 557s # GUnixFDList *arg_fd_list, 557s # GDBusMethodInvocation *arg_method_invocation, 557s # const gchar *arg_greeting, 557s # void *data2); 557s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # gboolean v_return; 557s # 557s # g_return_if_fail (return_value != NULL); 557s # g_return_if_fail (n_param_values == 4); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # v_return = 557s # callback (data1, 557s # g_marshal_value_peek_object (param_values + 1), 557s # g_marshal_value_peek_object (param_values + 2), 557s # g_marshal_value_peek_string (param_values + 3), 557s # data2); 557s # 557s # g_value_set_boolean (return_value, v_return); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface test.FDPassing 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:TestFDPassing 557s # * @title: TestFDPassing 557s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 557s # * 557s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 557s # */ 557s # 557s # /* ---- Introspection data for test.FDPassing ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 557s # { 557s # { 557s # -1, 557s # (gchar *) "greeting", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 557s # { 557s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 557s # { 557s # { 557s # -1, 557s # (gchar *) "response", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 557s # { 557s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 557s # { 557s # { 557s # -1, 557s # (gchar *) "HelloFD", 557s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 557s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 557s # NULL 557s # }, 557s # "handle-hello-fd", 557s # TRUE 557s # }; 557s # 557s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 557s # { 557s # &_test_fdpassing_method_info_hello_fd.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "test.FDPassing", 557s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 557s # NULL, 557s # NULL, 557s # NULL 557s # }, 557s # "test-fdpassing", 557s # }; 557s # 557s # 557s # /** 557s # * test_fdpassing_interface_info: 557s # * 557s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # test_fdpassing_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * test_fdpassing_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # test_fdpassing_method_marshal_hello_fd ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * TestFDPassing: 557s # * 557s # * Abstract interface type for the D-Bus interface test.FDPassing. 557s # */ 557s # 557s # /** 557s # * TestFDPassingIface: 557s # * @parent_iface: The parent interface. 557s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 557s # * 557s # * Virtual table for the D-Bus interface test.FDPassing. 557s # */ 557s # 557s # typedef TestFDPassingIface TestFDPassingInterface; 557s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 557s # 557s # static void 557s # test_fdpassing_default_init (TestFDPassingIface *iface) 557s # { 557s # /* GObject signals for incoming D-Bus method calls: */ 557s # /** 557s # * TestFDPassing::handle-hello-fd: 557s # * @object: A #TestFDPassing. 557s # * @invocation: A #GDBusMethodInvocation. 557s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 557s # * @arg_greeting: Argument passed by remote caller. 557s # * 557s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 557s # * 557s # * 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. 557s # * 557s # * 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. 557s # */ 557s # g_signal_new ("handle-hello-fd", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 557s # g_signal_accumulator_true_handled, 557s # NULL, 557s # test_fdpassing_method_marshal_hello_fd, 557s # G_TYPE_BOOLEAN, 557s # 3, 557s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 557s # 557s # } 557s # 557s # /** 557s # * test_fdpassing_call_hello_fd: 557s # * @proxy: A #TestFDPassingProxy. 557s # * @arg_greeting: Argument to pass with the method invocation. 557s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 557s # * 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()). 557s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 557s # * 557s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 557s # */ 557s # void 557s # test_fdpassing_call_hello_fd ( 557s # TestFDPassing *proxy, 557s # const gchar *arg_greeting, 557s # GUnixFDList *fd_list, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 557s # "HelloFD", 557s # g_variant_new ("(s)", 557s # arg_greeting), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # fd_list, 557s # cancellable, 557s # callback, 557s # user_data); 557s # } 557s # 557s # /** 557s # * test_fdpassing_call_hello_fd_finish: 557s # * @proxy: A #TestFDPassingProxy. 557s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # test_fdpassing_call_hello_fd_finish ( 557s # TestFDPassing *proxy, 557s # gchar **out_response, 557s # GUnixFDList **out_fd_list, 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(s)", 557s # out_response); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * test_fdpassing_call_hello_fd_sync: 557s # * @proxy: A #TestFDPassingProxy. 557s # * @arg_greeting: Argument to pass with the method invocation. 557s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 557s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 557s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL. 557s # * 557s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 557s # * 557s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 557s # * 557s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 557s # */ 557s # gboolean 557s # test_fdpassing_call_hello_fd_sync ( 557s # TestFDPassing *proxy, 557s # const gchar *arg_greeting, 557s # GUnixFDList *fd_list, 557s # gchar **out_response, 557s # GUnixFDList **out_fd_list, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GVariant *_ret; 557s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 557s # "HelloFD", 557s # g_variant_new ("(s)", 557s # arg_greeting), 557s # G_DBUS_CALL_FLAGS_NONE, 557s # -1, 557s # fd_list, 557s # out_fd_list, 557s # cancellable, 557s # error); 557s # if (_ret == NULL) 557s # goto _out; 557s # g_variant_get (_ret, 557s # "(s)", 557s # out_response); 557s # g_variant_unref (_ret); 557s # _out: 557s # return _ret != NULL; 557s # } 557s # 557s # /** 557s # * test_fdpassing_complete_hello_fd: 557s # * @object: A #TestFDPassing. 557s # * @invocation: (transfer full): A #GDBusMethodInvocation. 557s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 557s # * @response: Parameter to return. 557s # * 557s # * 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. 557s # * 557s # * This method will free @invocation, you cannot use it afterwards. 557s # */ 557s # void 557s # test_fdpassing_complete_hello_fd ( 557s # TestFDPassing *object G_GNUC_UNUSED, 557s # GDBusMethodInvocation *invocation, 557s # GUnixFDList *fd_list, 557s # const gchar *response) 557s # { 557s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 557s # g_variant_new ("(s)", 557s # response), 557s # fd_list); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * TestFDPassingProxy: 557s # * 557s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * TestFDPassingProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #TestFDPassingProxy. 557s # */ 557s # 557s # struct _TestFDPassingProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (TestFDPassingProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # test_fdpassing_proxy_finalize (GObject *object) 557s # { 557s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = test_fdpassing_proxy_finalize; 557s # gobject_class->get_property = test_fdpassing_proxy_get_property; 557s # gobject_class->set_property = test_fdpassing_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 557s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * test_fdpassing_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # test_fdpassing_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * test_fdpassing_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with test_fdpassing_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # TestFDPassing * 557s # test_fdpassing_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return TEST_FDPASSING (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * test_fdpassing_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # TestFDPassing * 557s # test_fdpassing_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return TEST_FDPASSING (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * test_fdpassing_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # test_fdpassing_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * test_fdpassing_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # TestFDPassing * 557s # test_fdpassing_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return TEST_FDPASSING (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * test_fdpassing_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # TestFDPassing * 557s # test_fdpassing_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return TEST_FDPASSING (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * TestFDPassingSkeleton: 557s # * 557s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * TestFDPassingSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #TestFDPassingSkeleton. 557s # */ 557s # 557s # struct _TestFDPassingSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _test_fdpassing_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _test_fdpassing_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _test_fdpassing_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 557s # { 557s # _test_fdpassing_skeleton_handle_method_call, 557s # _test_fdpassing_skeleton_handle_get_property, 557s # _test_fdpassing_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return test_fdpassing_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (TestFDPassingSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # test_fdpassing_skeleton_finalize (GObject *object) 557s # { 557s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * test_fdpassing_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 557s # * 557s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 557s # */ 557s # TestFDPassing * 557s # test_fdpassing_skeleton_new (void) 557s # { 557s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 557s # } 557s ok 15 __main__.TestCodegen.test_generate_rst 557s # tmpdir: /tmp/tmp9n47gril 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmp9n47gril/tmpu8boagph.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9n47gril/tmpu8boagph.xml', '--generate-rst', 'test'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: 557s ok 16 __main__.TestCodegen.test_generate_rst_method 557s # tmpdir: /tmp/tmpq0dmc4iu 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpq0dmc4iu/tmpezd50i64.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0dmc4iu/tmpezd50i64.xml', '--generate-rst', 'test'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: 557s ok 17 __main__.TestCodegen.test_generate_rst_property 557s # tmpdir: /tmp/tmppcaj1tfd 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmppcaj1tfd/tmp7lg_c0ru.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppcaj1tfd/tmp7lg_c0ru.xml', '--generate-rst', 'test'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: 557s ok 18 __main__.TestCodegen.test_generate_rst_signal 557s # tmpdir: /tmp/tmpgq2xn7dg 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpgq2xn7dg/tmpjou33dik.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgq2xn7dg/tmpjou33dik.xml', '--generate-rst', 'test'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: 557s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 557s # tmpdir: /tmp/tmpy1icpray 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpy1icpray/tmphvvzm71v.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1icpray/tmphvvzm71v.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 557s # GClosure *closure, 557s # GValue *return_value G_GNUC_UNUSED, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 557s # (void *data1, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv, 557s # void *data2); 557s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # 557s # g_return_if_fail (n_param_values == 19); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # callback (data1, 557s # g_marshal_value_peek_boolean (param_values + 1), 557s # g_marshal_value_peek_uchar (param_values + 2), 557s # g_marshal_value_peek_int (param_values + 3), 557s # g_marshal_value_peek_uint (param_values + 4), 557s # g_marshal_value_peek_int (param_values + 5), 557s # g_marshal_value_peek_uint (param_values + 6), 557s # g_marshal_value_peek_int64 (param_values + 7), 557s # g_marshal_value_peek_uint64 (param_values + 8), 557s # g_marshal_value_peek_double (param_values + 9), 557s # g_marshal_value_peek_string (param_values + 10), 557s # g_marshal_value_peek_string (param_values + 11), 557s # g_marshal_value_peek_string (param_values + 12), 557s # g_marshal_value_peek_variant (param_values + 13), 557s # g_marshal_value_peek_string (param_values + 14), 557s # g_marshal_value_peek_boxed (param_values + 15), 557s # g_marshal_value_peek_boxed (param_values + 16), 557s # g_marshal_value_peek_boxed (param_values + 17), 557s # g_marshal_value_peek_variant (param_values + 18), 557s # data2); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.SignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectSignalingIface 557s # * @title: OrgProjectSignalingIface 557s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.SignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SignalWithManyArgs", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 557s # NULL 557s # }, 557s # "signal-with-many-args" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.SignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectSignalingIface::signal-with-many-args: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_b: Argument. 557s # * @arg_an_y: Argument. 557s # * @arg_an_n: Argument. 557s # * @arg_an_q: Argument. 557s # * @arg_an_i: Argument. 557s # * @arg_an_u: Argument. 557s # * @arg_an_x: Argument. 557s # * @arg_an_t: Argument. 557s # * @arg_an_d: Argument. 557s # * @arg_an_s: Argument. 557s # * @arg_an_o: Argument. 557s # * @arg_an_g: Argument. 557s # * @arg_an_h: Argument. 557s # * @arg_an_ay: Argument. 557s # * @arg_an_as: Argument. 557s # * @arg_an_ao: Argument. 557s # * @arg_an_aay: Argument. 557s # * @arg_an_asv: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 557s # g_signal_new ("signal-with-many-args", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 557s # G_TYPE_NONE, 557s # 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); 557s # 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_signal_with_many_args: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_b: Argument to pass with the signal. 557s # * @arg_an_y: Argument to pass with the signal. 557s # * @arg_an_n: Argument to pass with the signal. 557s # * @arg_an_q: Argument to pass with the signal. 557s # * @arg_an_i: Argument to pass with the signal. 557s # * @arg_an_u: Argument to pass with the signal. 557s # * @arg_an_x: Argument to pass with the signal. 557s # * @arg_an_t: Argument to pass with the signal. 557s # * @arg_an_d: Argument to pass with the signal. 557s # * @arg_an_s: Argument to pass with the signal. 557s # * @arg_an_o: Argument to pass with the signal. 557s # * @arg_an_g: Argument to pass with the signal. 557s # * @arg_an_h: Argument to pass with the signal. 557s # * @arg_an_ay: Argument to pass with the signal. 557s # * @arg_an_as: Argument to pass with the signal. 557s # * @arg_an_ao: Argument to pass with the signal. 557s # * @arg_an_aay: Argument to pass with the signal. 557s # * @arg_an_asv: Argument to pass with the signal. 557s # * 557s # * Emits the "SignalWithManyArgs" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_signal_with_many_args ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv) 557s # { 557s # 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); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_signaling_iface_skeleton_handle_method_call, 557s # _org_project_signaling_iface_skeleton_handle_get_property, 557s # _org_project_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_an_b, 557s # guchar arg_an_y, 557s # gint16 arg_an_n, 557s # guint16 arg_an_q, 557s # gint arg_an_i, 557s # guint arg_an_u, 557s # gint64 arg_an_x, 557s # guint64 arg_an_t, 557s # gdouble arg_an_d, 557s # const gchar *arg_an_s, 557s # const gchar *arg_an_o, 557s # const gchar *arg_an_g, 557s # GVariant *arg_an_h, 557s # const gchar *arg_an_ay, 557s # const gchar *const *arg_an_as, 557s # const gchar *const *arg_an_ao, 557s # const gchar *const *arg_an_aay, 557s # GVariant *arg_an_asv) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 557s # arg_an_b, 557s # arg_an_y, 557s # arg_an_n, 557s # arg_an_q, 557s # arg_an_i, 557s # arg_an_u, 557s # arg_an_x, 557s # arg_an_t, 557s # arg_an_d, 557s # arg_an_s, 557s # arg_an_o, 557s # arg_an_g, 557s # arg_an_h, 557s # arg_an_ay, 557s # arg_an_as, 557s # arg_an_ao, 557s # arg_an_aay, 557s # arg_an_asv)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 557s # tmpdir: /tmp/tmpr9l16yfl 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpr9l16yfl/tmpa6j97w2a.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr9l16yfl/tmpa6j97w2a.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_VOID__INT64 ( 557s # GClosure *closure, 557s # GValue *return_value G_GNUC_UNUSED, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 557s # (void *data1, 557s # gint64 arg_an_x, 557s # void *data2); 557s # _GDbusCodegenMarshalVoid_Int64Func callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # callback (data1, 557s # g_marshal_value_peek_int64 (param_values + 1), 557s # data2); 557s # } 557s # 557s # static void 557s # _g_dbus_codegen_marshal_VOID__UINT64 ( 557s # GClosure *closure, 557s # GValue *return_value G_GNUC_UNUSED, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint G_GNUC_UNUSED, 557s # void *marshal_data) 557s # { 557s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 557s # (void *data1, 557s # guint64 arg_an_t, 557s # void *data2); 557s # _GDbusCodegenMarshalVoid_Uint64Func callback; 557s # GCClosure *cc = (GCClosure*) closure; 557s # void *data1, *data2; 557s # 557s # g_return_if_fail (n_param_values == 2); 557s # 557s # if (G_CCLOSURE_SWAP_DATA (closure)) 557s # { 557s # data1 = closure->data; 557s # data2 = g_value_peek_pointer (param_values + 0); 557s # } 557s # else 557s # { 557s # data1 = g_value_peek_pointer (param_values + 0); 557s # data2 = closure->data; 557s # } 557s # 557s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 557s # (marshal_data ? marshal_data : cc->callback); 557s # 557s # callback (data1, 557s # g_marshal_value_peek_uint64 (param_values + 1), 557s # data2); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.SignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectSignalingIface 557s # * @title: OrgProjectSignalingIface 557s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 557s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.SignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "NoArgSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "no-arg-signal" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_b", 557s # (gchar *) "b", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalB", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-b" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_y", 557s # (gchar *) "y", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalY", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-y" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_n", 557s # (gchar *) "n", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalN", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-n" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_q", 557s # (gchar *) "q", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalQ", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-q" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_i", 557s # (gchar *) "i", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalI", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-i" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_u", 557s # (gchar *) "u", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalU", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-u" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_x", 557s # (gchar *) "x", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalX", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-x" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_t", 557s # (gchar *) "t", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalT", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-t" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_d", 557s # (gchar *) "d", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalD", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-d" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_s", 557s # (gchar *) "s", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalS", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-s" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_o", 557s # (gchar *) "o", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalO", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-o" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_g", 557s # (gchar *) "g", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalG", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-g" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_h", 557s # (gchar *) "h", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalH", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-h" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ay", 557s # (gchar *) "ay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalAY", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-ay" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_as", 557s # (gchar *) "as", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalAS", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-as" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_ao", 557s # (gchar *) "ao", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalAO", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-ao" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_aay", 557s # (gchar *) "aay", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalAAY", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-aay" 557s # }; 557s # 557s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "an_asv", 557s # (gchar *) "a{sv}", 557s # NULL 557s # }, 557s # FALSE 557s # }; 557s # 557s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SingleArgSignalASV", 557s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 557s # NULL 557s # }, 557s # "single-arg-signal-asv" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 557s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.SignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__BOOLEAN (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__UCHAR (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__INT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__UINT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__INT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__UINT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__DOUBLE (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__STRING (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__STRING (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__STRING (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VARIANT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__STRING (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__BOXED (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__BOXED (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__BOXED (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VARIANT (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 557s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 557s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 557s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 557s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 557s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 557s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 557s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 557s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 557s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 557s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 557s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 557s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 557s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 557s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 557s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 557s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 557s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 557s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectSignalingIface::no-arg-signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 557s # g_signal_new ("no-arg-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_no_arg_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-b: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_b: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 557s # g_signal_new ("single-arg-signal-b", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_BOOLEAN); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-y: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_y: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 557s # g_signal_new ("single-arg-signal-y", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_UCHAR); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-n: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_n: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 557s # g_signal_new ("single-arg-signal-n", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_INT); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-q: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_q: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 557s # g_signal_new ("single-arg-signal-q", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_UINT); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-i: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_i: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 557s # g_signal_new ("single-arg-signal-i", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_INT); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-u: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_u: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 557s # g_signal_new ("single-arg-signal-u", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_UINT); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-x: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_x: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 557s # g_signal_new ("single-arg-signal-x", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_INT64); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-t: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_t: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 557s # g_signal_new ("single-arg-signal-t", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_UINT64); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-d: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_d: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 557s # g_signal_new ("single-arg-signal-d", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_DOUBLE); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-s: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_s: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 557s # g_signal_new ("single-arg-signal-s", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRING); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-o: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_o: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 557s # g_signal_new ("single-arg-signal-o", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRING); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-g: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_g: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 557s # g_signal_new ("single-arg-signal-g", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRING); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-h: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_h: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 557s # g_signal_new ("single-arg-signal-h", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_VARIANT); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-ay: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_ay: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 557s # g_signal_new ("single-arg-signal-ay", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRING); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-as: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_as: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 557s # g_signal_new ("single-arg-signal-as", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRV); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-ao: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_ao: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 557s # g_signal_new ("single-arg-signal-ao", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRV); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-aay: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_aay: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 557s # g_signal_new ("single-arg-signal-aay", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_STRV); 557s # 557s # /** 557s # * OrgProjectSignalingIface::single-arg-signal-asv: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_asv: Argument. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 557s # g_signal_new ("single-arg-signal-asv", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 557s # G_TYPE_NONE, 557s # 1, G_TYPE_VARIANT); 557s # 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_no_arg_signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * Emits the "NoArgSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_no_arg_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_b: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_b: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalB" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_b ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_an_b) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_y: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_y: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalY" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_y ( 557s # OrgProjectSignalingIface *object, 557s # guchar arg_an_y) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_n: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_n: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalN" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_n ( 557s # OrgProjectSignalingIface *object, 557s # gint16 arg_an_n) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_q: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_q: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalQ" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_q ( 557s # OrgProjectSignalingIface *object, 557s # guint16 arg_an_q) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_i: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_i: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalI" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_i ( 557s # OrgProjectSignalingIface *object, 557s # gint arg_an_i) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_u: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_u: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalU" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_u ( 557s # OrgProjectSignalingIface *object, 557s # guint arg_an_u) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_x: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_x: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalX" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_x ( 557s # OrgProjectSignalingIface *object, 557s # gint64 arg_an_x) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_t: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_t: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalT" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_t ( 557s # OrgProjectSignalingIface *object, 557s # guint64 arg_an_t) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_d: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_d: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalD" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_d ( 557s # OrgProjectSignalingIface *object, 557s # gdouble arg_an_d) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_s: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_s: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalS" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_s ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_s) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_o: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_o: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalO" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_o ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_o) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_g: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_g: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalG" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_g ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_g) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_h: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_h: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalH" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_h ( 557s # OrgProjectSignalingIface *object, 557s # GVariant *arg_an_h) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_ay: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_ay: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalAY" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_ay ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_ay) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_as: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_as: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalAS" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_as ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_as) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_ao: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_ao: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalAO" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_ao ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_ao) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_aay: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_aay: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalAAY" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_aay ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_aay) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_single_arg_signal_asv: 557s # * @object: A #OrgProjectSignalingIface. 557s # * @arg_an_asv: Argument to pass with the signal. 557s # * 557s # * Emits the "SingleArgSignalASV" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_single_arg_signal_asv ( 557s # OrgProjectSignalingIface *object, 557s # GVariant *arg_an_asv) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_signaling_iface_skeleton_handle_method_call, 557s # _org_project_signaling_iface_skeleton_handle_get_property, 557s # _org_project_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_no_arg_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 557s # OrgProjectSignalingIface *object, 557s # gboolean arg_an_b) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 557s # arg_an_b)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 557s # OrgProjectSignalingIface *object, 557s # guchar arg_an_y) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 557s # arg_an_y)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 557s # OrgProjectSignalingIface *object, 557s # gint16 arg_an_n) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 557s # arg_an_n)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 557s # OrgProjectSignalingIface *object, 557s # guint16 arg_an_q) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 557s # arg_an_q)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 557s # OrgProjectSignalingIface *object, 557s # gint arg_an_i) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 557s # arg_an_i)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 557s # OrgProjectSignalingIface *object, 557s # guint arg_an_u) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 557s # arg_an_u)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 557s # OrgProjectSignalingIface *object, 557s # gint64 arg_an_x) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 557s # arg_an_x)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 557s # OrgProjectSignalingIface *object, 557s # guint64 arg_an_t) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 557s # arg_an_t)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 557s # OrgProjectSignalingIface *object, 557s # gdouble arg_an_d) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 557s # arg_an_d)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_s) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 557s # arg_an_s)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_o) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 557s # arg_an_o)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_g) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 557s # arg_an_g)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 557s # OrgProjectSignalingIface *object, 557s # GVariant *arg_an_h) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 557s # arg_an_h)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *arg_an_ay) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 557s # arg_an_ay)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_as) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 557s # arg_an_as)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_ao) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 557s # arg_an_ao)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 557s # OrgProjectSignalingIface *object, 557s # const gchar *const *arg_an_aay) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 557s # arg_an_aay)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 557s # OrgProjectSignalingIface *object, 557s # GVariant *arg_an_asv) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 557s # arg_an_asv)); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 557s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 557s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 557s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 557s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 557s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 557s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 557s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 557s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 557s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 557s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 557s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 557s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 557s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 557s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 557s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 557s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 557s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 557s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 557s # tmpdir: /tmp/tmp8pjpdkd9 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmp8pjpdkd9/tmp5u2hduce.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8pjpdkd9/tmp5u2hduce.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.UsefulInterface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectUsefulInterface 557s # * @title: OrgProjectUsefulInterface 557s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 557s # { 557s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.UsefulInterface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-useful-interface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_useful_interface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_useful_interface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_useful_interface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectUsefulInterface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 557s # */ 557s # 557s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectUsefulInterface::simple-signal: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_useful_interface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_emit_simple_signal: 557s # * @object: A #OrgProjectUsefulInterface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_useful_interface_emit_simple_signal ( 557s # OrgProjectUsefulInterface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxy: 557s # * 557s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 557s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 557s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_useful_interface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeleton: 557s # * 557s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectUsefulInterfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_useful_interface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_useful_interface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_useful_interface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 557s # { 557s # _org_project_useful_interface_skeleton_handle_method_call, 557s # _org_project_useful_interface_skeleton_handle_get_property, 557s # _org_project_useful_interface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_useful_interface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_useful_interface_on_signal_simple_signal ( 557s # OrgProjectUsefulInterface *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_useful_interface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_useful_interface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectUsefulInterface * 557s # org_project_useful_interface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.OtherIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectOtherIface 557s # * @title: OrgProjectOtherIface 557s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.OtherIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.OtherIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-other-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_other_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_other_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_other_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_other_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectOtherIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.OtherIface. 557s # */ 557s # 557s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectOtherIface::simple-signal: 557s # * @object: A #OrgProjectOtherIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_other_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_other_iface_emit_simple_signal: 557s # * @object: A #OrgProjectOtherIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_other_iface_emit_simple_signal ( 557s # OrgProjectOtherIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherIfaceProxy: 557s # * 557s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectOtherIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_other_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherIface * 557s # org_project_other_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherIface * 557s # org_project_other_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_other_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherIface * 557s # org_project_other_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherIface * 557s # org_project_other_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherIfaceSkeleton: 557s # * 557s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectOtherIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_other_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_other_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_other_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 557s # { 557s # _org_project_other_iface_skeleton_handle_method_call, 557s # _org_project_other_iface_skeleton_handle_get_property, 557s # _org_project_other_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_other_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_other_iface_on_signal_simple_signal ( 557s # OrgProjectOtherIface *object) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_other_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectOtherIface * 557s # org_project_other_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 557s # } 557s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 557s # tmpdir: /tmp/tmpi1khmh4f 557s # codegen: /usr/bin/gdbus-codegen 557s # /tmp/tmpi1khmh4f/tmpeq2_9jqa.xml: 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # 557s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi1khmh4f/tmpeq2_9jqa.xml', '--output', '-', '--body'] 557s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 557s # Output: /* 557s # * This file is generated by gdbus-codegen, do not modify it. 557s # * 557s # * The license of this code is the same as for the D-Bus interface description 557s # * it was derived from. Note that it links to GLib, so must comply with the 557s # * LGPL linking clauses. 557s # */ 557s # 557s # #ifdef HAVE_CONFIG_H 557s # # include "config.h" 557s # #endif 557s # 557s # #include 557s # #ifdef G_OS_UNIX 557s # # include 557s # #endif 557s # 557s # #ifdef G_ENABLE_DEBUG 557s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 557s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 557s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 557s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 557s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 557s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 557s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 557s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 557s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 557s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 557s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 557s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 557s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 557s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 557s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 557s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 557s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 557s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 557s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 557s # #else /* !G_ENABLE_DEBUG */ 557s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 557s # * Do not access GValues directly in your code. Instead, use the 557s # * g_value_get_*() functions 557s # */ 557s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 557s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 557s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 557s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 557s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 557s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 557s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 557s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 557s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 557s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 557s # #endif /* !G_ENABLE_DEBUG */ 557s # 557s # typedef struct 557s # { 557s # GDBusArgInfo parent_struct; 557s # gboolean use_gvariant; 557s # } _ExtendedGDBusArgInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusMethodInfo parent_struct; 557s # const gchar *signal_name; 557s # gboolean pass_fdlist; 557s # } _ExtendedGDBusMethodInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusSignalInfo parent_struct; 557s # const gchar *signal_name; 557s # } _ExtendedGDBusSignalInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusPropertyInfo parent_struct; 557s # const gchar *hyphen_name; 557s # guint use_gvariant : 1; 557s # guint emits_changed_signal : 1; 557s # } _ExtendedGDBusPropertyInfo; 557s # 557s # typedef struct 557s # { 557s # GDBusInterfaceInfo parent_struct; 557s # const gchar *hyphen_name; 557s # } _ExtendedGDBusInterfaceInfo; 557s # 557s # typedef struct 557s # { 557s # const _ExtendedGDBusPropertyInfo *info; 557s # guint prop_id; 557s # GValue orig_value; /* the value before the change */ 557s # } ChangedProperty; 557s # 557s # static void 557s # _changed_property_free (ChangedProperty *data) 557s # { 557s # g_value_unset (&data->orig_value); 557s # g_free (data); 557s # } 557s # 557s # static gboolean 557s # _g_strv_equal0 (gchar **a, gchar **b) 557s # { 557s # gboolean ret = FALSE; 557s # guint n; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # if (g_strv_length (a) != g_strv_length (b)) 557s # goto out; 557s # for (n = 0; a[n] != NULL; n++) 557s # if (g_strcmp0 (a[n], b[n]) != 0) 557s # goto out; 557s # ret = TRUE; 557s # out: 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _g_variant_equal0 (GVariant *a, GVariant *b) 557s # { 557s # gboolean ret = FALSE; 557s # if (a == NULL && b == NULL) 557s # { 557s # ret = TRUE; 557s # goto out; 557s # } 557s # if (a == NULL || b == NULL) 557s # goto out; 557s # ret = g_variant_equal (a, b); 557s # out: 557s # return ret; 557s # } 557s # 557s # G_GNUC_UNUSED static gboolean 557s # _g_value_equal (const GValue *a, const GValue *b) 557s # { 557s # gboolean ret = FALSE; 557s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 557s # switch (G_VALUE_TYPE (a)) 557s # { 557s # case G_TYPE_BOOLEAN: 557s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 557s # break; 557s # case G_TYPE_UCHAR: 557s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 557s # break; 557s # case G_TYPE_INT: 557s # ret = (g_value_get_int (a) == g_value_get_int (b)); 557s # break; 557s # case G_TYPE_UINT: 557s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 557s # break; 557s # case G_TYPE_INT64: 557s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 557s # break; 557s # case G_TYPE_UINT64: 557s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 557s # break; 557s # case G_TYPE_DOUBLE: 557s # { 557s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 557s # gdouble da = g_value_get_double (a); 557s # gdouble db = g_value_get_double (b); 557s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 557s # } 557s # break; 557s # case G_TYPE_STRING: 557s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 557s # break; 557s # case G_TYPE_VARIANT: 557s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 557s # break; 557s # default: 557s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 557s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 557s # else 557s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 557s # break; 557s # } 557s # return ret; 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.SignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectSignalingIface 557s # * @title: OrgProjectSignalingIface 557s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.SignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.SignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_signaling_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.SignalingIface. 557s # */ 557s # 557s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectSignalingIface::simple-signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_signaling_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_emit_simple_signal: 557s # * @object: A #OrgProjectSignalingIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_signaling_iface_emit_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_signaling_iface_skeleton_handle_method_call, 557s # _org_project_signaling_iface_skeleton_handle_get_property, 557s # _org_project_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_signaling_iface_on_signal_simple_signal ( 557s # OrgProjectSignalingIface *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectSignalingIface * 557s # org_project_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ 557s # * Code for interface org.project.OtherSignalingIface 557s # * ------------------------------------------------------------------------ 557s # */ 557s # 557s # /** 557s # * SECTION:OrgProjectOtherSignalingIface 557s # * @title: OrgProjectOtherSignalingIface 557s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 557s # * 557s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 557s # */ 557s # 557s # enum 557s # { 557s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 557s # }; 557s # 557s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 557s # 557s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 557s # 557s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 557s # { 557s # { 557s # -1, 557s # (gchar *) "SimpleSignal", 557s # NULL, 557s # NULL 557s # }, 557s # "simple-signal" 557s # }; 557s # 557s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 557s # { 557s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 557s # NULL 557s # }; 557s # 557s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 557s # { 557s # { 557s # -1, 557s # (gchar *) "org.project.OtherSignalingIface", 557s # NULL, 557s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 557s # NULL, 557s # NULL 557s # }, 557s # "org-project-other-signaling-iface", 557s # }; 557s # 557s # 557s # /** 557s # * org_project_other_signaling_iface_interface_info: 557s # * 557s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 557s # * 557s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 557s # */ 557s # GDBusInterfaceInfo * 557s # org_project_other_signaling_iface_interface_info (void) 557s # { 557s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_override_properties: 557s # * @klass: The class structure for a #GObject derived class. 557s # * @property_id_begin: The property id to assign to the first overridden property. 557s # * 557s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 557s # * The properties are overridden in the order they are defined. 557s # * 557s # * Returns: The last property id. 557s # */ 557s # guint 557s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 557s # { 557s # return property_id_begin - 1; 557s # } 557s # 557s # 557s # inline static void 557s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 557s # GClosure *closure, 557s # GValue *return_value, 557s # unsigned int n_param_values, 557s # const GValue *param_values, 557s # void *invocation_hint, 557s # void *marshal_data) 557s # { 557s # g_cclosure_marshal_VOID__VOID (closure, 557s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 557s # } 557s # 557s # 557s # /** 557s # * OrgProjectOtherSignalingIface: 557s # * 557s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceIface: 557s # * @parent_iface: The parent interface. 557s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 557s # * 557s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 557s # */ 557s # 557s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 557s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 557s # 557s # static void 557s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 557s # { 557s # /* GObject signals for received D-Bus signals: */ 557s # /** 557s # * OrgProjectOtherSignalingIface::simple-signal: 557s # * @object: A #OrgProjectOtherSignalingIface. 557s # * 557s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 557s # * 557s # * 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. 557s # */ 557s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 557s # g_signal_new ("simple-signal", 557s # G_TYPE_FROM_INTERFACE (iface), 557s # G_SIGNAL_RUN_LAST, 557s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 557s # NULL, 557s # NULL, 557s # org_project_other_signaling_iface_signal_marshal_simple_signal, 557s # G_TYPE_NONE, 557s # 0); 557s # 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_emit_simple_signal: 557s # * @object: A #OrgProjectOtherSignalingIface. 557s # * 557s # * Emits the "SimpleSignal" D-Bus signal. 557s # */ 557s # void 557s # org_project_other_signaling_iface_emit_simple_signal ( 557s # OrgProjectOtherSignalingIface *object) 557s # { 557s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 557s # } 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceProxy: 557s # * 557s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceProxyClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 557s # */ 557s # 557s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 557s # { 557s # GData *qdata; 557s # }; 557s # 557s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 557s # { 557s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 557s # g_datalist_clear (&proxy->priv->qdata); 557s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 557s # guint prop_id G_GNUC_UNUSED, 557s # const GValue *value G_GNUC_UNUSED, 557s # GParamSpec *pspec G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 557s # const gchar *sender_name G_GNUC_UNUSED, 557s # const gchar *signal_name, 557s # GVariant *parameters) 557s # { 557s # _ExtendedGDBusSignalInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # gsize n; 557s # guint signal_id; 557s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 557s # if (info == NULL) 557s # return; 557s # num_params = g_variant_n_children (parameters); 557s # paramv = g_new0 (GValue, num_params + 1); 557s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[0], proxy); 557s # g_variant_iter_init (&iter, parameters); 557s # n = 1; 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_signal_emitv (paramv, signal_id, 0, NULL); 557s # for (n = 0; n < num_params + 1; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 557s # GVariant *changed_properties, 557s # const gchar *const *invalidated_properties) 557s # { 557s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 557s # guint n; 557s # const gchar *key; 557s # GVariantIter *iter; 557s # _ExtendedGDBusPropertyInfo *info; 557s # g_variant_get (changed_properties, "a{sv}", &iter); 557s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 557s # g_datalist_remove_data (&proxy->priv->qdata, key); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # g_variant_iter_free (iter); 557s # for (n = 0; invalidated_properties[n] != NULL; n++) 557s # { 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 557s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 557s # if (info != NULL) 557s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 557s # } 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 557s # #else 557s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 557s # #endif 557s # 557s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusProxyClass *proxy_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 557s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 557s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 557s # 557s # proxy_class = G_DBUS_PROXY_CLASS (klass); 557s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 557s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_signaling_iface_proxy_new ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_sync: 557s # * @connection: A #GDBusConnection. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_sync ( 557s # GDBusConnection *connection, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 557s # * @user_data: User data to pass to @callback. 557s # * 557s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * 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()). 557s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 557s # */ 557s # void 557s # org_project_other_signaling_iface_proxy_new_for_bus ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GAsyncReadyCallback callback, 557s # gpointer user_data) 557s # { 557s # 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); 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 557s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 557s # * @error: Return location for error or %NULL 557s # * 557s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 557s # GAsyncResult *res, 557s # GError **error) 557s # { 557s # GObject *ret; 557s # GObject *source_object; 557s # source_object = g_async_result_get_source_object (res); 557s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 557s # g_object_unref (source_object); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 557s # * @bus_type: A #GBusType. 557s # * @flags: Flags from the #GDBusProxyFlags enumeration. 557s # * @name: A bus name (well-known or unique). 557s # * @object_path: An object path. 557s # * @cancellable: (nullable): A #GCancellable or %NULL. 557s # * @error: Return location for error or %NULL 557s # * 557s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 557s # * 557s # * The calling thread is blocked until a reply is received. 557s # * 557s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 557s # GBusType bus_type, 557s # GDBusProxyFlags flags, 557s # const gchar *name, 557s # const gchar *object_path, 557s # GCancellable *cancellable, 557s # GError **error) 557s # { 557s # GInitable *ret; 557s # 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); 557s # if (ret != NULL) 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 557s # else 557s # return NULL; 557s # } 557s # 557s # 557s # /* ------------------------------------------------------------------------ */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceSkeleton: 557s # * 557s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 557s # */ 557s # 557s # /** 557s # * OrgProjectOtherSignalingIfaceSkeletonClass: 557s # * @parent_class: The parent class. 557s # * 557s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 557s # */ 557s # 557s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 557s # { 557s # GValue *properties; 557s # GList *changed_properties; 557s # GSource *changed_properties_idle_source; 557s # GMainContext *context; 557s # GMutex lock; 557s # }; 557s # 557s # static void 557s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name, 557s # const gchar *method_name, 557s # GVariant *parameters, 557s # GDBusMethodInvocation *invocation, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # _ExtendedGDBusMethodInfo *info; 557s # GVariantIter iter; 557s # GVariant *child; 557s # GValue *paramv; 557s # gsize num_params; 557s # guint num_extra; 557s # gsize n; 557s # guint signal_id; 557s # GValue return_value = G_VALUE_INIT; 557s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 557s # g_assert (info != NULL); 557s # num_params = g_variant_n_children (parameters); 557s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 557s # n = 0; 557s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_set_object (¶mv[n++], skeleton); 557s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 557s # g_value_set_object (¶mv[n++], invocation); 557s # if (info->pass_fdlist) 557s # { 557s # #ifdef G_OS_UNIX 557s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 557s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 557s # #else 557s # g_assert_not_reached (); 557s # #endif 557s # } 557s # g_variant_iter_init (&iter, parameters); 557s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 557s # { 557s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 557s # if (arg_info->use_gvariant) 557s # { 557s # g_value_init (¶mv[n], G_TYPE_VARIANT); 557s # g_value_set_variant (¶mv[n], child); 557s # n++; 557s # } 557s # else 557s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 557s # g_variant_unref (child); 557s # } 557s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 557s # g_value_init (&return_value, G_TYPE_BOOLEAN); 557s # g_signal_emitv (paramv, signal_id, 0, &return_value); 557s # if (!g_value_get_boolean (&return_value)) 557s # 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); 557s # g_value_unset (&return_value); 557s # for (n = 0; n < num_params + num_extra; n++) 557s # g_value_unset (¶mv[n]); 557s # g_free (paramv); 557s # } 557s # 557s # static GVariant * 557s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # GVariant *ret; 557s # ret = NULL; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # g_value_init (&value, pspec->value_type); 557s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 557s # g_value_unset (&value); 557s # } 557s # return ret; 557s # } 557s # 557s # static gboolean 557s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 557s # GDBusConnection *connection G_GNUC_UNUSED, 557s # const gchar *sender G_GNUC_UNUSED, 557s # const gchar *object_path G_GNUC_UNUSED, 557s # const gchar *interface_name G_GNUC_UNUSED, 557s # const gchar *property_name, 557s # GVariant *variant, 557s # GError **error, 557s # gpointer user_data) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 557s # GValue value = G_VALUE_INIT; 557s # GParamSpec *pspec; 557s # _ExtendedGDBusPropertyInfo *info; 557s # gboolean ret; 557s # ret = FALSE; 557s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 557s # g_assert (info != NULL); 557s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 557s # if (pspec == NULL) 557s # { 557s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 557s # } 557s # else 557s # { 557s # if (info->use_gvariant) 557s # g_value_set_variant (&value, variant); 557s # else 557s # g_dbus_gvariant_to_gvalue (variant, &value); 557s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 557s # g_value_unset (&value); 557s # ret = TRUE; 557s # } 557s # return ret; 557s # } 557s # 557s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 557s # { 557s # _org_project_other_signaling_iface_skeleton_handle_method_call, 557s # _org_project_other_signaling_iface_skeleton_handle_get_property, 557s # _org_project_other_signaling_iface_skeleton_handle_set_property, 557s # {NULL} 557s # }; 557s # 557s # static GDBusInterfaceInfo * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return org_project_other_signaling_iface_interface_info (); 557s # } 557s # 557s # static GDBusInterfaceVTable * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 557s # { 557s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 557s # } 557s # 557s # static GVariant * 557s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 557s # 557s # GVariantBuilder builder; 557s # guint n; 557s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 557s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 557s # goto out; 557s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 557s # { 557s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 557s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 557s # { 557s # GVariant *value; 557s # 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); 557s # if (value != NULL) 557s # { 557s # g_variant_take_ref (value); 557s # g_variant_builder_add (&builder, "{sv}", info->name, value); 557s # g_variant_unref (value); 557s # } 557s # } 557s # } 557s # out: 557s # return g_variant_builder_end (&builder); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 557s # { 557s # } 557s # 557s # static void 557s # _org_project_other_signaling_iface_on_signal_simple_signal ( 557s # OrgProjectOtherSignalingIface *object) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 557s # 557s # GList *connections, *l; 557s # GVariant *signal_variant; 557s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 557s # 557s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 557s # for (l = connections; l != NULL; l = l->next) 557s # { 557s # GDBusConnection *connection = l->data; 557s # g_dbus_connection_emit_signal (connection, 557s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 557s # signal_variant, NULL); 557s # } 557s # g_variant_unref (signal_variant); 557s # g_list_free_full (connections, g_object_unref); 557s # } 557s # 557s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 557s # 557s # #else 557s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 557s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 557s # 557s # #endif 557s # static void 557s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 557s # { 557s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 557s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 557s # if (skeleton->priv->changed_properties_idle_source != NULL) 557s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 557s # g_main_context_unref (skeleton->priv->context); 557s # g_mutex_clear (&skeleton->priv->lock); 557s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 557s # { 557s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 557s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 557s # #else 557s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 557s # #endif 557s # 557s # g_mutex_init (&skeleton->priv->lock); 557s # skeleton->priv->context = g_main_context_ref_thread_default (); 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 557s # { 557s # GObjectClass *gobject_class; 557s # GDBusInterfaceSkeletonClass *skeleton_class; 557s # 557s # gobject_class = G_OBJECT_CLASS (klass); 557s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 557s # 557s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 557s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 557s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 557s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 557s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 557s # 557s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 557s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 557s # #endif 557s # } 557s # 557s # static void 557s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 557s # { 557s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 557s # } 557s # 557s # /** 557s # * org_project_other_signaling_iface_skeleton_new: 557s # * 557s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 557s # * 557s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 557s # */ 557s # OrgProjectOtherSignalingIface * 557s # org_project_other_signaling_iface_skeleton_new (void) 557s # { 557s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 557s # } 558s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 558s # tmpdir: /tmp/tmp45ezo5jw 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmp45ezo5jw/tmp_x215i8r.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmp_x215i8r.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_b", 558s # (gchar *) "b", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalB", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-b" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOOLEAN (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-b: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_b: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 558s # g_signal_new ("single-arg-signal-b", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_BOOLEAN); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_b: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_b: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalB" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_b ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_arg_b) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_arg_b) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 558s # arg_arg_b)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpf88iacqb.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpf88iacqb.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_y", 558s # (gchar *) "y", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalY", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-y" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UCHAR (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-y: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_y: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 558s # g_signal_new ("single-arg-signal-y", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UCHAR); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_y: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_y: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalY" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_y ( 558s # OrgProjectSignalingIface *object, 558s # guchar arg_arg_y) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 558s # OrgProjectSignalingIface *object, 558s # guchar arg_arg_y) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 558s # arg_arg_y)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpyrborcpb.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpyrborcpb.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_n", 558s # (gchar *) "n", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalN", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-n" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__INT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-n: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_n: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 558s # g_signal_new ("single-arg-signal-n", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_n: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_n: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalN" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_n ( 558s # OrgProjectSignalingIface *object, 558s # gint16 arg_arg_n) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 558s # OrgProjectSignalingIface *object, 558s # gint16 arg_arg_n) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 558s # arg_arg_n)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpjc9feyb4.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpjc9feyb4.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_q", 558s # (gchar *) "q", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalQ", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-q" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UINT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-q: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_q: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 558s # g_signal_new ("single-arg-signal-q", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_q: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_q: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalQ" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_q ( 558s # OrgProjectSignalingIface *object, 558s # guint16 arg_arg_q) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 558s # OrgProjectSignalingIface *object, 558s # guint16 arg_arg_q) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 558s # arg_arg_q)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpb10r5vls.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpb10r5vls.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_i", 558s # (gchar *) "i", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalI", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-i" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__INT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-i: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_i: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 558s # g_signal_new ("single-arg-signal-i", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_i: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_i: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalI" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_i ( 558s # OrgProjectSignalingIface *object, 558s # gint arg_arg_i) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 558s # OrgProjectSignalingIface *object, 558s # gint arg_arg_i) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 558s # arg_arg_i)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpyyzynzqv.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpyyzynzqv.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_u", 558s # (gchar *) "u", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalU", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-u" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__UINT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-u: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_u: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 558s # g_signal_new ("single-arg-signal-u", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_u: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_u: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalU" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_u ( 558s # OrgProjectSignalingIface *object, 558s # guint arg_arg_u) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 558s # OrgProjectSignalingIface *object, 558s # guint arg_arg_u) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 558s # arg_arg_u)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmp0e9josr_.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmp0e9josr_.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__INT64 ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 558s # (void *data1, 558s # gint64 arg_arg_x, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_Int64Func callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_int64 (param_values + 1), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_x", 558s # (gchar *) "x", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalX", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-x" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-x: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_x: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 558s # g_signal_new ("single-arg-signal-x", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_INT64); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_x: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_x: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalX" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_x ( 558s # OrgProjectSignalingIface *object, 558s # gint64 arg_arg_x) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 558s # OrgProjectSignalingIface *object, 558s # gint64 arg_arg_x) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 558s # arg_arg_x)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmprjzs7mof.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmprjzs7mof.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__UINT64 ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 558s # (void *data1, 558s # guint64 arg_arg_t, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_Uint64Func callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_uint64 (param_values + 1), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_t", 558s # (gchar *) "t", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalT", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-t" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-t: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_t: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 558s # g_signal_new ("single-arg-signal-t", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_UINT64); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_t: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_t: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalT" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_t ( 558s # OrgProjectSignalingIface *object, 558s # guint64 arg_arg_t) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 558s # OrgProjectSignalingIface *object, 558s # guint64 arg_arg_t) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 558s # arg_arg_t)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmp6s0p1qjo.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmp6s0p1qjo.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_d", 558s # (gchar *) "d", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalD", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-d" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__DOUBLE (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-d: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_d: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 558s # g_signal_new ("single-arg-signal-d", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_DOUBLE); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_d: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_d: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalD" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_d ( 558s # OrgProjectSignalingIface *object, 558s # gdouble arg_arg_d) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 558s # OrgProjectSignalingIface *object, 558s # gdouble arg_arg_d) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 558s # arg_arg_d)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmphdasg6cz.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmphdasg6cz.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_s", 558s # (gchar *) "s", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalS", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-s" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-s: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_s: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 558s # g_signal_new ("single-arg-signal-s", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_s: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_s: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalS" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_s ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_s) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_s) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 558s # arg_arg_s)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpgmyb0ln4.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpgmyb0ln4.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_o", 558s # (gchar *) "o", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalO", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-o" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-o: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_o: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 558s # g_signal_new ("single-arg-signal-o", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_o: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_o: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalO" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_o ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_o) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_o) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 558s # arg_arg_o)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpqr9h00rg.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpqr9h00rg.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_g", 558s # (gchar *) "g", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalG", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-g" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-g: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_g: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 558s # g_signal_new ("single-arg-signal-g", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_g: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_g: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalG" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_g ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_g) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_g) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 558s # arg_arg_g)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpib8571c2.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpib8571c2.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_h", 558s # (gchar *) "h", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalH", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-h" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-h: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_h: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 558s # g_signal_new ("single-arg-signal-h", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_VARIANT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_h: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_h: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalH" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_h ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_h) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_h) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 558s # arg_arg_h)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpkd96h02b.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpkd96h02b.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_ay", 558s # (gchar *) "ay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAy", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-ay" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__STRING (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-ay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ay: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 558s # g_signal_new ("single-arg-signal-ay", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRING); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_ay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ay: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAy" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_ay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_ay) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *arg_arg_ay) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 558s # arg_arg_ay)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpxslsqb0h.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpxslsqb0h.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_as", 558s # (gchar *) "as", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAs", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-as" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-as: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_as: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 558s # g_signal_new ("single-arg-signal-as", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_as: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_as: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAs" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_as ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_as) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_as) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 558s # arg_arg_as)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmp3mazospo.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmp3mazospo.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_ao", 558s # (gchar *) "ao", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAo", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-ao" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-ao: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ao: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 558s # g_signal_new ("single-arg-signal-ao", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_ao: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_ao: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAo" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_ao ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_ao) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_ao) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 558s # arg_arg_ao)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpa0ijvl5b.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpa0ijvl5b.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_aay", 558s # (gchar *) "aay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAay", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-aay" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__BOXED (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-aay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_aay: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 558s # g_signal_new ("single-arg-signal-aay", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_STRV); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_aay: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_aay: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAay" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_aay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_aay) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 558s # OrgProjectSignalingIface *object, 558s # const gchar *const *arg_arg_aay) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 558s # arg_arg_aay)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s # /tmp/tmp45ezo5jw/tmpwz7lzxju.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45ezo5jw/tmpwz7lzxju.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "arg_asv", 558s # (gchar *) "a{sv}", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SingleArgSignalAsv", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 558s # NULL 558s # }, 558s # "single-arg-signal-asv" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::single-arg-signal-asv: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_asv: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 558s # g_signal_new ("single-arg-signal-asv", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 558s # G_TYPE_NONE, 558s # 1, G_TYPE_VARIANT); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_single_arg_signal_asv: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_arg_asv: Argument to pass with the signal. 558s # * 558s # * Emits the "SingleArgSignalAsv" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_single_arg_signal_asv ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_asv) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 558s # OrgProjectSignalingIface *object, 558s # GVariant *arg_arg_asv) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 558s # arg_arg_asv)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 558s # tmpdir: /tmp/tmp9kivhj7w 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmp9kivhj7w/tmpshlx07yl.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9kivhj7w/tmpshlx07yl.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 558s # GClosure *closure, 558s # GValue *return_value G_GNUC_UNUSED, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 558s # (void *data1, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv, 558s # void *data2); 558s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # 558s # g_return_if_fail (n_param_values == 19); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # callback (data1, 558s # g_marshal_value_peek_boolean (param_values + 1), 558s # g_marshal_value_peek_uchar (param_values + 2), 558s # g_marshal_value_peek_int (param_values + 3), 558s # g_marshal_value_peek_uint (param_values + 4), 558s # g_marshal_value_peek_int (param_values + 5), 558s # g_marshal_value_peek_uint (param_values + 6), 558s # g_marshal_value_peek_int64 (param_values + 7), 558s # g_marshal_value_peek_uint64 (param_values + 8), 558s # g_marshal_value_peek_double (param_values + 9), 558s # g_marshal_value_peek_string (param_values + 10), 558s # g_marshal_value_peek_string (param_values + 11), 558s # g_marshal_value_peek_string (param_values + 12), 558s # g_marshal_value_peek_variant (param_values + 13), 558s # g_marshal_value_peek_string (param_values + 14), 558s # g_marshal_value_peek_boxed (param_values + 15), 558s # g_marshal_value_peek_boxed (param_values + 16), 558s # g_marshal_value_peek_boxed (param_values + 17), 558s # g_marshal_value_peek_variant (param_values + 18), 558s # data2); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.SignalingIface 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectSignalingIface 558s # * @title: OrgProjectSignalingIface 558s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 558s # }; 558s # 558s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 558s # 558s # /* ---- Introspection data for org.project.SignalingIface ---- */ 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SimpleSignal", 558s # NULL, 558s # NULL 558s # }, 558s # "simple-signal" 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_b", 558s # (gchar *) "b", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_y", 558s # (gchar *) "y", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_n", 558s # (gchar *) "n", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_q", 558s # (gchar *) "q", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_i", 558s # (gchar *) "i", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_u", 558s # (gchar *) "u", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_x", 558s # (gchar *) "x", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_t", 558s # (gchar *) "t", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_d", 558s # (gchar *) "d", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_s", 558s # (gchar *) "s", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_o", 558s # (gchar *) "o", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_g", 558s # (gchar *) "g", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_h", 558s # (gchar *) "h", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_ay", 558s # (gchar *) "ay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_as", 558s # (gchar *) "as", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_ao", 558s # (gchar *) "ao", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_aay", 558s # (gchar *) "aay", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 558s # { 558s # { 558s # -1, 558s # (gchar *) "an_asv", 558s # (gchar *) "a{sv}", 558s # NULL 558s # }, 558s # FALSE 558s # }; 558s # 558s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 558s # { 558s # { 558s # -1, 558s # (gchar *) "SignalWithManyArgs", 558s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 558s # NULL 558s # }, 558s # "signal-with-many-args" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 558s # { 558s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 558s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.SignalingIface", 558s # NULL, 558s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-signaling-iface", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_signaling_iface_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_simple_signal ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectSignalingIface: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceIface: 558s # * @parent_iface: The parent interface. 558s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 558s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.SignalingIface. 558s # */ 558s # 558s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 558s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * OrgProjectSignalingIface::simple-signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 558s # g_signal_new ("simple-signal", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_simple_signal, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /** 558s # * OrgProjectSignalingIface::signal-with-many-args: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_an_b: Argument. 558s # * @arg_an_y: Argument. 558s # * @arg_an_n: Argument. 558s # * @arg_an_q: Argument. 558s # * @arg_an_i: Argument. 558s # * @arg_an_u: Argument. 558s # * @arg_an_x: Argument. 558s # * @arg_an_t: Argument. 558s # * @arg_an_d: Argument. 558s # * @arg_an_s: Argument. 558s # * @arg_an_o: Argument. 558s # * @arg_an_g: Argument. 558s # * @arg_an_h: Argument. 558s # * @arg_an_ay: Argument. 558s # * @arg_an_as: Argument. 558s # * @arg_an_ao: Argument. 558s # * @arg_an_aay: Argument. 558s # * @arg_an_asv: Argument. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 558s # * 558s # * 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. 558s # */ 558s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 558s # g_signal_new ("signal-with-many-args", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 558s # NULL, 558s # NULL, 558s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 558s # G_TYPE_NONE, 558s # 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); 558s # 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_simple_signal: 558s # * @object: A #OrgProjectSignalingIface. 558s # * 558s # * Emits the "SimpleSignal" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_emit_signal_with_many_args: 558s # * @object: A #OrgProjectSignalingIface. 558s # * @arg_an_b: Argument to pass with the signal. 558s # * @arg_an_y: Argument to pass with the signal. 558s # * @arg_an_n: Argument to pass with the signal. 558s # * @arg_an_q: Argument to pass with the signal. 558s # * @arg_an_i: Argument to pass with the signal. 558s # * @arg_an_u: Argument to pass with the signal. 558s # * @arg_an_x: Argument to pass with the signal. 558s # * @arg_an_t: Argument to pass with the signal. 558s # * @arg_an_d: Argument to pass with the signal. 558s # * @arg_an_s: Argument to pass with the signal. 558s # * @arg_an_o: Argument to pass with the signal. 558s # * @arg_an_g: Argument to pass with the signal. 558s # * @arg_an_h: Argument to pass with the signal. 558s # * @arg_an_ay: Argument to pass with the signal. 558s # * @arg_an_as: Argument to pass with the signal. 558s # * @arg_an_ao: Argument to pass with the signal. 558s # * @arg_an_aay: Argument to pass with the signal. 558s # * @arg_an_asv: Argument to pass with the signal. 558s # * 558s # * Emits the "SignalWithManyArgs" D-Bus signal. 558s # */ 558s # void 558s # org_project_signaling_iface_emit_signal_with_many_args ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv) 558s # { 558s # 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); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxy: 558s # * 558s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceProxy. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 558s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 558s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_signaling_iface_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_SIGNALING_IFACE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeleton: 558s # * 558s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectSignalingIfaceSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 558s # */ 558s # 558s # struct _OrgProjectSignalingIfaceSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_signaling_iface_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_signaling_iface_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_signaling_iface_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 558s # { 558s # _org_project_signaling_iface_skeleton_handle_method_call, 558s # _org_project_signaling_iface_skeleton_handle_get_property, 558s # _org_project_signaling_iface_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_signaling_iface_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_simple_signal ( 558s # OrgProjectSignalingIface *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void 558s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 558s # OrgProjectSignalingIface *object, 558s # gboolean arg_an_b, 558s # guchar arg_an_y, 558s # gint16 arg_an_n, 558s # guint16 arg_an_q, 558s # gint arg_an_i, 558s # guint arg_an_u, 558s # gint64 arg_an_x, 558s # guint64 arg_an_t, 558s # gdouble arg_an_d, 558s # const gchar *arg_an_s, 558s # const gchar *arg_an_o, 558s # const gchar *arg_an_g, 558s # GVariant *arg_an_h, 558s # const gchar *arg_an_ay, 558s # const gchar *const *arg_an_as, 558s # const gchar *const *arg_an_ao, 558s # const gchar *const *arg_an_aay, 558s # GVariant *arg_an_asv) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 558s # arg_an_b, 558s # arg_an_y, 558s # arg_an_n, 558s # arg_an_q, 558s # arg_an_i, 558s # arg_an_u, 558s # arg_an_x, 558s # arg_an_t, 558s # arg_an_d, 558s # arg_an_s, 558s # arg_an_o, 558s # arg_an_g, 558s # arg_an_h, 558s # arg_an_ay, 558s # arg_an_as, 558s # arg_an_ao, 558s # arg_an_aay, 558s # arg_an_asv)); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_signaling_iface_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 558s # { 558s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 558s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 558s # } 558s # 558s # /** 558s # * org_project_signaling_iface_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 558s # * 558s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 558s # */ 558s # OrgProjectSignalingIface * 558s # org_project_signaling_iface_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 558s # } 558s ok 25 __main__.TestCodegen.test_generate_valid_docbook 558s # tmpdir: /tmp/tmp1ahf196a 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmp1ahf196a/tmpsnb__5bd.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1ahf196a/tmpsnb__5bd.xml', '--generate-docbook', 'test'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: 558s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 558s # tmpdir: /tmp/tmpfrnz66rr 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpfrnz66rr/tmpkgks6iia.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfrnz66rr/tmpkgks6iia.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 558s # tmpdir: /tmp/tmpya2of8z9 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpya2of8z9/tmpc1csvacl.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpya2of8z9/tmpc1csvacl.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 558s # tmpdir: /tmp/tmpqntzxsh6 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpqntzxsh6/tmpz580u03n.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqntzxsh6/tmpz580u03n.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 558s # tmpdir: /tmp/tmpzdzpgimv 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpzdzpgimv/tmpie9e2mih.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzdzpgimv/tmpie9e2mih.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 558s # tmpdir: /tmp/tmplv6f6w4e 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmplv6f6w4e/tmp1n36h8ty.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplv6f6w4e/tmp1n36h8ty.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 558s # tmpdir: /tmp/tmpeie8rwsr 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpeie8rwsr/tmpqj4bku03.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeie8rwsr/tmpqj4bku03.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 558s # tmpdir: /tmp/tmpkssp7vsc 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpkssp7vsc/tmpfe2488j0.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkssp7vsc/tmpfe2488j0.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 558s # tmpdir: /tmp/tmpm_g1tn5h 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpm_g1tn5h/tmpvezeumm_.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm_g1tn5h/tmpvezeumm_.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 558s # tmpdir: /tmp/tmp0k8v215c 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmp0k8v215c/tmp_98zfp4q.xml: 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0k8v215c/tmp_98zfp4q.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s ok 35 __main__.TestCodegen.test_help 558s # tmpdir: /tmp/tmpn73knn7b 558s # codegen: /usr/bin/gdbus-codegen 558s # Running: ['/usr/bin/gdbus-codegen', '--help'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 558s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 558s # [--c-generate-autocleanup {none,objects,all}] 558s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 558s # [--generate-rst OUTFILES] [--pragma-once] 558s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 558s # [--glib-min-required VERSION] 558s # [--glib-max-allowed VERSION] 558s # [--symbol-decorator SYMBOL_DECORATOR] 558s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 558s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 558s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 558s # [--output FILE | --output-directory OUTDIR] 558s # FILE [FILE ...] 558s # 558s # D-Bus code and documentation generator 558s # 558s # positional arguments: 558s # FILE D-Bus introspection XML file 558s # 558s # options: 558s # -h, --help show this help message and exit 558s # --interface-prefix PREFIX 558s # String to strip from D-Bus interface names for code 558s # and docs 558s # --c-namespace NAMESPACE 558s # The namespace to use for generated C code 558s # --c-generate-object-manager 558s # Generate a GDBusObjectManagerClient subclass when 558s # generating C code 558s # --c-generate-autocleanup {none,objects,all} 558s # Generate autocleanup support 558s # --generate-docbook OUTFILES 558s # Generate Docbook in OUTFILES-org.Project.IFace.xml 558s # --generate-md OUTFILES 558s # Generate Markdown in OUTFILES-org.Project.IFace.md 558s # --generate-rst OUTFILES 558s # Generate reStructuredText in OUTFILES- 558s # org.Project.IFace.rst 558s # --pragma-once Use "pragma once" as the inclusion guard 558s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 558s # Add annotation (may be used several times) 558s # --glib-min-required VERSION 558s # Minimum version of GLib to be supported by the 558s # outputted code (default: 2.30) 558s # --glib-max-allowed VERSION 558s # Maximum version of GLib to be used by the outputted 558s # code (default: current GLib version) 558s # --symbol-decorator SYMBOL_DECORATOR 558s # Macro used to decorate a symbol in the outputted 558s # header, possibly to export symbols 558s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 558s # Additional header required for decorator specified by 558s # --symbol-decorator 558s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 558s # Additional define required for decorator specified by 558s # --symbol-decorator 558s # --generate-c-code OUTFILES 558s # Generate C code in OUTFILES.[ch] 558s # --header Generate C headers 558s # --body Generate C code 558s # --interface-info-header 558s # Generate GDBusInterfaceInfo C header 558s # --interface-info-body 558s # Generate GDBusInterfaceInfo C code 558s # --output FILE Write output into the specified file 558s # --output-directory OUTDIR 558s # Location to output generated files 558s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 558s # tmpdir: /tmp/tmplrh7wngd 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmplrh7wngd/tmpf59fs2bi.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplrh7wngd/tmpf59fs2bi.xml', '--generate-rst', 'test'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: 558s # /tmp/tmplrh7wngd/tmp551ykqm4.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplrh7wngd/tmp551ykqm4.xml', '--generate-md', 'test'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: 558s # /tmp/tmplrh7wngd/tmp5i3qw8m8.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplrh7wngd/tmp5i3qw8m8.xml', '--generate-docbook', 'test'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: 558s ok 37 __main__.TestCodegen.test_no_args 558s # tmpdir: /tmp/tmplhu4s27z 558s # codegen: /usr/bin/gdbus-codegen 558s # Running: ['/usr/bin/gdbus-codegen'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s ok 38 __main__.TestCodegen.test_reproducible 558s # tmpdir: /tmp/tmpmhluswqr 558s # codegen: /usr/bin/gdbus-codegen 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmhluswqr/tmpcpuc183w1.xml', '/tmp/tmpmhluswqr/tmpiky2zskq2.xml', '--output', '-', '--header'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for com.acme.Coyote */ 558s # 558s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 558s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 558s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 558s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 558s # 558s # struct _ComAcmeCoyote; 558s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 558s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 558s # 558s # struct _ComAcmeCoyoteIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # 558s # 558s # gboolean (*handle_attack) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # gboolean (*handle_run) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # gboolean (*handle_sleep) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # const gchar * (*get_mood) (ComAcmeCoyote *object); 558s # 558s # void (*surprised) ( 558s # ComAcmeCoyote *object); 558s # 558s # }; 558s # 558s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 558s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void com_acme_coyote_complete_run ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # void com_acme_coyote_complete_sleep ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # void com_acme_coyote_complete_attack ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus signal emissions functions: */ 558s # void com_acme_coyote_emit_surprised ( 558s # ComAcmeCoyote *object); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void com_acme_coyote_call_run ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_run_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_run_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_call_sleep ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_sleep_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_sleep_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_call_attack ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_attack_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_attack_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* D-Bus property accessors: */ 558s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 558s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 558s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 558s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 558s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 558s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 558s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 558s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 558s # 558s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 558s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 558s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 558s # 558s # struct _ComAcmeCoyoteProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # ComAcmeCoyoteProxyPrivate *priv; 558s # }; 558s # 558s # struct _ComAcmeCoyoteProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 558s # #endif 558s # 558s # void com_acme_coyote_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 558s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 558s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 558s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 558s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 558s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 558s # 558s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 558s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 558s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 558s # 558s # struct _ComAcmeCoyoteSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # ComAcmeCoyoteSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _ComAcmeCoyoteSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 558s # #endif 558s # 558s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for org.project.Bar.Frobnicator */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 558s # 558s # struct _OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 558s # 558s # struct _OrgProjectBarFrobnicatorIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_random_method) ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # }; 558s # 558s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 558s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void org_project_bar_frobnicator_complete_random_method ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void org_project_bar_frobnicator_call_random_method ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # 558s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 558s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 558s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 558s # 558s # struct _OrgProjectBarFrobnicatorProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # OrgProjectBarFrobnicatorProxyPrivate *priv; 558s # }; 558s # 558s # struct _OrgProjectBarFrobnicatorProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 558s # #endif 558s # 558s # void org_project_bar_frobnicator_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void org_project_bar_frobnicator_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 558s # 558s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 558s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 558s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 558s # 558s # struct _OrgProjectBarFrobnicatorSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _OrgProjectBarFrobnicatorSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 558s # #endif 558s # 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmhluswqr/tmpiky2zskq2.xml', '/tmp/tmpmhluswqr/tmpcpuc183w1.xml', '--output', '-', '--header'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for com.acme.Coyote */ 558s # 558s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 558s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 558s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 558s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 558s # 558s # struct _ComAcmeCoyote; 558s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 558s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 558s # 558s # struct _ComAcmeCoyoteIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # 558s # 558s # gboolean (*handle_attack) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # gboolean (*handle_run) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # gboolean (*handle_sleep) ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # const gchar * (*get_mood) (ComAcmeCoyote *object); 558s # 558s # void (*surprised) ( 558s # ComAcmeCoyote *object); 558s # 558s # }; 558s # 558s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 558s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void com_acme_coyote_complete_run ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # void com_acme_coyote_complete_sleep ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # void com_acme_coyote_complete_attack ( 558s # ComAcmeCoyote *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus signal emissions functions: */ 558s # void com_acme_coyote_emit_surprised ( 558s # ComAcmeCoyote *object); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void com_acme_coyote_call_run ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_run_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_run_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_call_sleep ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_sleep_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_sleep_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_call_attack ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean com_acme_coyote_call_attack_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean com_acme_coyote_call_attack_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* D-Bus property accessors: */ 558s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 558s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 558s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 558s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 558s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 558s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 558s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 558s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 558s # 558s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 558s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 558s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 558s # 558s # struct _ComAcmeCoyoteProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # ComAcmeCoyoteProxyPrivate *priv; 558s # }; 558s # 558s # struct _ComAcmeCoyoteProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 558s # #endif 558s # 558s # void com_acme_coyote_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void com_acme_coyote_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 558s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 558s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 558s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 558s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 558s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 558s # 558s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 558s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 558s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 558s # 558s # struct _ComAcmeCoyoteSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # ComAcmeCoyoteSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _ComAcmeCoyoteSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 558s # #endif 558s # 558s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for org.project.Bar.Frobnicator */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 558s # 558s # struct _OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 558s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 558s # 558s # struct _OrgProjectBarFrobnicatorIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_random_method) ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # }; 558s # 558s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 558s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void org_project_bar_frobnicator_complete_random_method ( 558s # OrgProjectBarFrobnicator *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void org_project_bar_frobnicator_call_random_method ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 558s # 558s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 558s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 558s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 558s # 558s # struct _OrgProjectBarFrobnicatorProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # OrgProjectBarFrobnicatorProxyPrivate *priv; 558s # }; 558s # 558s # struct _OrgProjectBarFrobnicatorProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 558s # #endif 558s # 558s # void org_project_bar_frobnicator_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void org_project_bar_frobnicator_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 558s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 558s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 558s # 558s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 558s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 558s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 558s # 558s # struct _OrgProjectBarFrobnicatorSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _OrgProjectBarFrobnicatorSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 558s # #endif 558s # 558s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmhluswqr/tmpcpuc183w1.xml', '/tmp/tmpmhluswqr/tmpiky2zskq2.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 558s # (void *data1, 558s # GDBusMethodInvocation *arg_method_invocation, 558s # void *data2); 558s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # gboolean v_return; 558s # 558s # g_return_if_fail (return_value != NULL); 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # v_return = 558s # callback (data1, 558s # g_marshal_value_peek_object (param_values + 1), 558s # data2); 558s # 558s # g_value_set_boolean (return_value, v_return); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface com.acme.Coyote 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:ComAcmeCoyote 558s # * @title: ComAcmeCoyote 558s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 558s # * 558s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _COM_ACME_COYOTE_SURPRISED, 558s # }; 558s # 558s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 558s # 558s # /* ---- Introspection data for com.acme.Coyote ---- */ 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Run", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-run", 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Sleep", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-sleep", 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Attack", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-attack", 558s # FALSE 558s # }; 558s # 558s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 558s # { 558s # &_com_acme_coyote_method_info_run.parent_struct, 558s # &_com_acme_coyote_method_info_sleep.parent_struct, 558s # &_com_acme_coyote_method_info_attack.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Surprised", 558s # NULL, 558s # NULL 558s # }, 558s # "surprised" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 558s # { 558s # &_com_acme_coyote_signal_info_surprised.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Mood", 558s # (gchar *) "s", 558s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 558s # NULL 558s # }, 558s # "mood", 558s # FALSE, 558s # TRUE 558s # }; 558s # 558s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 558s # { 558s # &_com_acme_coyote_property_info_mood.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "com.acme.Coyote", 558s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 558s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 558s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 558s # NULL 558s # }, 558s # "com-acme-coyote", 558s # }; 558s # 558s # 558s # /** 558s # * com_acme_coyote_interface_info: 558s # * 558s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # com_acme_coyote_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 558s # { 558s # g_object_class_override_property (klass, property_id_begin++, "mood"); 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # com_acme_coyote_signal_marshal_surprised ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_run ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_sleep ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_attack ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * ComAcmeCoyote: 558s # * 558s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteIface: 558s # * @parent_iface: The parent interface. 558s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 558s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 558s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 558s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 558s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 558s # * 558s # * Virtual table for the D-Bus interface com.acme.Coyote. 558s # */ 558s # 558s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 558s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 558s # 558s # static void 558s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 558s # { 558s # /* GObject signals for incoming D-Bus method calls: */ 558s # /** 558s # * ComAcmeCoyote::handle-run: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-run", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_run, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /** 558s # * ComAcmeCoyote::handle-sleep: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-sleep", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_sleep, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /** 558s # * ComAcmeCoyote::handle-attack: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-attack", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_attack, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * ComAcmeCoyote::surprised: 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 558s # * 558s # * 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. 558s # */ 558s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 558s # g_signal_new ("surprised", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 558s # NULL, 558s # NULL, 558s # com_acme_coyote_signal_marshal_surprised, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /* GObject properties for D-Bus properties: */ 558s # /** 558s # * ComAcmeCoyote:mood: 558s # * 558s # * Represents the D-Bus property "Mood". 558s # * 558s # * 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. 558s # */ 558s # g_object_interface_install_property (iface, 558s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_get_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Gets the value of the "Mood" D-Bus property. 558s # * 558s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # const gchar * 558s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 558s # { 558s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 558s # 558s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_dup_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Gets a copy of the "Mood" D-Bus property. 558s # * 558s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 558s # * 558s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 558s # */ 558s # gchar * 558s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 558s # { 558s # gchar *value; 558s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 558s # return value; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_set_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * @value: The value to set. 558s # * 558s # * Sets the "Mood" D-Bus property to @value. 558s # * 558s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 558s # */ 558s # void 558s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 558s # { 558s # g_object_set (G_OBJECT (object), "mood", value, NULL); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_emit_surprised: 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Emits the "Surprised" D-Bus signal. 558s # */ 558s # void 558s # com_acme_coyote_emit_surprised ( 558s # ComAcmeCoyote *object) 558s # { 558s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Run() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_run ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Run", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_run(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_run_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_run_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Run", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_sleep ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Sleep", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_sleep(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_sleep_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_sleep_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Sleep", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_attack ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Attack", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_attack(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_attack_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_attack_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Attack", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_run: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_run ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_sleep: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_sleep ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_attack: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_attack ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * ComAcmeCoyoteProxy: 558s # * 558s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #ComAcmeCoyoteProxy. 558s # */ 558s # 558s # struct _ComAcmeCoyoteProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # com_acme_coyote_proxy_finalize (GObject *object) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_get_property (GObject *object, 558s # guint prop_id, 558s # GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # GVariant *variant; 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 558s # if (info->use_gvariant) 558s # { 558s # g_value_set_variant (value, variant); 558s # } 558s # else 558s # { 558s # if (variant != NULL) 558s # g_dbus_gvariant_to_gvalue (variant, value); 558s # } 558s # if (variant != NULL) 558s # g_variant_unref (variant); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 558s # GAsyncResult *res, 558s # gpointer user_data) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info = user_data; 558s # GError *error; 558s # GVariant *_ret; 558s # error = NULL; 558s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 558s # if (!_ret) 558s # { 558s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 558s # info->parent_struct.name, 558s # error->message, g_quark_to_string (error->domain), error->code); 558s # g_error_free (error); 558s # } 558s # else 558s # { 558s # g_variant_unref (_ret); 558s # } 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_set_property (GObject *object, 558s # guint prop_id, 558s # const GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # GVariant *variant; 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_dbus_proxy_call (G_DBUS_PROXY (object), 558s # "org.freedesktop.DBus.Properties.Set", 558s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 558s # g_variant_unref (variant); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static const gchar * 558s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 558s # GVariant *variant; 558s # const gchar *value = NULL; 558s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 558s # if (variant != NULL) 558s # { 558s # value = g_variant_get_string (variant, NULL); 558s # g_variant_unref (variant); 558s # } 558s # return value; 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 558s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 558s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 558s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 558s # 558s # com_acme_coyote_override_properties (gobject_class, 1); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 558s # { 558s # iface->get_mood = com_acme_coyote_proxy_get_mood; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # com_acme_coyote_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with com_acme_coyote_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # com_acme_coyote_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * ComAcmeCoyoteSkeleton: 558s # * 558s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #ComAcmeCoyoteSkeleton. 558s # */ 558s # 558s # struct _ComAcmeCoyoteSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _com_acme_coyote_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _com_acme_coyote_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _com_acme_coyote_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 558s # { 558s # _com_acme_coyote_skeleton_handle_method_call, 558s # _com_acme_coyote_skeleton_handle_get_property, 558s # _com_acme_coyote_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return com_acme_coyote_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 558s # 558s # static void 558s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 558s # gboolean emit_changed = FALSE; 558s # 558s # g_mutex_lock (&skeleton->priv->lock); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # { 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # skeleton->priv->changed_properties_idle_source = NULL; 558s # emit_changed = TRUE; 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # 558s # if (emit_changed) 558s # _com_acme_coyote_emit_changed (skeleton); 558s # } 558s # 558s # static void 558s # _com_acme_coyote_on_signal_surprised ( 558s # ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # com_acme_coyote_skeleton_finalize (GObject *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # guint n; 558s # for (n = 0; n < 1; n++) 558s # g_value_unset (&skeleton->priv->properties[n]); 558s # g_free (skeleton->priv->properties); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_get_property (GObject *object, 558s # guint prop_id, 558s # GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # } 558s # 558s # static gboolean 558s # _com_acme_coyote_emit_changed (gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GList *l; 558s # GVariantBuilder builder; 558s # GVariantBuilder invalidated_builder; 558s # guint num_changes; 558s # 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 558s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 558s # { 558s # ChangedProperty *cp = l->data; 558s # GVariant *variant; 558s # const GValue *cur_value; 558s # 558s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 558s # if (!_g_value_equal (cur_value, &cp->orig_value)) 558s # { 558s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 558s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 558s # g_variant_unref (variant); 558s # num_changes++; 558s # } 558s # } 558s # if (num_changes > 0) 558s # { 558s # GList *connections, *ll; 558s # GVariant *signal_variant; 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 558s # &builder, &invalidated_builder)); 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # for (ll = connections; ll != NULL; ll = ll->next) 558s # { 558s # GDBusConnection *connection = ll->data; 558s # 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 558s # "org.freedesktop.DBus.Properties", 558s # "PropertiesChanged", 558s # signal_variant, 558s # NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # else 558s # { 558s # g_variant_builder_clear (&builder); 558s # g_variant_builder_clear (&invalidated_builder); 558s # } 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # skeleton->priv->changed_properties = NULL; 558s # skeleton->priv->changed_properties_idle_source = NULL; 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # return FALSE; 558s # } 558s # 558s # static void 558s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 558s # { 558s # ChangedProperty *cp; 558s # GList *l; 558s # cp = NULL; 558s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 558s # { 558s # ChangedProperty *i_cp = l->data; 558s # if (i_cp->info == info) 558s # { 558s # cp = i_cp; 558s # break; 558s # } 558s # } 558s # if (cp == NULL) 558s # { 558s # cp = g_new0 (ChangedProperty, 1); 558s # cp->prop_id = prop_id; 558s # cp->info = info; 558s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 558s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 558s # g_value_copy (orig_value, &cp->orig_value); 558s # } 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_notify (GObject *object, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_mutex_lock (&skeleton->priv->lock); 558s # if (skeleton->priv->changed_properties != NULL && 558s # skeleton->priv->changed_properties_idle_source == NULL) 558s # { 558s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 558s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 558s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 558s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 558s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 558s # g_source_unref (skeleton->priv->changed_properties_idle_source); 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_set_property (GObject *object, 558s # guint prop_id, 558s # const GValue *value, 558s # GParamSpec *pspec) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_object_freeze_notify (object); 558s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 558s # { 558s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 558s # info->emits_changed_signal) 558s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 558s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 558s # g_object_notify_by_pspec (object, pspec); 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # g_object_thaw_notify (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # skeleton->priv->properties = g_new0 (GValue, 1); 558s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 558s # } 558s # 558s # static const gchar * 558s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # const gchar *value; 558s # g_mutex_lock (&skeleton->priv->lock); 558s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # return value; 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 558s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 558s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 558s # gobject_class->notify = com_acme_coyote_skeleton_notify; 558s # 558s # 558s # com_acme_coyote_override_properties (gobject_class, 1); 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 558s # { 558s # iface->surprised = _com_acme_coyote_on_signal_surprised; 558s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_skeleton_new (void) 558s # { 558s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.Bar.Frobnicator 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectBarFrobnicator 558s # * @title: OrgProjectBarFrobnicator 558s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 558s # */ 558s # 558s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 558s # 558s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 558s # { 558s # { 558s # -1, 558s # (gchar *) "RandomMethod", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-random-method", 558s # FALSE 558s # }; 558s # 558s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 558s # { 558s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.Bar.Frobnicator", 558s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-bar-frobnicator", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_bar_frobnicator_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_bar_frobnicator_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_bar_frobnicator_method_marshal_random_method ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectBarFrobnicator: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorIface: 558s # * @parent_iface: The parent interface. 558s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 558s # */ 558s # 558s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 558s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 558s # { 558s # /* GObject signals for incoming D-Bus method calls: */ 558s # /** 558s # * OrgProjectBarFrobnicator::handle-random-method: 558s # * @object: A #OrgProjectBarFrobnicator. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-random-method", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # org_project_bar_frobnicator_method_marshal_random_method, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # org_project_bar_frobnicator_call_random_method ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "RandomMethod", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method_finish: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # org_project_bar_frobnicator_call_random_method_finish ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method_sync: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # org_project_bar_frobnicator_call_random_method_sync ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "RandomMethod", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_complete_random_method: 558s # * @object: A #OrgProjectBarFrobnicator. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # org_project_bar_frobnicator_complete_random_method ( 558s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorProxy: 558s # * 558s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectBarFrobnicatorProxy. 558s # */ 558s # 558s # struct _OrgProjectBarFrobnicatorProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 558s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 558s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_bar_frobnicator_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_bar_frobnicator_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorSkeleton: 558s # * 558s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 558s # */ 558s # 558s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 558s # { 558s # _org_project_bar_frobnicator_skeleton_handle_method_call, 558s # _org_project_bar_frobnicator_skeleton_handle_get_property, 558s # _org_project_bar_frobnicator_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_bar_frobnicator_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 558s # } 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmhluswqr/tmpiky2zskq2.xml', '/tmp/tmpmhluswqr/tmpcpuc183w1.xml', '--output', '-', '--body'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifdef HAVE_CONFIG_H 558s # # include "config.h" 558s # #endif 558s # 558s # #include 558s # #ifdef G_OS_UNIX 558s # # include 558s # #endif 558s # 558s # #ifdef G_ENABLE_DEBUG 558s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 558s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 558s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 558s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 558s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 558s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 558s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 558s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 558s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 558s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 558s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 558s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 558s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 558s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 558s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 558s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 558s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 558s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 558s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 558s # #else /* !G_ENABLE_DEBUG */ 558s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 558s # * Do not access GValues directly in your code. Instead, use the 558s # * g_value_get_*() functions 558s # */ 558s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 558s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 558s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 558s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 558s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 558s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 558s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 558s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 558s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 558s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 558s # #endif /* !G_ENABLE_DEBUG */ 558s # 558s # typedef struct 558s # { 558s # GDBusArgInfo parent_struct; 558s # gboolean use_gvariant; 558s # } _ExtendedGDBusArgInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusMethodInfo parent_struct; 558s # const gchar *signal_name; 558s # gboolean pass_fdlist; 558s # } _ExtendedGDBusMethodInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusSignalInfo parent_struct; 558s # const gchar *signal_name; 558s # } _ExtendedGDBusSignalInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusPropertyInfo parent_struct; 558s # const gchar *hyphen_name; 558s # guint use_gvariant : 1; 558s # guint emits_changed_signal : 1; 558s # } _ExtendedGDBusPropertyInfo; 558s # 558s # typedef struct 558s # { 558s # GDBusInterfaceInfo parent_struct; 558s # const gchar *hyphen_name; 558s # } _ExtendedGDBusInterfaceInfo; 558s # 558s # typedef struct 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # guint prop_id; 558s # GValue orig_value; /* the value before the change */ 558s # } ChangedProperty; 558s # 558s # static void 558s # _changed_property_free (ChangedProperty *data) 558s # { 558s # g_value_unset (&data->orig_value); 558s # g_free (data); 558s # } 558s # 558s # static gboolean 558s # _g_strv_equal0 (gchar **a, gchar **b) 558s # { 558s # gboolean ret = FALSE; 558s # guint n; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # if (g_strv_length (a) != g_strv_length (b)) 558s # goto out; 558s # for (n = 0; a[n] != NULL; n++) 558s # if (g_strcmp0 (a[n], b[n]) != 0) 558s # goto out; 558s # ret = TRUE; 558s # out: 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _g_variant_equal0 (GVariant *a, GVariant *b) 558s # { 558s # gboolean ret = FALSE; 558s # if (a == NULL && b == NULL) 558s # { 558s # ret = TRUE; 558s # goto out; 558s # } 558s # if (a == NULL || b == NULL) 558s # goto out; 558s # ret = g_variant_equal (a, b); 558s # out: 558s # return ret; 558s # } 558s # 558s # G_GNUC_UNUSED static gboolean 558s # _g_value_equal (const GValue *a, const GValue *b) 558s # { 558s # gboolean ret = FALSE; 558s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 558s # switch (G_VALUE_TYPE (a)) 558s # { 558s # case G_TYPE_BOOLEAN: 558s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 558s # break; 558s # case G_TYPE_UCHAR: 558s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 558s # break; 558s # case G_TYPE_INT: 558s # ret = (g_value_get_int (a) == g_value_get_int (b)); 558s # break; 558s # case G_TYPE_UINT: 558s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 558s # break; 558s # case G_TYPE_INT64: 558s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 558s # break; 558s # case G_TYPE_UINT64: 558s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 558s # break; 558s # case G_TYPE_DOUBLE: 558s # { 558s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 558s # gdouble da = g_value_get_double (a); 558s # gdouble db = g_value_get_double (b); 558s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 558s # } 558s # break; 558s # case G_TYPE_STRING: 558s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 558s # break; 558s # case G_TYPE_VARIANT: 558s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 558s # break; 558s # default: 558s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 558s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 558s # else 558s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 558s # break; 558s # } 558s # return ret; 558s # } 558s # 558s # static void 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint G_GNUC_UNUSED, 558s # void *marshal_data) 558s # { 558s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 558s # (void *data1, 558s # GDBusMethodInvocation *arg_method_invocation, 558s # void *data2); 558s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 558s # GCClosure *cc = (GCClosure*) closure; 558s # void *data1, *data2; 558s # gboolean v_return; 558s # 558s # g_return_if_fail (return_value != NULL); 558s # g_return_if_fail (n_param_values == 2); 558s # 558s # if (G_CCLOSURE_SWAP_DATA (closure)) 558s # { 558s # data1 = closure->data; 558s # data2 = g_value_peek_pointer (param_values + 0); 558s # } 558s # else 558s # { 558s # data1 = g_value_peek_pointer (param_values + 0); 558s # data2 = closure->data; 558s # } 558s # 558s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 558s # (marshal_data ? marshal_data : cc->callback); 558s # 558s # v_return = 558s # callback (data1, 558s # g_marshal_value_peek_object (param_values + 1), 558s # data2); 558s # 558s # g_value_set_boolean (return_value, v_return); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface com.acme.Coyote 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:ComAcmeCoyote 558s # * @title: ComAcmeCoyote 558s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 558s # * 558s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 558s # */ 558s # 558s # enum 558s # { 558s # _COM_ACME_COYOTE_SURPRISED, 558s # }; 558s # 558s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 558s # 558s # /* ---- Introspection data for com.acme.Coyote ---- */ 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Run", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-run", 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Sleep", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-sleep", 558s # FALSE 558s # }; 558s # 558s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Attack", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-attack", 558s # FALSE 558s # }; 558s # 558s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 558s # { 558s # &_com_acme_coyote_method_info_run.parent_struct, 558s # &_com_acme_coyote_method_info_sleep.parent_struct, 558s # &_com_acme_coyote_method_info_attack.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Surprised", 558s # NULL, 558s # NULL 558s # }, 558s # "surprised" 558s # }; 558s # 558s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 558s # { 558s # &_com_acme_coyote_signal_info_surprised.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 558s # { 558s # { 558s # -1, 558s # (gchar *) "Mood", 558s # (gchar *) "s", 558s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 558s # NULL 558s # }, 558s # "mood", 558s # FALSE, 558s # TRUE 558s # }; 558s # 558s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 558s # { 558s # &_com_acme_coyote_property_info_mood.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "com.acme.Coyote", 558s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 558s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 558s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 558s # NULL 558s # }, 558s # "com-acme-coyote", 558s # }; 558s # 558s # 558s # /** 558s # * com_acme_coyote_interface_info: 558s # * 558s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # com_acme_coyote_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 558s # { 558s # g_object_class_override_property (klass, property_id_begin++, "mood"); 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # com_acme_coyote_signal_marshal_surprised ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # g_cclosure_marshal_VOID__VOID (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_run ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_sleep ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # inline static void 558s # com_acme_coyote_method_marshal_attack ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * ComAcmeCoyote: 558s # * 558s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteIface: 558s # * @parent_iface: The parent interface. 558s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 558s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 558s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 558s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 558s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 558s # * 558s # * Virtual table for the D-Bus interface com.acme.Coyote. 558s # */ 558s # 558s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 558s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 558s # 558s # static void 558s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 558s # { 558s # /* GObject signals for incoming D-Bus method calls: */ 558s # /** 558s # * ComAcmeCoyote::handle-run: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-run", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_run, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /** 558s # * ComAcmeCoyote::handle-sleep: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-sleep", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_sleep, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /** 558s # * ComAcmeCoyote::handle-attack: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-attack", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # com_acme_coyote_method_marshal_attack, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # /* GObject signals for received D-Bus signals: */ 558s # /** 558s # * ComAcmeCoyote::surprised: 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 558s # * 558s # * 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. 558s # */ 558s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 558s # g_signal_new ("surprised", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 558s # NULL, 558s # NULL, 558s # com_acme_coyote_signal_marshal_surprised, 558s # G_TYPE_NONE, 558s # 0); 558s # 558s # /* GObject properties for D-Bus properties: */ 558s # /** 558s # * ComAcmeCoyote:mood: 558s # * 558s # * Represents the D-Bus property "Mood". 558s # * 558s # * 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. 558s # */ 558s # g_object_interface_install_property (iface, 558s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_get_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Gets the value of the "Mood" D-Bus property. 558s # * 558s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # const gchar * 558s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 558s # { 558s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 558s # 558s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_dup_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Gets a copy of the "Mood" D-Bus property. 558s # * 558s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 558s # * 558s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 558s # */ 558s # gchar * 558s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 558s # { 558s # gchar *value; 558s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 558s # return value; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_set_mood: (skip) 558s # * @object: A #ComAcmeCoyote. 558s # * @value: The value to set. 558s # * 558s # * Sets the "Mood" D-Bus property to @value. 558s # * 558s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 558s # */ 558s # void 558s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 558s # { 558s # g_object_set (G_OBJECT (object), "mood", value, NULL); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_emit_surprised: 558s # * @object: A #ComAcmeCoyote. 558s # * 558s # * Emits the "Surprised" D-Bus signal. 558s # */ 558s # void 558s # com_acme_coyote_emit_surprised ( 558s # ComAcmeCoyote *object) 558s # { 558s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Run() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_run ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Run", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_run(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_run_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_run_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_run_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Run", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_sleep ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Sleep", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_sleep(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_sleep_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_sleep_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_sleep_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Sleep", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # com_acme_coyote_call_attack ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "Attack", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack_finish: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with com_acme_coyote_call_attack(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_attack_finish ( 558s # ComAcmeCoyote *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_call_attack_sync: 558s # * @proxy: A #ComAcmeCoyoteProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # com_acme_coyote_call_attack_sync ( 558s # ComAcmeCoyote *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "Attack", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_run: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_run ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_sleep: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_sleep ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_complete_attack: 558s # * @object: A #ComAcmeCoyote. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # com_acme_coyote_complete_attack ( 558s # ComAcmeCoyote *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * ComAcmeCoyoteProxy: 558s # * 558s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #ComAcmeCoyoteProxy. 558s # */ 558s # 558s # struct _ComAcmeCoyoteProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # com_acme_coyote_proxy_finalize (GObject *object) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_get_property (GObject *object, 558s # guint prop_id, 558s # GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # GVariant *variant; 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 558s # if (info->use_gvariant) 558s # { 558s # g_value_set_variant (value, variant); 558s # } 558s # else 558s # { 558s # if (variant != NULL) 558s # g_dbus_gvariant_to_gvalue (variant, value); 558s # } 558s # if (variant != NULL) 558s # g_variant_unref (variant); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 558s # GAsyncResult *res, 558s # gpointer user_data) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info = user_data; 558s # GError *error; 558s # GVariant *_ret; 558s # error = NULL; 558s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 558s # if (!_ret) 558s # { 558s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 558s # info->parent_struct.name, 558s # error->message, g_quark_to_string (error->domain), error->code); 558s # g_error_free (error); 558s # } 558s # else 558s # { 558s # g_variant_unref (_ret); 558s # } 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_set_property (GObject *object, 558s # guint prop_id, 558s # const GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # GVariant *variant; 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_dbus_proxy_call (G_DBUS_PROXY (object), 558s # "org.freedesktop.DBus.Properties.Set", 558s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 558s # g_variant_unref (variant); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static const gchar * 558s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 558s # GVariant *variant; 558s # const gchar *value = NULL; 558s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 558s # if (variant != NULL) 558s # { 558s # value = g_variant_get_string (variant, NULL); 558s # g_variant_unref (variant); 558s # } 558s # return value; 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 558s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 558s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 558s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 558s # 558s # com_acme_coyote_override_properties (gobject_class, 1); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 558s # { 558s # iface->get_mood = com_acme_coyote_proxy_get_mood; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # com_acme_coyote_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with com_acme_coyote_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # com_acme_coyote_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return COM_ACME_COYOTE (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * ComAcmeCoyoteSkeleton: 558s # * 558s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * ComAcmeCoyoteSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #ComAcmeCoyoteSkeleton. 558s # */ 558s # 558s # struct _ComAcmeCoyoteSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _com_acme_coyote_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _com_acme_coyote_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _com_acme_coyote_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 558s # { 558s # _com_acme_coyote_skeleton_handle_method_call, 558s # _com_acme_coyote_skeleton_handle_get_property, 558s # _com_acme_coyote_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return com_acme_coyote_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 558s # 558s # static void 558s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 558s # gboolean emit_changed = FALSE; 558s # 558s # g_mutex_lock (&skeleton->priv->lock); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # { 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # skeleton->priv->changed_properties_idle_source = NULL; 558s # emit_changed = TRUE; 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # 558s # if (emit_changed) 558s # _com_acme_coyote_emit_changed (skeleton); 558s # } 558s # 558s # static void 558s # _com_acme_coyote_on_signal_surprised ( 558s # ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # 558s # GList *connections, *l; 558s # GVariant *signal_variant; 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # 558s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 558s # for (l = connections; l != NULL; l = l->next) 558s # { 558s # GDBusConnection *connection = l->data; 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 558s # signal_variant, NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # 558s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # com_acme_coyote_skeleton_finalize (GObject *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # guint n; 558s # for (n = 0; n < 1; n++) 558s # g_value_unset (&skeleton->priv->properties[n]); 558s # g_free (skeleton->priv->properties); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_get_property (GObject *object, 558s # guint prop_id, 558s # GValue *value, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # } 558s # 558s # static gboolean 558s # _com_acme_coyote_emit_changed (gpointer user_data) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 558s # GList *l; 558s # GVariantBuilder builder; 558s # GVariantBuilder invalidated_builder; 558s # guint num_changes; 558s # 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 558s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 558s # { 558s # ChangedProperty *cp = l->data; 558s # GVariant *variant; 558s # const GValue *cur_value; 558s # 558s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 558s # if (!_g_value_equal (cur_value, &cp->orig_value)) 558s # { 558s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 558s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 558s # g_variant_unref (variant); 558s # num_changes++; 558s # } 558s # } 558s # if (num_changes > 0) 558s # { 558s # GList *connections, *ll; 558s # GVariant *signal_variant; 558s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 558s # &builder, &invalidated_builder)); 558s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 558s # for (ll = connections; ll != NULL; ll = ll->next) 558s # { 558s # GDBusConnection *connection = ll->data; 558s # 558s # g_dbus_connection_emit_signal (connection, 558s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 558s # "org.freedesktop.DBus.Properties", 558s # "PropertiesChanged", 558s # signal_variant, 558s # NULL); 558s # } 558s # g_variant_unref (signal_variant); 558s # g_list_free_full (connections, g_object_unref); 558s # } 558s # else 558s # { 558s # g_variant_builder_clear (&builder); 558s # g_variant_builder_clear (&invalidated_builder); 558s # } 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # skeleton->priv->changed_properties = NULL; 558s # skeleton->priv->changed_properties_idle_source = NULL; 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # return FALSE; 558s # } 558s # 558s # static void 558s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 558s # { 558s # ChangedProperty *cp; 558s # GList *l; 558s # cp = NULL; 558s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 558s # { 558s # ChangedProperty *i_cp = l->data; 558s # if (i_cp->info == info) 558s # { 558s # cp = i_cp; 558s # break; 558s # } 558s # } 558s # if (cp == NULL) 558s # { 558s # cp = g_new0 (ChangedProperty, 1); 558s # cp->prop_id = prop_id; 558s # cp->info = info; 558s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 558s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 558s # g_value_copy (orig_value, &cp->orig_value); 558s # } 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_notify (GObject *object, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_mutex_lock (&skeleton->priv->lock); 558s # if (skeleton->priv->changed_properties != NULL && 558s # skeleton->priv->changed_properties_idle_source == NULL) 558s # { 558s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 558s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 558s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 558s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 558s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 558s # g_source_unref (skeleton->priv->changed_properties_idle_source); 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_set_property (GObject *object, 558s # guint prop_id, 558s # const GValue *value, 558s # GParamSpec *pspec) 558s # { 558s # const _ExtendedGDBusPropertyInfo *info; 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # g_assert (prop_id != 0 && prop_id - 1 < 1); 558s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 558s # g_mutex_lock (&skeleton->priv->lock); 558s # g_object_freeze_notify (object); 558s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 558s # { 558s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 558s # info->emits_changed_signal) 558s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 558s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 558s # g_object_notify_by_pspec (object, pspec); 558s # } 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # g_object_thaw_notify (object); 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # skeleton->priv->properties = g_new0 (GValue, 1); 558s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 558s # } 558s # 558s # static const gchar * 558s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 558s # { 558s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 558s # const gchar *value; 558s # g_mutex_lock (&skeleton->priv->lock); 558s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 558s # g_mutex_unlock (&skeleton->priv->lock); 558s # return value; 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 558s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 558s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 558s # gobject_class->notify = com_acme_coyote_skeleton_notify; 558s # 558s # 558s # com_acme_coyote_override_properties (gobject_class, 1); 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 558s # { 558s # iface->surprised = _com_acme_coyote_on_signal_surprised; 558s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 558s # } 558s # 558s # /** 558s # * com_acme_coyote_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 558s # * 558s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 558s # */ 558s # ComAcmeCoyote * 558s # com_acme_coyote_skeleton_new (void) 558s # { 558s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ 558s # * Code for interface org.project.Bar.Frobnicator 558s # * ------------------------------------------------------------------------ 558s # */ 558s # 558s # /** 558s # * SECTION:OrgProjectBarFrobnicator 558s # * @title: OrgProjectBarFrobnicator 558s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 558s # * 558s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 558s # */ 558s # 558s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 558s # 558s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 558s # { 558s # { 558s # -1, 558s # (gchar *) "RandomMethod", 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "handle-random-method", 558s # FALSE 558s # }; 558s # 558s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 558s # { 558s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 558s # NULL 558s # }; 558s # 558s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 558s # { 558s # { 558s # -1, 558s # (gchar *) "org.project.Bar.Frobnicator", 558s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 558s # NULL, 558s # NULL, 558s # NULL 558s # }, 558s # "org-project-bar-frobnicator", 558s # }; 558s # 558s # 558s # /** 558s # * org_project_bar_frobnicator_interface_info: 558s # * 558s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 558s # * 558s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 558s # */ 558s # GDBusInterfaceInfo * 558s # org_project_bar_frobnicator_interface_info (void) 558s # { 558s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_override_properties: 558s # * @klass: The class structure for a #GObject derived class. 558s # * @property_id_begin: The property id to assign to the first overridden property. 558s # * 558s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 558s # * The properties are overridden in the order they are defined. 558s # * 558s # * Returns: The last property id. 558s # */ 558s # guint 558s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 558s # { 558s # return property_id_begin - 1; 558s # } 558s # 558s # 558s # inline static void 558s # org_project_bar_frobnicator_method_marshal_random_method ( 558s # GClosure *closure, 558s # GValue *return_value, 558s # unsigned int n_param_values, 558s # const GValue *param_values, 558s # void *invocation_hint, 558s # void *marshal_data) 558s # { 558s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 558s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 558s # } 558s # 558s # 558s # /** 558s # * OrgProjectBarFrobnicator: 558s # * 558s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorIface: 558s # * @parent_iface: The parent interface. 558s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 558s # * 558s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 558s # */ 558s # 558s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 558s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 558s # 558s # static void 558s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 558s # { 558s # /* GObject signals for incoming D-Bus method calls: */ 558s # /** 558s # * OrgProjectBarFrobnicator::handle-random-method: 558s # * @object: A #OrgProjectBarFrobnicator. 558s # * @invocation: A #GDBusMethodInvocation. 558s # * 558s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 558s # * 558s # * 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. 558s # * 558s # * 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. 558s # */ 558s # g_signal_new ("handle-random-method", 558s # G_TYPE_FROM_INTERFACE (iface), 558s # G_SIGNAL_RUN_LAST, 558s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 558s # g_signal_accumulator_true_handled, 558s # NULL, 558s # org_project_bar_frobnicator_method_marshal_random_method, 558s # G_TYPE_BOOLEAN, 558s # 1, 558s # G_TYPE_DBUS_METHOD_INVOCATION); 558s # 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 558s # */ 558s # void 558s # org_project_bar_frobnicator_call_random_method ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 558s # "RandomMethod", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # callback, 558s # user_data); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method_finish: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # org_project_bar_frobnicator_call_random_method_finish ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_call_random_method_sync: 558s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL. 558s # * 558s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 558s # * 558s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 558s # */ 558s # gboolean 558s # org_project_bar_frobnicator_call_random_method_sync ( 558s # OrgProjectBarFrobnicator *proxy, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GVariant *_ret; 558s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 558s # "RandomMethod", 558s # g_variant_new ("()"), 558s # G_DBUS_CALL_FLAGS_NONE, 558s # -1, 558s # cancellable, 558s # error); 558s # if (_ret == NULL) 558s # goto _out; 558s # g_variant_get (_ret, 558s # "()"); 558s # g_variant_unref (_ret); 558s # _out: 558s # return _ret != NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_complete_random_method: 558s # * @object: A #OrgProjectBarFrobnicator. 558s # * @invocation: (transfer full): A #GDBusMethodInvocation. 558s # * 558s # * 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. 558s # * 558s # * This method will free @invocation, you cannot use it afterwards. 558s # */ 558s # void 558s # org_project_bar_frobnicator_complete_random_method ( 558s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 558s # GDBusMethodInvocation *invocation) 558s # { 558s # g_dbus_method_invocation_return_value (invocation, 558s # g_variant_new ("()")); 558s # } 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorProxy: 558s # * 558s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorProxyClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectBarFrobnicatorProxy. 558s # */ 558s # 558s # struct _OrgProjectBarFrobnicatorProxyPrivate 558s # { 558s # GData *qdata; 558s # }; 558s # 558s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 558s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 558s # { 558s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 558s # g_datalist_clear (&proxy->priv->qdata); 558s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 558s # guint prop_id G_GNUC_UNUSED, 558s # const GValue *value G_GNUC_UNUSED, 558s # GParamSpec *pspec G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 558s # const gchar *sender_name G_GNUC_UNUSED, 558s # const gchar *signal_name, 558s # GVariant *parameters) 558s # { 558s # _ExtendedGDBusSignalInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # gsize n; 558s # guint signal_id; 558s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 558s # if (info == NULL) 558s # return; 558s # num_params = g_variant_n_children (parameters); 558s # paramv = g_new0 (GValue, num_params + 1); 558s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_set_object (¶mv[0], proxy); 558s # g_variant_iter_init (&iter, parameters); 558s # n = 1; 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_signal_emitv (paramv, signal_id, 0, NULL); 558s # for (n = 0; n < num_params + 1; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 558s # GVariant *changed_properties, 558s # const gchar *const *invalidated_properties) 558s # { 558s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 558s # guint n; 558s # const gchar *key; 558s # GVariantIter *iter; 558s # _ExtendedGDBusPropertyInfo *info; 558s # g_variant_get (changed_properties, "a{sv}", &iter); 558s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 558s # g_datalist_remove_data (&proxy->priv->qdata, key); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # g_variant_iter_free (iter); 558s # for (n = 0; invalidated_properties[n] != NULL; n++) 558s # { 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 558s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 558s # if (info != NULL) 558s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 558s # } 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 558s # #else 558s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 558s # #endif 558s # 558s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusProxyClass *proxy_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 558s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 558s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 558s # 558s # proxy_class = G_DBUS_PROXY_CLASS (klass); 558s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 558s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 558s # * 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_bar_frobnicator_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_sync: 558s # * @connection: A #GDBusConnection. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 558s # * @user_data: User data to pass to @callback. 558s # * 558s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * 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()). 558s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 558s # */ 558s # void 558s # org_project_bar_frobnicator_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data) 558s # { 558s # 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); 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 558s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 558s # * @error: Return location for error or %NULL 558s # * 558s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error) 558s # { 558s # GObject *ret; 558s # GObject *source_object; 558s # source_object = g_async_result_get_source_object (res); 558s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 558s # g_object_unref (source_object); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 558s # * @bus_type: A #GBusType. 558s # * @flags: Flags from the #GDBusProxyFlags enumeration. 558s # * @name: A bus name (well-known or unique). 558s # * @object_path: An object path. 558s # * @cancellable: (nullable): A #GCancellable or %NULL. 558s # * @error: Return location for error or %NULL 558s # * 558s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 558s # * 558s # * The calling thread is blocked until a reply is received. 558s # * 558s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error) 558s # { 558s # GInitable *ret; 558s # 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); 558s # if (ret != NULL) 558s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 558s # else 558s # return NULL; 558s # } 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorSkeleton: 558s # * 558s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 558s # */ 558s # 558s # /** 558s # * OrgProjectBarFrobnicatorSkeletonClass: 558s # * @parent_class: The parent class. 558s # * 558s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 558s # */ 558s # 558s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 558s # { 558s # GValue *properties; 558s # GList *changed_properties; 558s # GSource *changed_properties_idle_source; 558s # GMainContext *context; 558s # GMutex lock; 558s # }; 558s # 558s # static void 558s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name, 558s # const gchar *method_name, 558s # GVariant *parameters, 558s # GDBusMethodInvocation *invocation, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # _ExtendedGDBusMethodInfo *info; 558s # GVariantIter iter; 558s # GVariant *child; 558s # GValue *paramv; 558s # gsize num_params; 558s # guint num_extra; 558s # gsize n; 558s # guint signal_id; 558s # GValue return_value = G_VALUE_INIT; 558s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 558s # g_assert (info != NULL); 558s # num_params = g_variant_n_children (parameters); 558s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 558s # n = 0; 558s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_set_object (¶mv[n++], skeleton); 558s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 558s # g_value_set_object (¶mv[n++], invocation); 558s # if (info->pass_fdlist) 558s # { 558s # #ifdef G_OS_UNIX 558s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 558s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 558s # #else 558s # g_assert_not_reached (); 558s # #endif 558s # } 558s # g_variant_iter_init (&iter, parameters); 558s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 558s # { 558s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 558s # if (arg_info->use_gvariant) 558s # { 558s # g_value_init (¶mv[n], G_TYPE_VARIANT); 558s # g_value_set_variant (¶mv[n], child); 558s # n++; 558s # } 558s # else 558s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 558s # g_variant_unref (child); 558s # } 558s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 558s # g_value_init (&return_value, G_TYPE_BOOLEAN); 558s # g_signal_emitv (paramv, signal_id, 0, &return_value); 558s # if (!g_value_get_boolean (&return_value)) 558s # 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); 558s # g_value_unset (&return_value); 558s # for (n = 0; n < num_params + num_extra; n++) 558s # g_value_unset (¶mv[n]); 558s # g_free (paramv); 558s # } 558s # 558s # static GVariant * 558s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # GVariant *ret; 558s # ret = NULL; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # g_value_init (&value, pspec->value_type); 558s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 558s # g_value_unset (&value); 558s # } 558s # return ret; 558s # } 558s # 558s # static gboolean 558s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 558s # GDBusConnection *connection G_GNUC_UNUSED, 558s # const gchar *sender G_GNUC_UNUSED, 558s # const gchar *object_path G_GNUC_UNUSED, 558s # const gchar *interface_name G_GNUC_UNUSED, 558s # const gchar *property_name, 558s # GVariant *variant, 558s # GError **error, 558s # gpointer user_data) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 558s # GValue value = G_VALUE_INIT; 558s # GParamSpec *pspec; 558s # _ExtendedGDBusPropertyInfo *info; 558s # gboolean ret; 558s # ret = FALSE; 558s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 558s # g_assert (info != NULL); 558s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 558s # if (pspec == NULL) 558s # { 558s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 558s # } 558s # else 558s # { 558s # if (info->use_gvariant) 558s # g_value_set_variant (&value, variant); 558s # else 558s # g_dbus_gvariant_to_gvalue (variant, &value); 558s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 558s # g_value_unset (&value); 558s # ret = TRUE; 558s # } 558s # return ret; 558s # } 558s # 558s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 558s # { 558s # _org_project_bar_frobnicator_skeleton_handle_method_call, 558s # _org_project_bar_frobnicator_skeleton_handle_get_property, 558s # _org_project_bar_frobnicator_skeleton_handle_set_property, 558s # {NULL} 558s # }; 558s # 558s # static GDBusInterfaceInfo * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return org_project_bar_frobnicator_interface_info (); 558s # } 558s # 558s # static GDBusInterfaceVTable * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 558s # { 558s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 558s # } 558s # 558s # static GVariant * 558s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 558s # 558s # GVariantBuilder builder; 558s # guint n; 558s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 558s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 558s # goto out; 558s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 558s # { 558s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 558s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 558s # { 558s # GVariant *value; 558s # 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); 558s # if (value != NULL) 558s # { 558s # g_variant_take_ref (value); 558s # g_variant_builder_add (&builder, "{sv}", info->name, value); 558s # g_variant_unref (value); 558s # } 558s # } 558s # } 558s # out: 558s # return g_variant_builder_end (&builder); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 558s # 558s # #else 558s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 558s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 558s # 558s # #endif 558s # static void 558s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 558s # { 558s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 558s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 558s # if (skeleton->priv->changed_properties_idle_source != NULL) 558s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 558s # g_main_context_unref (skeleton->priv->context); 558s # g_mutex_clear (&skeleton->priv->lock); 558s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 558s # { 558s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 558s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 558s # #else 558s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 558s # #endif 558s # 558s # g_mutex_init (&skeleton->priv->lock); 558s # skeleton->priv->context = g_main_context_ref_thread_default (); 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 558s # { 558s # GObjectClass *gobject_class; 558s # GDBusInterfaceSkeletonClass *skeleton_class; 558s # 558s # gobject_class = G_OBJECT_CLASS (klass); 558s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 558s # 558s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 558s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 558s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 558s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 558s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 558s # 558s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 558s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 558s # #endif 558s # } 558s # 558s # static void 558s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 558s # { 558s # } 558s # 558s # /** 558s # * org_project_bar_frobnicator_skeleton_new: 558s # * 558s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 558s # * 558s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 558s # */ 558s # OrgProjectBarFrobnicator * 558s # org_project_bar_frobnicator_skeleton_new (void) 558s # { 558s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 558s # } 558s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 558s # tmpdir: /tmp/tmpz8t11xut 558s # codegen: /usr/bin/gdbus-codegen 558s # /tmp/tmpz8t11xut/tmpba1txw_n.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz8t11xut/tmpba1txw_n.xml', '--output', '-', '--header'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for FDPassing */ 558s # 558s # #define TYPE_FDPASSING (fdpassing_get_type ()) 558s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 558s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 558s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 558s # 558s # struct _FDPassing; 558s # typedef struct _FDPassing FDPassing; 558s # typedef struct _FDPassingIface FDPassingIface; 558s # 558s # struct _FDPassingIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_hello_fd) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *arg_greeting); 558s # 558s # gboolean (*handle_no_annotation) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale); 558s # 558s # gboolean (*handle_no_annotation_nested) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *arg_files); 558s # 558s # }; 558s # 558s # GType fdpassing_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *fdpassing_interface_info (void); 558s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void fdpassing_complete_hello_fd ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *response); 558s # 558s # void fdpassing_complete_no_annotation ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *response, 558s # const gchar *response_locale); 558s # 558s # void fdpassing_complete_no_annotation_nested ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void fdpassing_call_hello_fd ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GUnixFDList *fd_list, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_hello_fd_finish ( 558s # FDPassing *proxy, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_hello_fd_sync ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GUnixFDList *fd_list, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_finish ( 558s # FDPassing *proxy, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation_nested ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_finish ( 558s # FDPassing *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 558s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 558s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 558s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 558s # 558s # typedef struct _FDPassingProxy FDPassingProxy; 558s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 558s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 558s # 558s # struct _FDPassingProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # FDPassingProxyPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 558s # #endif 558s # 558s # void fdpassing_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 558s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 558s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 558s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 558s # 558s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 558s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 558s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 558s # 558s # struct _FDPassingSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # FDPassingSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 558s # #endif 558s # 558s # FDPassing *fdpassing_skeleton_new (void); 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # /tmp/tmpz8t11xut/tmpriwsvtp8.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz8t11xut/tmpriwsvtp8.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for FDPassing */ 558s # 558s # #define TYPE_FDPASSING (fdpassing_get_type ()) 558s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 558s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 558s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 558s # 558s # struct _FDPassing; 558s # typedef struct _FDPassing FDPassing; 558s # typedef struct _FDPassingIface FDPassingIface; 558s # 558s # struct _FDPassingIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_hello_fd) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *arg_greeting); 558s # 558s # gboolean (*handle_no_annotation) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale); 558s # 558s # gboolean (*handle_no_annotation_nested) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *arg_files); 558s # 558s # }; 558s # 558s # GType fdpassing_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *fdpassing_interface_info (void); 558s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void fdpassing_complete_hello_fd ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *response); 558s # 558s # void fdpassing_complete_no_annotation ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GVariant *response, 558s # const gchar *response_locale); 558s # 558s # void fdpassing_complete_no_annotation_nested ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void fdpassing_call_hello_fd ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GUnixFDList *fd_list, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_hello_fd_finish ( 558s # FDPassing *proxy, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_hello_fd_sync ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GUnixFDList *fd_list, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_finish ( 558s # FDPassing *proxy, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation_nested ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_finish ( 558s # FDPassing *proxy, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 558s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 558s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 558s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 558s # 558s # typedef struct _FDPassingProxy FDPassingProxy; 558s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 558s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 558s # 558s # struct _FDPassingProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # FDPassingProxyPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 558s # #endif 558s # 558s # void fdpassing_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 558s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 558s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 558s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 558s # 558s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 558s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 558s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 558s # 558s # struct _FDPassingSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # FDPassingSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 558s # #endif 558s # 558s # FDPassing *fdpassing_skeleton_new (void); 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s # /tmp/tmpz8t11xut/tmp14ayr0qz.xml: 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # 558s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz8t11xut/tmp14ayr0qz.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 558s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 558s # Output: /* 558s # * This file is generated by gdbus-codegen, do not modify it. 558s # * 558s # * The license of this code is the same as for the D-Bus interface description 558s # * it was derived from. Note that it links to GLib, so must comply with the 558s # * LGPL linking clauses. 558s # */ 558s # 558s # #ifndef __STDOUT__ 558s # #define __STDOUT__ 558s # 558s # #include 558s # 558s # G_BEGIN_DECLS 558s # 558s # 558s # /* ------------------------------------------------------------------------ */ 558s # /* Declarations for FDPassing */ 558s # 558s # #define TYPE_FDPASSING (fdpassing_get_type ()) 558s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 558s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 558s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 558s # 558s # struct _FDPassing; 558s # typedef struct _FDPassing FDPassing; 558s # typedef struct _FDPassingIface FDPassingIface; 558s # 558s # struct _FDPassingIface 558s # { 558s # GTypeInterface parent_iface; 558s # 558s # gboolean (*handle_hello_fd) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *arg_greeting); 558s # 558s # gboolean (*handle_no_annotation) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale); 558s # 558s # gboolean (*handle_no_annotation_nested) ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # GVariant *arg_files); 558s # 558s # }; 558s # 558s # GType fdpassing_get_type (void) G_GNUC_CONST; 558s # 558s # GDBusInterfaceInfo *fdpassing_interface_info (void); 558s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 558s # 558s # 558s # /* D-Bus method call completion functions: */ 558s # void fdpassing_complete_hello_fd ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # const gchar *response); 558s # 558s # void fdpassing_complete_no_annotation ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list, 558s # GVariant *response, 558s # const gchar *response_locale); 558s # 558s # void fdpassing_complete_no_annotation_nested ( 558s # FDPassing *object, 558s # GDBusMethodInvocation *invocation, 558s # GUnixFDList *fd_list); 558s # 558s # 558s # 558s # /* D-Bus method calls: */ 558s # void fdpassing_call_hello_fd ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_hello_fd_finish ( 558s # FDPassing *proxy, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_hello_fd_sync ( 558s # FDPassing *proxy, 558s # const gchar *arg_greeting, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # gchar **out_response, 558s # GUnixFDList **out_fd_list, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_finish ( 558s # FDPassing *proxy, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GUnixFDList **out_fd_list, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_greeting, 558s # const gchar *arg_greeting_locale, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # GVariant **out_response, 558s # gchar **out_response_locale, 558s # GUnixFDList **out_fd_list, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_call_no_annotation_nested ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_finish ( 558s # FDPassing *proxy, 558s # GUnixFDList **out_fd_list, 558s # GAsyncResult *res, 558s # GError **error); 558s # 558s # gboolean fdpassing_call_no_annotation_nested_sync ( 558s # FDPassing *proxy, 558s # GVariant *arg_files, 558s # GDBusCallFlags call_flags, 558s # gint timeout_msec, 558s # GUnixFDList *fd_list, 558s # GUnixFDList **out_fd_list, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 558s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 558s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 558s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 558s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 558s # 558s # typedef struct _FDPassingProxy FDPassingProxy; 558s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 558s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 558s # 558s # struct _FDPassingProxy 558s # { 558s # /*< private >*/ 558s # GDBusProxy parent_instance; 558s # FDPassingProxyPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingProxyClass 558s # { 558s # GDBusProxyClass parent_class; 558s # }; 558s # 558s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 558s # #endif 558s # 558s # void fdpassing_proxy_new ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_sync ( 558s # GDBusConnection *connection, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # void fdpassing_proxy_new_for_bus ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GAsyncReadyCallback callback, 558s # gpointer user_data); 558s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 558s # GAsyncResult *res, 558s # GError **error); 558s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 558s # GBusType bus_type, 558s # GDBusProxyFlags flags, 558s # const gchar *name, 558s # const gchar *object_path, 558s # GCancellable *cancellable, 558s # GError **error); 558s # 558s # 558s # /* ---- */ 558s # 558s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 558s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 558s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 558s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 558s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 558s # 558s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 558s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 558s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 558s # 558s # struct _FDPassingSkeleton 558s # { 558s # /*< private >*/ 558s # GDBusInterfaceSkeleton parent_instance; 558s # FDPassingSkeletonPrivate *priv; 558s # }; 558s # 558s # struct _FDPassingSkeletonClass 558s # { 558s # GDBusInterfaceSkeletonClass parent_class; 558s # }; 558s # 558s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 558s # 558s # #if GLIB_CHECK_VERSION(2, 44, 0) 558s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 558s # #endif 558s # 558s # FDPassing *fdpassing_skeleton_new (void); 558s # 558s # 558s # G_END_DECLS 558s # 558s # #endif /* __STDOUT__ */ 558s 1..39 558s ok - glib/codegen.py.test 558s # Running test: glib/gutils-user-database.test 558s TAP version 14 558s # random seed: R02S0fafee7e72ac87af5ad9424012c2ab60 558s 1..1 558s # Start of gutils tests 558s ok 1 /gutils/get_user_database_entry 558s # End of gutils tests 558s ok - glib/gutils-user-database.test 558s # Running test: glib/file-thumbnail.test 558s TAP version 14 558s # random seed: R02S5b9f26ea73f76a77ec2ce79cbe203f74 558s 1..7 558s # Start of file-thumbnail tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/runtime 558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 558s ok 1 /file-thumbnail/fail 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 558s ok 2 /file-thumbnail/size-priority 558s # Start of valid tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 558s ok 3 /file-thumbnail/valid/normal 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 558s ok 4 /file-thumbnail/valid/large 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 558s ok 5 /file-thumbnail/valid/x-large 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 558s ok 6 /file-thumbnail/valid/xx-large 558s # End of valid tests 558s # Start of unknown tests 558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/home 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/cache 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/system-config2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/config 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/system-data2 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/data 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/state 558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/runtime 558s # Created test thumbnail at /tmp/test_file-thumbnail_UKILX2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 558s ok 7 /file-thumbnail/unknown/super-large 558s # End of unknown tests 558s # End of file-thumbnail tests 558s ok - glib/file-thumbnail.test 558s # Running test: glib/sleepy-stream.test 558s TAP version 14 558s # random seed: R02S81e82e8f8c0301748c0ce4edb1af1e08 558s 1..2 558s # Start of filter-stream tests 558s ok 1 /filter-stream/input 558s ok 2 /filter-stream/async 558s # End of filter-stream tests 558s ok - glib/sleepy-stream.test 558s # Running test: glib/cond.test 558s TAP version 14 558s # random seed: R02S2c82c1c1574e45a7ab845c4fa62f52ca 558s 1..4 558s # Start of thread tests 558s ok 1 /thread/cond1 558s ok 2 /thread/cond2 558s # Start of cond tests 559s # Executing: glib/cond.test 559s ok 3 /thread/cond/wait-until 559s # slow test /thread/cond/wait-until executed in 1.02 secs 559s # Start of wait-until tests 559s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 561s ok 4 /thread/cond/wait-until/contended-and-interrupted 561s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 561s # End of wait-until tests 561s # End of cond tests 561s # End of thread tests 561s ok - glib/cond.test 561s # Running test: glib/private.test 561s TAP version 14 561s # random seed: R02Scc6a5825bd66fc0d180c2dd12a03acba 561s 1..8 561s # Start of thread tests 561s ok 1 /thread/private1 562s ok 2 /thread/private2 562s # slow test /thread/private2 executed in 1.08 secs 562s ok 3 /thread/private3 562s ok 4 /thread/staticprivate1 562s ok 5 /thread/staticprivate2 562s ok 6 /thread/staticprivate3 563s ok 7 /thread/staticprivate4 563s # slow test /thread/staticprivate4 executed in 1.09 secs 563s ok 8 /thread/staticprivate5 563s # End of thread tests 563s ok - glib/private.test 563s # Running test: glib/utf8-performance.test 563s TAP version 14 563s # random seed: R02S2e1ea55b53a5b9f7d9d8d55b8babfee1 563s 1..36 563s # Start of utf8 tests 563s # Start of perf tests 563s # Start of get_char tests 563s # max perf: 43.0 MB/s 563s ok 1 /utf8/perf/get_char/ascii 563s # max perf: inf MB/s 563s ok 2 /utf8/perf/get_char/latin1 563s # max perf: 160.0 MB/s 563s ok 3 /utf8/perf/get_char/cyrillic 563s # max perf: inf MB/s 563s ok 4 /utf8/perf/get_char/han 563s # End of get_char tests 563s # Start of get_char-backwards tests 563s # max perf: inf MB/s 563s ok 5 /utf8/perf/get_char-backwards/ascii 563s # max perf: inf MB/s 563s ok 6 /utf8/perf/get_char-backwards/latin1 563s # max perf: 160.0 MB/s 563s ok 7 /utf8/perf/get_char-backwards/cyrillic 563s # max perf: 156.0 MB/s 563s ok 8 /utf8/perf/get_char-backwards/han 563s # End of get_char-backwards tests 563s # Start of get_char_validated tests 563s # max perf: 43.0 MB/s 563s ok 9 /utf8/perf/get_char_validated/ascii 563s # max perf: inf MB/s 563s ok 10 /utf8/perf/get_char_validated/latin1 563s # max perf: 160.0 MB/s 563s ok 11 /utf8/perf/get_char_validated/cyrillic 563s # max perf: inf MB/s 563s ok 12 /utf8/perf/get_char_validated/han 563s # End of get_char_validated tests 563s # Start of utf8_to_ucs4 tests 563s # max perf: 21.5 MB/s 563s ok 13 /utf8/perf/utf8_to_ucs4/ascii 563s # max perf: 67.0 MB/s 563s ok 14 /utf8/perf/utf8_to_ucs4/latin1 563s # max perf: 160.0 MB/s 563s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 563s # max perf: inf MB/s 563s ok 16 /utf8/perf/utf8_to_ucs4/han 563s # End of utf8_to_ucs4 tests 563s # Start of utf8_to_ucs4-sized tests 563s # max perf: inf MB/s 563s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 563s # max perf: 67.0 MB/s 563s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 563s # max perf: 160.0 MB/s 563s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 563s # max perf: inf MB/s 563s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 563s # End of utf8_to_ucs4-sized tests 563s # Start of utf8_to_ucs4_fast tests 563s # max perf: 43.0 MB/s 563s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 563s # max perf: inf MB/s 563s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 563s # max perf: 160.0 MB/s 563s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 563s # max perf: 156.0 MB/s 563s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 563s # End of utf8_to_ucs4_fast tests 563s # Start of utf8_to_ucs4_fast-sized tests 563s # max perf: inf MB/s 563s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 563s # max perf: 67.0 MB/s 563s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 563s # max perf: 160.0 MB/s 563s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 563s # max perf: 156.0 MB/s 563s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 563s # End of utf8_to_ucs4_fast-sized tests 563s # Start of utf8_validate tests 563s # max perf: inf MB/s 563s ok 29 /utf8/perf/utf8_validate/ascii 563s # max perf: inf MB/s 563s ok 30 /utf8/perf/utf8_validate/latin1 563s # max perf: inf MB/s 563s ok 31 /utf8/perf/utf8_validate/cyrillic 563s # max perf: inf MB/s 563s ok 32 /utf8/perf/utf8_validate/han 563s # End of utf8_validate tests 563s # Start of utf8_validate-sized tests 563s # max perf: 43.0 MB/s 563s ok 33 /utf8/perf/utf8_validate-sized/ascii 563s # max perf: inf MB/s 563s ok 34 /utf8/perf/utf8_validate-sized/latin1 563s # max perf: 160.0 MB/s 563s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 563s # max perf: inf MB/s 563s ok 36 /utf8/perf/utf8_validate-sized/han 563s # End of utf8_validate-sized tests 563s # End of perf tests 563s # End of utf8 tests 563s ok - glib/utf8-performance.test 563s # Running test: glib/unix-streams.test 563s TAP version 14 563s # random seed: R02S2e5bc2a7f5b49b25afab2cf3e7dbf176 563s 1..9 563s # Start of unix-streams tests 563s ok 1 /unix-streams/basic 563s ok 2 /unix-streams/pipe-io-test 563s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 564s ok 3 /unix-streams/nonblocking-io-test 564s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 564s ok 4 /unix-streams/read_write 564s ok 5 /unix-streams/read_writev 564s ok 6 /unix-streams/write-wouldblock 564s ok 7 /unix-streams/writev-wouldblock 564s ok 8 /unix-streams/write-async-wouldblock 564s ok 9 /unix-streams/writev-async-wouldblock 564s # End of unix-streams tests 564s ok - glib/unix-streams.test 564s # Running test: glib/bookmarkfile.test 564s TAP version 14 564s # random seed: R02S9cc40b07275d3700400b83b5e4d9839b 564s 1..96 564s # Start of bookmarks tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/load-from-data-dirs/.dirs/runtime 564s ok 1 /bookmarks/load-from-data-dirs 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/to-file/.dirs/runtime 564s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_Y878W2/bookmarkfile-test-1R78W2.xbel 564s # Roundtrip from a valid bookmark file 564s ok 2 /bookmarks/to-file 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/move-item/.dirs/runtime 564s ok 3 /bookmarks/move-item 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/corner-cases/.dirs/runtime 564s ok 4 /bookmarks/corner-cases 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/misc/.dirs/runtime 564s ok 5 /bookmarks/misc 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/deprecated/.dirs/runtime 564s ok 6 /bookmarks/deprecated 564s # Start of parse tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-03.xbel/.dirs/runtime 564s ok 7 /bookmarks/parse/valid-03.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-07.xbel/.dirs/runtime 564s ok 8 /bookmarks/parse/fail-07.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-04.xbel/.dirs/runtime 564s ok 9 /bookmarks/parse/fail-04.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-40.xbel/.dirs/runtime 564s ok 10 /bookmarks/parse/fail-40.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-05.xbel/.dirs/runtime 564s ok 11 /bookmarks/parse/fail-05.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-32.xbel/.dirs/runtime 564s ok 12 /bookmarks/parse/fail-32.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-30.xbel/.dirs/runtime 564s ok 13 /bookmarks/parse/fail-30.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-11.xbel/.dirs/runtime 564s ok 14 /bookmarks/parse/fail-11.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-18.xbel/.dirs/runtime 564s ok 15 /bookmarks/parse/fail-18.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-08.xbel/.dirs/runtime 564s ok 16 /bookmarks/parse/fail-08.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-23.xbel/.dirs/runtime 564s ok 17 /bookmarks/parse/fail-23.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-25.xbel/.dirs/runtime 564s ok 18 /bookmarks/parse/fail-25.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-39.xbel/.dirs/runtime 564s ok 19 /bookmarks/parse/fail-39.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-24.xbel/.dirs/runtime 564s ok 20 /bookmarks/parse/fail-24.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-13.xbel/.dirs/runtime 564s ok 21 /bookmarks/parse/fail-13.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-10.xbel/.dirs/runtime 564s ok 22 /bookmarks/parse/fail-10.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-29.xbel/.dirs/runtime 564s ok 23 /bookmarks/parse/fail-29.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-33.xbel/.dirs/runtime 564s ok 24 /bookmarks/parse/fail-33.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-15.xbel/.dirs/runtime 564s ok 25 /bookmarks/parse/fail-15.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-26.xbel/.dirs/runtime 564s ok 26 /bookmarks/parse/fail-26.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-03.xbel/.dirs/runtime 564s ok 27 /bookmarks/parse/fail-03.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-16.xbel/.dirs/runtime 564s ok 28 /bookmarks/parse/fail-16.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-14.xbel/.dirs/runtime 564s ok 29 /bookmarks/parse/fail-14.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-22.xbel/.dirs/runtime 564s ok 30 /bookmarks/parse/fail-22.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-42.xbel/.dirs/runtime 564s ok 31 /bookmarks/parse/fail-42.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-02.xbel/.dirs/runtime 564s ok 32 /bookmarks/parse/valid-02.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-41.xbel/.dirs/runtime 564s ok 33 /bookmarks/parse/fail-41.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-12.xbel/.dirs/runtime 564s ok 34 /bookmarks/parse/fail-12.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-38.xbel/.dirs/runtime 564s ok 35 /bookmarks/parse/fail-38.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-28.xbel/.dirs/runtime 564s ok 36 /bookmarks/parse/fail-28.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-02.xbel/.dirs/runtime 564s ok 37 /bookmarks/parse/fail-02.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-06.xbel/.dirs/runtime 564s ok 38 /bookmarks/parse/fail-06.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-27.xbel/.dirs/runtime 564s ok 39 /bookmarks/parse/fail-27.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-37.xbel/.dirs/runtime 564s ok 40 /bookmarks/parse/fail-37.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-17.xbel/.dirs/runtime 564s ok 41 /bookmarks/parse/fail-17.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-36.xbel/.dirs/runtime 564s ok 42 /bookmarks/parse/fail-36.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/valid-01.xbel/.dirs/runtime 564s ok 43 /bookmarks/parse/valid-01.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-09.xbel/.dirs/runtime 564s ok 44 /bookmarks/parse/fail-09.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-21.xbel/.dirs/runtime 564s ok 45 /bookmarks/parse/fail-21.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-35.xbel/.dirs/runtime 564s ok 46 /bookmarks/parse/fail-35.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-31.xbel/.dirs/runtime 564s ok 47 /bookmarks/parse/fail-31.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-34.xbel/.dirs/runtime 564s ok 48 /bookmarks/parse/fail-34.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-01.xbel/.dirs/runtime 564s ok 49 /bookmarks/parse/fail-01.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-19.xbel/.dirs/runtime 564s ok 50 /bookmarks/parse/fail-19.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/parse/fail-20.xbel/.dirs/runtime 564s ok 51 /bookmarks/parse/fail-20.xbel 564s # End of parse tests 564s # Start of copy tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-03.xbel/.dirs/runtime 564s ok 52 /bookmarks/copy/valid-03.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-07.xbel/.dirs/runtime 564s ok 53 /bookmarks/copy/fail-07.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-04.xbel/.dirs/runtime 564s ok 54 /bookmarks/copy/fail-04.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-40.xbel/.dirs/runtime 564s ok 55 /bookmarks/copy/fail-40.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-05.xbel/.dirs/runtime 564s ok 56 /bookmarks/copy/fail-05.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-32.xbel/.dirs/runtime 564s ok 57 /bookmarks/copy/fail-32.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-30.xbel/.dirs/runtime 564s ok 58 /bookmarks/copy/fail-30.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-11.xbel/.dirs/runtime 564s ok 59 /bookmarks/copy/fail-11.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-18.xbel/.dirs/runtime 564s ok 60 /bookmarks/copy/fail-18.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-08.xbel/.dirs/runtime 564s ok 61 /bookmarks/copy/fail-08.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-23.xbel/.dirs/runtime 564s ok 62 /bookmarks/copy/fail-23.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-25.xbel/.dirs/runtime 564s ok 63 /bookmarks/copy/fail-25.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-39.xbel/.dirs/runtime 564s ok 64 /bookmarks/copy/fail-39.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-24.xbel/.dirs/runtime 564s ok 65 /bookmarks/copy/fail-24.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-13.xbel/.dirs/runtime 564s ok 66 /bookmarks/copy/fail-13.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-10.xbel/.dirs/runtime 564s ok 67 /bookmarks/copy/fail-10.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-29.xbel/.dirs/runtime 564s ok 68 /bookmarks/copy/fail-29.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-33.xbel/.dirs/runtime 564s ok 69 /bookmarks/copy/fail-33.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-15.xbel/.dirs/runtime 564s ok 70 /bookmarks/copy/fail-15.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-26.xbel/.dirs/runtime 564s ok 71 /bookmarks/copy/fail-26.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-03.xbel/.dirs/runtime 564s ok 72 /bookmarks/copy/fail-03.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-16.xbel/.dirs/runtime 564s ok 73 /bookmarks/copy/fail-16.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-14.xbel/.dirs/runtime 564s ok 74 /bookmarks/copy/fail-14.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-22.xbel/.dirs/runtime 564s ok 75 /bookmarks/copy/fail-22.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-42.xbel/.dirs/runtime 564s ok 76 /bookmarks/copy/fail-42.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-02.xbel/.dirs/runtime 564s ok 77 /bookmarks/copy/valid-02.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-41.xbel/.dirs/runtime 564s ok 78 /bookmarks/copy/fail-41.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-12.xbel/.dirs/runtime 564s ok 79 /bookmarks/copy/fail-12.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-38.xbel/.dirs/runtime 564s ok 80 /bookmarks/copy/fail-38.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-28.xbel/.dirs/runtime 564s ok 81 /bookmarks/copy/fail-28.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-02.xbel/.dirs/runtime 564s ok 82 /bookmarks/copy/fail-02.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-06.xbel/.dirs/runtime 564s ok 83 /bookmarks/copy/fail-06.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-27.xbel/.dirs/runtime 564s ok 84 /bookmarks/copy/fail-27.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-37.xbel/.dirs/runtime 564s ok 85 /bookmarks/copy/fail-37.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-17.xbel/.dirs/runtime 564s ok 86 /bookmarks/copy/fail-17.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-36.xbel/.dirs/runtime 564s ok 87 /bookmarks/copy/fail-36.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/valid-01.xbel/.dirs/runtime 564s ok 88 /bookmarks/copy/valid-01.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-09.xbel/.dirs/runtime 564s ok 89 /bookmarks/copy/fail-09.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-21.xbel/.dirs/runtime 564s ok 90 /bookmarks/copy/fail-21.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-35.xbel/.dirs/runtime 564s ok 91 /bookmarks/copy/fail-35.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-31.xbel/.dirs/runtime 564s ok 92 /bookmarks/copy/fail-31.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-34.xbel/.dirs/runtime 564s ok 93 /bookmarks/copy/fail-34.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-01.xbel/.dirs/runtime 564s ok 94 /bookmarks/copy/fail-01.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-19.xbel/.dirs/runtime 564s ok 95 /bookmarks/copy/fail-19.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Y878W2/bookmarks/copy/fail-20.xbel/.dirs/runtime 564s ok 96 /bookmarks/copy/fail-20.xbel 564s # End of copy tests 564s # End of bookmarks tests 564s ok - glib/bookmarkfile.test 564s # Running test: glib/properties-refcount2.test 564s TAP version 14 564s # random seed: R02Sa4eb779daac767d5898e8165a295fad6 564s 1..1 564s # Start of gobject tests 564s # Start of refcount tests 564s # init 0x2aa2514c770 564s # 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # Executing: glib/properties-refcount2.test 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # . 564s # dispose 0x2aa2514c770! 564s # 564s ok 1 /gobject/refcount/properties-2 564s # slow test /gobject/refcount/properties-2 executed in 0.63 secs 564s # End of refcount tests 564s # End of gobject tests 564s ok - glib/properties-refcount2.test 564s # Running test: glib/fileattributematcher.test 564s TAP version 14 564s # random seed: R02S525070a844ad200571900a1c5af34868 564s 1..3 564s # Start of fileattributematcher tests 564s ok 1 /fileattributematcher/exact 564s ok 2 /fileattributematcher/equality 564s ok 3 /fileattributematcher/subtract 564s # End of fileattributematcher tests 564s ok - glib/fileattributematcher.test 564s # Running test: glib/spawn-path-search.test 564s TAP version 14 564s # random seed: R02S6fca8b171ea99c7602c1e64cc4605c3d 564s 1..7 564s # Start of spawn tests 564s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 564s # 564s # this is spawn-test-helper from glib/tests 564s # 564s ok 1 /spawn/do-not-search 564s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 564s # 564s # this is spawn-test-helper from path-test-subdir 564s # 564s ok 2 /spawn/search-path 564s # /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. 564s # 564s # this is spawn-test-helper from path-test-subdir 564s # 564s ok 3 /spawn/search-path-from-envp 564s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 564s # 564s # this is spawn-test-helper from path-test-subdir 564s # 564s ok 4 /spawn/search-path-ambiguous 564s # 564s # this is spawn-test-helper from path-test-subdir 564s # 564s ok 5 /spawn/search-path-heap-allocation 564s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 564s # 564s # this is spawn-test-helper from glib/tests 564s # 564s ok 6 /spawn/search-path-fallback-in-environ 564s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 564s # 564s # this is spawn-test-helper from glib/tests 564s # 564s ok 7 /spawn/search-path-fallback-in-envp 564s # End of spawn tests 564s ok - glib/spawn-path-search.test 564s # Running test: glib/dbus-appinfo.test 564s TAP version 14 564s # random seed: R02Sec20d6063be78c64cffe37fc3f3d2454 564s 1..3 564s # Start of appinfo tests 564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 564s ok 1 /appinfo/dbusappinfo 564s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 564s dbus-daemon[12684]: [session uid=1000 pid=12684] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=12683 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 564s # Acquired a message bus connection 564s dbus-daemon[12684]: [session uid=1000 pid=12684] Successfully activated service 'org.freedesktop.portal.Documents' 564s # Acquired the name org.freedesktop.portal.Documents 564s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 564s ok 2 /appinfo/flatpak-doc-export 564s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 564s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 564s ok 3 /appinfo/flatpak-missing-doc-export 564s # End of appinfo tests 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 564s # Lost the name org.freedesktop.portal.Documents 564s ok - glib/dbus-appinfo.test 564s # Running test: glib/gdbus-peer.test 564s TAP version 14 564s # random seed: R02S84c2c1b732e73807d7ad87cb1bf32fc0 564s 1..12 564s # Start of gdbus tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/.dirs/runtime 564s # Testing with unix:dir address 564s # Testing with unix:tmpdir address 564s # Testing with unix:path address 564s ok 1 /gdbus/peer-to-peer 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/delayed-message-processing/.dirs/runtime 564s # Testing with unix:dir address 565s ok 2 /gdbus/delayed-message-processing 565s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/nonce-tcp/.dirs/runtime 565s ok 3 /gdbus/nonce-tcp 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/tcp-anonymous/.dirs/runtime 565s ok 4 /gdbus/tcp-anonymous 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/credentials/.dirs/runtime 565s ok 5 /gdbus/credentials 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/codegen-peer-to-peer/.dirs/runtime 565s # Testing with unix:dir address 565s # Machine ID: e7eafa3147b24a5d9c443b38f2e6330e 566s ok 6 /gdbus/codegen-peer-to-peer 566s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 566s # Start of peer-to-peer tests 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/signals/.dirs/runtime 566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 566s # Testing with unix:dir address 566s ok 7 /gdbus/peer-to-peer/signals 566s # Start of invalid tests 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 566s ok 8 /gdbus/peer-to-peer/invalid/server 566s # Start of conn tests 566s # Start of stream tests 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 566s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 566s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 566s # End of stream tests 566s # Start of addr tests 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 566s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_XJGDX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 566s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 566s # End of addr tests 566s # End of conn tests 566s # End of invalid tests 566s # End of peer-to-peer tests 566s # End of gdbus tests 566s ok - glib/gdbus-peer.test 566s # Running test: glib/completion.test 566s TAP version 14 566s # random seed: R02Sa21702fcbbcfb5740e523aefab818b26 566s 1..1 566s # Start of completion tests 566s ok 1 /completion/test-completion 566s # End of completion tests 566s ok - glib/completion.test 566s # Running test: glib/atomic-c-89.test 566s TAP version 14 566s # random seed: R02Sacf2d6520a375fcf4cef03ddafed8268 566s 1..2 566s # Start of atomic tests 566s ok 1 /atomic/types 566s ok 2 /atomic/threaded 566s # End of atomic tests 566s ok - glib/atomic-c-89.test 566s # Running test: glib/volumemonitor.test 566s TAP version 14 566s # random seed: R02Sd423867b62fcb5199e86e8a89787a2d0 566s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 566s 1..3 566s # Start of volumemonitor tests 566s ok 1 /volumemonitor/connected_drives 566s ok 2 /volumemonitor/volumes 566s ok 3 /volumemonitor/mounts 566s # End of volumemonitor tests 566s ok - glib/volumemonitor.test 566s # Running test: glib/memory-output-stream.test 566s TAP version 14 566s # random seed: R02Sffd350b7b277202b7a4481a3adf4cdcb 566s 1..10 566s # Start of memory-output-stream tests 566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 566s ok 1 /memory-output-stream/truncate 566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 566s ok 2 /memory-output-stream/get-data-size 566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 566s ok 3 /memory-output-stream/properties 566s ok 4 /memory-output-stream/write-bytes 566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 566s ok 5 /memory-output-stream/write-null 566s ok 6 /memory-output-stream/writev 566s ok 7 /memory-output-stream/writev_nonblocking 566s ok 8 /memory-output-stream/steal_as_bytes 566s # Start of seek tests 566s ok 9 /memory-output-stream/seek/fixed 566s ok 10 /memory-output-stream/seek/resizable 566s # End of seek tests 566s # End of memory-output-stream tests 566s ok - glib/memory-output-stream.test 566s # Running test: glib/function-info.test 566s TAP version 14 566s # random seed: R02S85dd14140b31fec732d8d7030c7ee0fc 566s 1..1 566s # Start of function-info tests 566s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/home 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/cache 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/system-config2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/config 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/system-data2 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/data 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/state 566s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_SCDHX2/function-info/invoker/.dirs/runtime 566s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 566s # /function-info/invoker summary: Test preparing a function invoker 566s ok 1 /function-info/invoker 566s # End of function-info tests 566s ok - glib/function-info.test 566s # Running test: glib/mkenums.py.test 566s TAP version 13 566s ok 1 __main__.TestMkenums.test_available_in 566s # tmpdir: /tmp/tmpfjh2h8t7 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpfjh2h8t7/tmprfzxpblj.h: 566s # typedef enum { 566s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 566s # } GDBusServerFlags; 566s # 566s # /tmp/tmpfjh2h8t7/tmpqef2lnx0.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfjh2h8t7/tmpqef2lnx0.template', '/tmp/tmpfjh2h8t7/tmprfzxpblj.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmpfjh2h8t7/tmprfzxpblj.h 566s # basename: tmprfzxpblj.h 566s # enumeration-production 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-header 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-production 566s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 566s # valuenick: user 566s # valuenum: 4 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-tail 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 2 __main__.TestMkenums.test_comma_in_enum_value 566s # tmpdir: /tmp/tmp5mcn45l_ 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmp5mcn45l_/tmp4q5l3uxp.h: 566s # typedef enum { 566s # ENUM_VALUE_WITH_COMMA = ',', 566s # } TestCommaEnum; 566s # 566s # /tmp/tmp5mcn45l_/tmpkvgq6jsv.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5mcn45l_/tmpkvgq6jsv.template', '/tmp/tmp5mcn45l_/tmp4q5l3uxp.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmp5mcn45l_/tmp4q5l3uxp.h 566s # basename: tmp4q5l3uxp.h 566s # enumeration-production 566s # EnumName: TestCommaEnum 566s # enum_name: test_comma_enum 566s # ENUMNAME: TEST_COMMA_ENUM 566s # ENUMSHORT: COMMA_ENUM 566s # ENUMPREFIX: TEST 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-header 566s # EnumName: TestCommaEnum 566s # enum_name: test_comma_enum 566s # ENUMNAME: TEST_COMMA_ENUM 566s # ENUMSHORT: COMMA_ENUM 566s # ENUMPREFIX: TEST 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-production 566s # VALUENAME: ENUM_VALUE_WITH_COMMA 566s # valuenick: comma 566s # valuenum: 44 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-tail 566s # EnumName: TestCommaEnum 566s # enum_name: test_comma_enum 566s # ENUMNAME: TEST_COMMA_ENUM 566s # ENUMSHORT: COMMA_ENUM 566s # ENUMPREFIX: TEST 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 3 __main__.TestMkenums.test_deprecated_in 566s # tmpdir: /tmp/tmpdxqjkfy7 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpdxqjkfy7/tmpihyw1rcu.h: 566s # typedef enum { 566s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 566s # } GDBusServerFlags; 566s # 566s # /tmp/tmpdxqjkfy7/tmp4vh8vp54.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdxqjkfy7/tmp4vh8vp54.template', '/tmp/tmpdxqjkfy7/tmpihyw1rcu.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmpdxqjkfy7/tmpihyw1rcu.h 566s # basename: tmpihyw1rcu.h 566s # enumeration-production 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-header 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-production 566s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 566s # valuenick: user 566s # valuenum: 4 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-tail 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 4 __main__.TestMkenums.test_deprecated_in_for 566s # tmpdir: /tmp/tmpivoqsam9 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpivoqsam9/tmpmuiexbwb.h: 566s # typedef enum { 566s # 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) 566s # } GDBusServerFlags; 566s # 566s # /tmp/tmpivoqsam9/tmpje92j5zl.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpivoqsam9/tmpje92j5zl.template', '/tmp/tmpivoqsam9/tmpmuiexbwb.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmpivoqsam9/tmpmuiexbwb.h 566s # basename: tmpmuiexbwb.h 566s # enumeration-production 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-header 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-production 566s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 566s # valuenick: user 566s # valuenum: 4 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # value-tail 566s # EnumName: GDBusServerFlags 566s # enum_name: g_dbus_server_flags 566s # ENUMNAME: G_DBUS_SERVER_FLAGS 566s # ENUMSHORT: DBUS_SERVER_FLAGS 566s # ENUMPREFIX: G 566s # enumsince: 566s # type: flags 566s # Type: Flags 566s # TYPE: FLAGS 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 5 __main__.TestMkenums.test_empty_header 566s # tmpdir: /tmp/tmpd8ewudxx 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpd8ewudxx/tmpe8_iyrlm.h: 566s # /tmp/tmpd8ewudxx/tmp9u6sjj75.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd8ewudxx/tmp9u6sjj75.template', '/tmp/tmpd8ewudxx/tmpe8_iyrlm.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 6 __main__.TestMkenums.test_empty_template 566s # tmpdir: /tmp/tmpc477dvfw 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpc477dvfw/tmpcoxfn9uw.template: 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpc477dvfw/tmpcoxfn9uw.template'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # 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. */ 566s # 566s # 566s # /* Generated data ends here */ 566s ok 7 __main__.TestMkenums.test_enum_name 566s # tmpdir: /tmp/tmpi_7kjlbg 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmpi_7kjlbg/tmp90366ixf.h: 566s # typedef enum _SomeEnumIdentifier { 566s # ENUM_VALUE 566s # } SomeEnumIdentifier; 566s # 566s # /tmp/tmpi_7kjlbg/tmpnfdabbjc.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi_7kjlbg/tmpnfdabbjc.template', '/tmp/tmpi_7kjlbg/tmp90366ixf.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmpi_7kjlbg/tmp90366ixf.h 566s # basename: tmp90366ixf.h 566s # enumeration-production 566s # EnumName: SomeEnumIdentifier 566s # enum_name: some_enum_identifier 566s # ENUMNAME: SOME_ENUM_IDENTIFIER 566s # ENUMSHORT: ENUM_IDENTIFIER 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-header 566s # EnumName: SomeEnumIdentifier 566s # enum_name: some_enum_identifier 566s # ENUMNAME: SOME_ENUM_IDENTIFIER 566s # ENUMSHORT: ENUM_IDENTIFIER 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-production 566s # VALUENAME: ENUM_VALUE 566s # valuenick: value 566s # valuenum: 0 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-tail 566s # EnumName: SomeEnumIdentifier 566s # enum_name: some_enum_identifier 566s # ENUMNAME: SOME_ENUM_IDENTIFIER 566s # ENUMSHORT: ENUM_IDENTIFIER 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s ok 8 __main__.TestMkenums.test_enum_private_public 566s # tmpdir: /tmp/tmp_roep619 566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 566s # /tmp/tmp_roep619/tmpb_zw1ys1.h: 566s # typedef enum { 566s # ENUM_VALUE_PUBLIC1, 566s # /*< private >*/ 566s # ENUM_VALUE_PRIVATE, 566s # } SomeEnumA 566s # 566s # /tmp/tmp_roep619/tmppx23mfcc.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_roep619/tmppx23mfcc.template', '/tmp/tmp_roep619/tmpb_zw1ys1.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmp_roep619/tmpb_zw1ys1.h 566s # basename: tmpb_zw1ys1.h 566s # enumeration-production 566s # EnumName: SomeEnumA 566s # enum_name: some_enum_a 566s # ENUMNAME: SOME_ENUM_A 566s # ENUMSHORT: ENUM_A 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-header 566s # EnumName: SomeEnumA 566s # enum_name: some_enum_a 566s # ENUMNAME: SOME_ENUM_A 566s # ENUMSHORT: ENUM_A 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-production 566s # VALUENAME: ENUM_VALUE_PUBLIC1 566s # valuenick: public1 566s # valuenum: 0 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-tail 566s # EnumName: SomeEnumA 566s # enum_name: some_enum_a 566s # ENUMNAME: SOME_ENUM_A 566s # ENUMSHORT: ENUM_A 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 566s # /tmp/tmp_roep619/tmp7vy9ci25.h: 566s # typedef enum { 566s # /*< private >*/ 566s # ENUM_VALUE_PRIVATE, 566s # /*< public >*/ 566s # ENUM_VALUE_PUBLIC2, 566s # } SomeEnumB; 566s # 566s # /tmp/tmp_roep619/tmphr68q99q.template: 566s # /*** BEGIN file-header ***/ 566s # file-header 566s # /*** END file-header ***/ 566s # 566s # /*** BEGIN file-production ***/ 566s # file-production 566s # filename: @filename@ 566s # basename: @basename@ 566s # /*** END file-production ***/ 566s # 566s # /*** BEGIN enumeration-production ***/ 566s # enumeration-production 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END enumeration-production ***/ 566s # 566s # /*** BEGIN value-header ***/ 566s # value-header 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-header ***/ 566s # 566s # /*** BEGIN value-production ***/ 566s # value-production 566s # VALUENAME: @VALUENAME@ 566s # valuenick: @valuenick@ 566s # valuenum: @valuenum@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-production ***/ 566s # 566s # /*** BEGIN value-tail ***/ 566s # value-tail 566s # EnumName: @EnumName@ 566s # enum_name: @enum_name@ 566s # ENUMNAME: @ENUMNAME@ 566s # ENUMSHORT: @ENUMSHORT@ 566s # ENUMPREFIX: @ENUMPREFIX@ 566s # enumsince: @enumsince@ 566s # type: @type@ 566s # Type: @Type@ 566s # TYPE: @TYPE@ 566s # /*** END value-tail ***/ 566s # 566s # /*** BEGIN comment ***/ 566s # comment 566s # comment: @comment@ 566s # /*** END comment ***/ 566s # 566s # /*** BEGIN file-tail ***/ 566s # file-tail 566s # /*** END file-tail ***/ 566s # 566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_roep619/tmphr68q99q.template', '/tmp/tmp_roep619/tmp7vy9ci25.h'] 566s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 566s # Output: comment 566s # 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. 566s # 566s # 566s # file-header 566s # file-production 566s # filename: /tmp/tmp_roep619/tmp7vy9ci25.h 566s # basename: tmp7vy9ci25.h 566s # enumeration-production 566s # EnumName: SomeEnumB 566s # enum_name: some_enum_b 566s # ENUMNAME: SOME_ENUM_B 566s # ENUMSHORT: ENUM_B 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-header 566s # EnumName: SomeEnumB 566s # enum_name: some_enum_b 566s # ENUMNAME: SOME_ENUM_B 566s # ENUMSHORT: ENUM_B 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-production 566s # VALUENAME: ENUM_VALUE_PUBLIC2 566s # valuenick: public2 566s # valuenum: 1 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # value-tail 566s # EnumName: SomeEnumB 566s # enum_name: some_enum_b 566s # ENUMNAME: SOME_ENUM_B 566s # ENUMSHORT: ENUM_B 566s # ENUMPREFIX: SOME 566s # enumsince: 566s # type: enum 566s # Type: Enum 566s # TYPE: ENUM 566s # file-tail 566s # 566s # comment 566s # comment: Generated data ends here 567s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 567s # tmpdir: /tmp/tmpg4rnsz82 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpg4rnsz82/tmp1au5j5a5.h: 567s # typedef enum { 567s # /*< private >*/ 567s # ENUM_VALUE_PRIVATE = 5, 567s # /*< public >*/ 567s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 567s # } TestSymbolicEnum; 567s # 567s # /tmp/tmpg4rnsz82/tmpzs26bsa_.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg4rnsz82/tmpzs26bsa_.template', '/tmp/tmpg4rnsz82/tmp1au5j5a5.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpg4rnsz82/tmp1au5j5a5.h 567s # basename: tmp1au5j5a5.h 567s # enumeration-production 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE_PUBLIC 567s # valuenick: public 567s # valuenum: 7 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 567s # tmpdir: /tmp/tmpz9x7bhd5 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpz9x7bhd5/tmp5i1o8ypn.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-tail ***/ 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz9x7bhd5/tmp5i1o8ypn.template'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # filename: @filename@ 567s # basename: @basename@ 567s # file-tail 567s # filename: @filename@ 567s # basename: @basename@ 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 11 __main__.TestMkenums.test_help 567s # tmpdir: /tmp/tmpnicpvz7g 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # Running: ['/usr/bin/glib-mkenums', '--help'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 567s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 567s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 567s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 567s # [--comments COMMENT_TMPL] [--template TEMPLATE] 567s # [--output OUTPUT] [--version] 567s # [args ...] 567s # 567s # positional arguments: 567s # args One or more input files, or a single argument 567s # @rspfile_path pointing to a file that contains the 567s # actual arguments 567s # 567s # options: 567s # -h, --help show this help message and exit 567s # --identifier-prefix IDPREFIX 567s # Identifier prefix 567s # --symbol-prefix SYMPREFIX 567s # Symbol prefix 567s # --fhead FHEAD Output file header 567s # --ftail FTAIL Output file footer 567s # --fprod FPROD Put out TEXT every time a new input file is being 567s # processed. 567s # --eprod EPROD Per enum text, produced prior to value iterations 567s # --vhead VHEAD Value header, produced before iterating over enum 567s # values 567s # --vprod VPROD Value text, produced for each enum value. 567s # --vtail VTAIL Value tail, produced after iterating over enum values 567s # --comments COMMENT_TMPL 567s # Comment structure 567s # --template TEMPLATE Template file 567s # --output OUTPUT 567s # --version, -v Print version information 567s # 567s # Production text substitutions: 567s # @EnumName@ PrefixTheXEnum 567s # @enum_name@ prefix_the_xenum 567s # @ENUMNAME@ PREFIX_THE_XENUM 567s # @ENUMSHORT@ THE_XENUM 567s # @ENUMPREFIX@ PREFIX 567s # @enumsince@ the user-provided since value given 567s # @VALUENAME@ PREFIX_THE_XVALUE 567s # @valuenick@ the-xvalue 567s # @valuenum@ the integer value (limited support, Since: 2.26) 567s # @type@ either enum or flags 567s # @Type@ either Enum or Flags 567s # @TYPE@ either ENUM or FLAGS 567s # @filename@ name of current input file 567s # @basename@ base name of the current input file (Since: 2.22) 567s ok 12 __main__.TestMkenums.test_no_args 567s # tmpdir: /tmp/tmpcrxsa1y_ 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # Running: ['/usr/bin/glib-mkenums'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # 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. */ 567s # 567s # 567s # /* Generated data ends here */ 567s ok 13 __main__.TestMkenums.test_no_headers 567s # tmpdir: /tmp/tmprkyqxgmr 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmprkyqxgmr/tmp0_9zughz.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprkyqxgmr/tmp0_9zughz.template'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 14 __main__.TestMkenums.test_no_nick 567s # tmpdir: /tmp/tmprpygimx8 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmprpygimx8/tmpd7h7hs3k.h: 567s # typedef enum { 567s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 567s # } GeglSamplerType; 567s # 567s # /tmp/tmprpygimx8/tmpzgzgfvqr.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprpygimx8/tmpzgzgfvqr.template', '/tmp/tmprpygimx8/tmpd7h7hs3k.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmprpygimx8/tmpd7h7hs3k.h 567s # basename: tmpd7h7hs3k.h 567s # enumeration-production 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: GEGL_SAMPLER_NEAREST 567s # valuenick: nearest 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 15 __main__.TestMkenums.test_non_utf8_encoding 567s # tmpdir: /tmp/tmpmowcq3gc 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpmowcq3gc/tmpo2abin59.h: 567s # /* Copyright © La Peña */ 567s # typedef enum { 567s # ENUM_VALUE 567s # } SomeEnumIdentifier; 567s # 567s # /tmp/tmpmowcq3gc/tmp8urtk35d.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmowcq3gc/tmp8urtk35d.template', '/tmp/tmpmowcq3gc/tmpo2abin59.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpmowcq3gc/tmpo2abin59.h 567s # basename: tmpo2abin59.h 567s # enumeration-production 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE 567s # valuenick: value 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 16 __main__.TestMkenums.test_reproducible 567s # tmpdir: /tmp/tmpyu8shfsb 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpyu8shfsb/tmptj0phxwi.template: template 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyu8shfsb/tmptj0phxwi.template', '/tmp/tmpyu8shfsb/tmpc0f2wuxu1.h', '/tmp/tmpyu8shfsb/tmptd7jw2au2.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # 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. */ 567s # 567s # 567s # /* Generated data ends here */ 567s # /tmp/tmpyu8shfsb/tmpeobacbzh.template: template 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyu8shfsb/tmpeobacbzh.template', '/tmp/tmpyu8shfsb/tmptd7jw2au2.h', '/tmp/tmpyu8shfsb/tmpc0f2wuxu1.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # 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. */ 567s # 567s # 567s # /* Generated data ends here */ 567s ok 17 __main__.TestMkenums.test_since 567s # tmpdir: /tmp/tmpageypv7k 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpageypv7k/tmp159q_d8t.h: 567s # typedef enum { /*< since=1.0 >*/ 567s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 567s # } QmiWmsMessageProtocol; 567s # 567s # /tmp/tmpageypv7k/tmpvsb9dc4g.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpageypv7k/tmpvsb9dc4g.template', '/tmp/tmpageypv7k/tmp159q_d8t.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpageypv7k/tmp159q_d8t.h 567s # basename: tmp159q_d8t.h 567s # enumeration-production 567s # EnumName: QmiWmsMessageProtocol 567s # enum_name: qmi_wms_message_protocol 567s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 567s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 567s # ENUMPREFIX: QMI 567s # enumsince: 1.0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: QmiWmsMessageProtocol 567s # enum_name: qmi_wms_message_protocol 567s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 567s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 567s # ENUMPREFIX: QMI 567s # enumsince: 1.0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 567s # valuenick: cdma 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: QmiWmsMessageProtocol 567s # enum_name: qmi_wms_message_protocol 567s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 567s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 567s # ENUMPREFIX: QMI 567s # enumsince: 1.0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 18 __main__.TestMkenums.test_with_double_quotes 567s # tmpdir: /tmp/tmp2be77t65 567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmp2be77t65/tmp8s4mcu5g.h: 567s # typedef enum { 567s # FOO_VALUE /*< nick="eek, a comma" >*/ 567s # } Foo; 567s # 567s # /tmp/tmp2be77t65/tmpbdrd89n7.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2be77t65/tmpbdrd89n7.template', '/tmp/tmp2be77t65/tmp8s4mcu5g.h'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmp2be77t65/tmp8s4mcu5g.h 567s # basename: tmp8s4mcu5g.h 567s # enumeration-production 567s # EnumName: Foo 567s # enum_name: foo_ 567s # ENUMNAME: FOO_ 567s # ENUMSHORT: 567s # ENUMPREFIX: FOO 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: Foo 567s # enum_name: foo_ 567s # ENUMNAME: FOO_ 567s # ENUMSHORT: 567s # ENUMPREFIX: FOO 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: FOO_VALUE 567s # valuenick: eek, a comma 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: Foo 567s # enum_name: foo_ 567s # ENUMNAME: FOO_ 567s # ENUMSHORT: 567s # ENUMPREFIX: FOO 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 19 __main__.TestRspMkenums.test_available_in 567s # tmpdir: /tmp/tmpq2v31d98 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpq2v31d98/tmpurpnfwtv.h: 567s # typedef enum { 567s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 567s # } GDBusServerFlags; 567s # 567s # /tmp/tmpq2v31d98/tmpvjhl_msd.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpq2v31d98/tmpvjhl_msd.template /tmp/tmpq2v31d98/tmpurpnfwtv.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq2v31d98/tmp_3iybavr'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpq2v31d98/tmpurpnfwtv.h 567s # basename: tmpurpnfwtv.h 567s # enumeration-production 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-header 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-production 567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 567s # valuenick: user 567s # valuenum: 4 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-tail 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 567s # tmpdir: /tmp/tmplaheuhei 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmplaheuhei/tmpy9d3srar.h: 567s # typedef enum { 567s # ENUM_VALUE_WITH_COMMA = ',', 567s # } TestCommaEnum; 567s # 567s # /tmp/tmplaheuhei/tmpo3pg5org.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmplaheuhei/tmpo3pg5org.template /tmp/tmplaheuhei/tmpy9d3srar.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplaheuhei/tmp356gl3na'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmplaheuhei/tmpy9d3srar.h 567s # basename: tmpy9d3srar.h 567s # enumeration-production 567s # EnumName: TestCommaEnum 567s # enum_name: test_comma_enum 567s # ENUMNAME: TEST_COMMA_ENUM 567s # ENUMSHORT: COMMA_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: TestCommaEnum 567s # enum_name: test_comma_enum 567s # ENUMNAME: TEST_COMMA_ENUM 567s # ENUMSHORT: COMMA_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE_WITH_COMMA 567s # valuenick: comma 567s # valuenum: 44 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: TestCommaEnum 567s # enum_name: test_comma_enum 567s # ENUMNAME: TEST_COMMA_ENUM 567s # ENUMSHORT: COMMA_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 21 __main__.TestRspMkenums.test_deprecated_in 567s # tmpdir: /tmp/tmp907nibot 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmp907nibot/tmpkhqc0qr_.h: 567s # typedef enum { 567s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 567s # } GDBusServerFlags; 567s # 567s # /tmp/tmp907nibot/tmpmdo_adks.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmp907nibot/tmpmdo_adks.template /tmp/tmp907nibot/tmpkhqc0qr_.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp907nibot/tmpy_2yuws8'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmp907nibot/tmpkhqc0qr_.h 567s # basename: tmpkhqc0qr_.h 567s # enumeration-production 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-header 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-production 567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 567s # valuenick: user 567s # valuenum: 4 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-tail 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 567s # tmpdir: /tmp/tmp0z64oz8m 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmp0z64oz8m/tmpxph3t529.h: 567s # typedef enum { 567s # 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) 567s # } GDBusServerFlags; 567s # 567s # /tmp/tmp0z64oz8m/tmp5o2rbu8i.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmp0z64oz8m/tmp5o2rbu8i.template /tmp/tmp0z64oz8m/tmpxph3t529.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0z64oz8m/tmp83fpj80b'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmp0z64oz8m/tmpxph3t529.h 567s # basename: tmpxph3t529.h 567s # enumeration-production 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-header 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-production 567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 567s # valuenick: user 567s # valuenum: 4 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # value-tail 567s # EnumName: GDBusServerFlags 567s # enum_name: g_dbus_server_flags 567s # ENUMNAME: G_DBUS_SERVER_FLAGS 567s # ENUMSHORT: DBUS_SERVER_FLAGS 567s # ENUMPREFIX: G 567s # enumsince: 567s # type: flags 567s # Type: Flags 567s # TYPE: FLAGS 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 23 __main__.TestRspMkenums.test_empty_header 567s # tmpdir: /tmp/tmpuzndgdfb 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpuzndgdfb/tmpo_imp4jt.h: 567s # /tmp/tmpuzndgdfb/tmptl03vfgk.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpuzndgdfb/tmptl03vfgk.template /tmp/tmpuzndgdfb/tmpo_imp4jt.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuzndgdfb/tmpfrv2feoj'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 24 __main__.TestRspMkenums.test_empty_template 567s # tmpdir: /tmp/tmpoljraia5 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpoljraia5/tmpui8ftsdc.template: 567s # Response file contains: --template /tmp/tmpoljraia5/tmpui8ftsdc.template 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoljraia5/tmp_97w5p3l'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # 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. */ 567s # 567s # 567s # /* Generated data ends here */ 567s ok 25 __main__.TestRspMkenums.test_enum_name 567s # tmpdir: /tmp/tmpcqh9fica 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpcqh9fica/tmptrwd4ux1.h: 567s # typedef enum _SomeEnumIdentifier { 567s # ENUM_VALUE 567s # } SomeEnumIdentifier; 567s # 567s # /tmp/tmpcqh9fica/tmp0_jb5wav.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpcqh9fica/tmp0_jb5wav.template /tmp/tmpcqh9fica/tmptrwd4ux1.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcqh9fica/tmpyvtisuln'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpcqh9fica/tmptrwd4ux1.h 567s # basename: tmptrwd4ux1.h 567s # enumeration-production 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE 567s # valuenick: value 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 26 __main__.TestRspMkenums.test_enum_private_public 567s # tmpdir: /tmp/tmp279krsx9 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmp279krsx9/tmp6vk8xxvc.h: 567s # typedef enum { 567s # ENUM_VALUE_PUBLIC1, 567s # /*< private >*/ 567s # ENUM_VALUE_PRIVATE, 567s # } SomeEnumA 567s # 567s # /tmp/tmp279krsx9/tmp360qntb9.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmp279krsx9/tmp360qntb9.template /tmp/tmp279krsx9/tmp6vk8xxvc.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp279krsx9/tmp27ddudcs'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmp279krsx9/tmp6vk8xxvc.h 567s # basename: tmp6vk8xxvc.h 567s # enumeration-production 567s # EnumName: SomeEnumA 567s # enum_name: some_enum_a 567s # ENUMNAME: SOME_ENUM_A 567s # ENUMSHORT: ENUM_A 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: SomeEnumA 567s # enum_name: some_enum_a 567s # ENUMNAME: SOME_ENUM_A 567s # ENUMSHORT: ENUM_A 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE_PUBLIC1 567s # valuenick: public1 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: SomeEnumA 567s # enum_name: some_enum_a 567s # ENUMNAME: SOME_ENUM_A 567s # ENUMSHORT: ENUM_A 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s # /tmp/tmp279krsx9/tmpi5lhx75h.h: 567s # typedef enum { 567s # /*< private >*/ 567s # ENUM_VALUE_PRIVATE, 567s # /*< public >*/ 567s # ENUM_VALUE_PUBLIC2, 567s # } SomeEnumB; 567s # 567s # /tmp/tmp279krsx9/tmp12zlcmr0.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmp279krsx9/tmp12zlcmr0.template /tmp/tmp279krsx9/tmpi5lhx75h.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp279krsx9/tmpck8k9e69'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmp279krsx9/tmpi5lhx75h.h 567s # basename: tmpi5lhx75h.h 567s # enumeration-production 567s # EnumName: SomeEnumB 567s # enum_name: some_enum_b 567s # ENUMNAME: SOME_ENUM_B 567s # ENUMSHORT: ENUM_B 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: SomeEnumB 567s # enum_name: some_enum_b 567s # ENUMNAME: SOME_ENUM_B 567s # ENUMSHORT: ENUM_B 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE_PUBLIC2 567s # valuenick: public2 567s # valuenum: 1 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: SomeEnumB 567s # enum_name: some_enum_b 567s # ENUMNAME: SOME_ENUM_B 567s # ENUMSHORT: ENUM_B 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 567s # tmpdir: /tmp/tmpuvpgkg4v 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpuvpgkg4v/tmpcex_4vmu.h: 567s # typedef enum { 567s # /*< private >*/ 567s # ENUM_VALUE_PRIVATE = 5, 567s # /*< public >*/ 567s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 567s # } TestSymbolicEnum; 567s # 567s # /tmp/tmpuvpgkg4v/tmp4kzap6m0.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpuvpgkg4v/tmp4kzap6m0.template /tmp/tmpuvpgkg4v/tmpcex_4vmu.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuvpgkg4v/tmpi6vb1rq5'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpuvpgkg4v/tmpcex_4vmu.h 567s # basename: tmpcex_4vmu.h 567s # enumeration-production 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE_PUBLIC 567s # valuenick: public 567s # valuenum: 7 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: TestSymbolicEnum 567s # enum_name: test_symbolic_enum 567s # ENUMNAME: TEST_SYMBOLIC_ENUM 567s # ENUMSHORT: SYMBOLIC_ENUM 567s # ENUMPREFIX: TEST 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 567s # tmpdir: /tmp/tmphb3plna1 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmphb3plna1/tmpn83t3jul.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-tail ***/ 567s # Response file contains: --template /tmp/tmphb3plna1/tmpn83t3jul.template 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphb3plna1/tmpza_ji1gp'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # filename: @filename@ 567s # basename: @basename@ 567s # file-tail 567s # filename: @filename@ 567s # basename: @basename@ 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 29 __main__.TestRspMkenums.test_help 567s # tmpdir: /tmp/tmpdsffeznu 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # Response file contains: --help 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdsffeznu/tmp8d6bjyrw'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 567s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 567s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 567s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 567s # [--comments COMMENT_TMPL] [--template TEMPLATE] 567s # [--output OUTPUT] [--version] 567s # [args ...] 567s # 567s # positional arguments: 567s # args One or more input files, or a single argument 567s # @rspfile_path pointing to a file that contains the 567s # actual arguments 567s # 567s # options: 567s # -h, --help show this help message and exit 567s # --identifier-prefix IDPREFIX 567s # Identifier prefix 567s # --symbol-prefix SYMPREFIX 567s # Symbol prefix 567s # --fhead FHEAD Output file header 567s # --ftail FTAIL Output file footer 567s # --fprod FPROD Put out TEXT every time a new input file is being 567s # processed. 567s # --eprod EPROD Per enum text, produced prior to value iterations 567s # --vhead VHEAD Value header, produced before iterating over enum 567s # values 567s # --vprod VPROD Value text, produced for each enum value. 567s # --vtail VTAIL Value tail, produced after iterating over enum values 567s # --comments COMMENT_TMPL 567s # Comment structure 567s # --template TEMPLATE Template file 567s # --output OUTPUT 567s # --version, -v Print version information 567s # 567s # Production text substitutions: 567s # @EnumName@ PrefixTheXEnum 567s # @enum_name@ prefix_the_xenum 567s # @ENUMNAME@ PREFIX_THE_XENUM 567s # @ENUMSHORT@ THE_XENUM 567s # @ENUMPREFIX@ PREFIX 567s # @enumsince@ the user-provided since value given 567s # @VALUENAME@ PREFIX_THE_XVALUE 567s # @valuenick@ the-xvalue 567s # @valuenum@ the integer value (limited support, Since: 2.26) 567s # @type@ either enum or flags 567s # @Type@ either Enum or Flags 567s # @TYPE@ either ENUM or FLAGS 567s # @filename@ name of current input file 567s # @basename@ base name of the current input file (Since: 2.22) 567s ok 30 __main__.TestRspMkenums.test_no_args 567s # tmpdir: /tmp/tmpqenwm5ow 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # Response file contains: 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqenwm5ow/tmpo1s7hj3_'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # 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. */ 567s # 567s # 567s # /* Generated data ends here */ 567s ok 31 __main__.TestRspMkenums.test_no_headers 567s # tmpdir: /tmp/tmpz86tmfaz 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpz86tmfaz/tmpb8qu217a.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpz86tmfaz/tmpb8qu217a.template 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz86tmfaz/tmptd38f7rz'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 32 __main__.TestRspMkenums.test_no_nick 567s # tmpdir: /tmp/tmpfwzc2ijh 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpfwzc2ijh/tmpwhbnm_72.h: 567s # typedef enum { 567s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 567s # } GeglSamplerType; 567s # 567s # /tmp/tmpfwzc2ijh/tmp045akfrs.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpfwzc2ijh/tmp045akfrs.template /tmp/tmpfwzc2ijh/tmpwhbnm_72.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfwzc2ijh/tmpshjbdkrs'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpfwzc2ijh/tmpwhbnm_72.h 567s # basename: tmpwhbnm_72.h 567s # enumeration-production 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: GEGL_SAMPLER_NEAREST 567s # valuenick: nearest 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: GeglSamplerType 567s # enum_name: gegl_sampler_type 567s # ENUMNAME: GEGL_SAMPLER_TYPE 567s # ENUMSHORT: SAMPLER_TYPE 567s # ENUMPREFIX: GEGL 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 567s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 567s # tmpdir: /tmp/tmpt5tf8587 567s # rspfile: True, mkenums: /usr/bin/glib-mkenums 567s # /tmp/tmpt5tf8587/tmp77ykgfp_.h: 567s # /* Copyright © La Peña */ 567s # typedef enum { 567s # ENUM_VALUE 567s # } SomeEnumIdentifier; 567s # 567s # /tmp/tmpt5tf8587/tmp0v87d344.template: 567s # /*** BEGIN file-header ***/ 567s # file-header 567s # /*** END file-header ***/ 567s # 567s # /*** BEGIN file-production ***/ 567s # file-production 567s # filename: @filename@ 567s # basename: @basename@ 567s # /*** END file-production ***/ 567s # 567s # /*** BEGIN enumeration-production ***/ 567s # enumeration-production 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END enumeration-production ***/ 567s # 567s # /*** BEGIN value-header ***/ 567s # value-header 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-header ***/ 567s # 567s # /*** BEGIN value-production ***/ 567s # value-production 567s # VALUENAME: @VALUENAME@ 567s # valuenick: @valuenick@ 567s # valuenum: @valuenum@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-production ***/ 567s # 567s # /*** BEGIN value-tail ***/ 567s # value-tail 567s # EnumName: @EnumName@ 567s # enum_name: @enum_name@ 567s # ENUMNAME: @ENUMNAME@ 567s # ENUMSHORT: @ENUMSHORT@ 567s # ENUMPREFIX: @ENUMPREFIX@ 567s # enumsince: @enumsince@ 567s # type: @type@ 567s # Type: @Type@ 567s # TYPE: @TYPE@ 567s # /*** END value-tail ***/ 567s # 567s # /*** BEGIN comment ***/ 567s # comment 567s # comment: @comment@ 567s # /*** END comment ***/ 567s # 567s # /*** BEGIN file-tail ***/ 567s # file-tail 567s # /*** END file-tail ***/ 567s # 567s # Response file contains: --template /tmp/tmpt5tf8587/tmp0v87d344.template /tmp/tmpt5tf8587/tmp77ykgfp_.h 567s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt5tf8587/tmpote2uywu'] 567s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 567s # Output: comment 567s # 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. 567s # 567s # 567s # file-header 567s # file-production 567s # filename: /tmp/tmpt5tf8587/tmp77ykgfp_.h 567s # basename: tmp77ykgfp_.h 567s # enumeration-production 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-header 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-production 567s # VALUENAME: ENUM_VALUE 567s # valuenick: value 567s # valuenum: 0 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # value-tail 567s # EnumName: SomeEnumIdentifier 567s # enum_name: some_enum_identifier 567s # ENUMNAME: SOME_ENUM_IDENTIFIER 567s # ENUMSHORT: ENUM_IDENTIFIER 567s # ENUMPREFIX: SOME 567s # enumsince: 567s # type: enum 567s # Type: Enum 567s # TYPE: ENUM 567s # file-tail 567s # 567s # comment 567s # comment: Generated data ends here 568s ok 34 __main__.TestRspMkenums.test_reproducible 568s # tmpdir: /tmp/tmp6814r0tb 568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 568s # /tmp/tmp6814r0tb/tmp4zfp7n0g.template: template 568s # Response file contains: --template /tmp/tmp6814r0tb/tmp4zfp7n0g.template /tmp/tmp6814r0tb/tmpeee6rtj61.h /tmp/tmp6814r0tb/tmp3s7a9k722.h 568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6814r0tb/tmpolyuhbud'] 568s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 568s # 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. */ 568s # 568s # 568s # /* Generated data ends here */ 568s # /tmp/tmp6814r0tb/tmp3fzitt0u.template: template 568s # Response file contains: --template /tmp/tmp6814r0tb/tmp3fzitt0u.template /tmp/tmp6814r0tb/tmp3s7a9k722.h /tmp/tmp6814r0tb/tmpeee6rtj61.h 568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6814r0tb/tmp8re0cvwx'] 568s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 568s # 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. */ 568s # 568s # 568s # /* Generated data ends here */ 568s ok 35 __main__.TestRspMkenums.test_since 568s # tmpdir: /tmp/tmpu73a277d 568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 568s # /tmp/tmpu73a277d/tmpp5n29lq1.h: 568s # typedef enum { /*< since=1.0 >*/ 568s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 568s # } QmiWmsMessageProtocol; 568s # 568s # /tmp/tmpu73a277d/tmp2_lkhs21.template: 568s # /*** BEGIN file-header ***/ 568s # file-header 568s # /*** END file-header ***/ 568s # 568s # /*** BEGIN file-production ***/ 568s # file-production 568s # filename: @filename@ 568s # basename: @basename@ 568s # /*** END file-production ***/ 568s # 568s # /*** BEGIN enumeration-production ***/ 568s # enumeration-production 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END enumeration-production ***/ 568s # 568s # /*** BEGIN value-header ***/ 568s # value-header 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-header ***/ 568s # 568s # /*** BEGIN value-production ***/ 568s # value-production 568s # VALUENAME: @VALUENAME@ 568s # valuenick: @valuenick@ 568s # valuenum: @valuenum@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-production ***/ 568s # 568s # /*** BEGIN value-tail ***/ 568s # value-tail 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-tail ***/ 568s # 568s # /*** BEGIN comment ***/ 568s # comment 568s # comment: @comment@ 568s # /*** END comment ***/ 568s # 568s # /*** BEGIN file-tail ***/ 568s # file-tail 568s # /*** END file-tail ***/ 568s # 568s # Response file contains: --template /tmp/tmpu73a277d/tmp2_lkhs21.template /tmp/tmpu73a277d/tmpp5n29lq1.h 568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu73a277d/tmp7nb9809c'] 568s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 568s # Output: comment 568s # 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. 568s # 568s # 568s # file-header 568s # file-production 568s # filename: /tmp/tmpu73a277d/tmpp5n29lq1.h 568s # basename: tmpp5n29lq1.h 568s # enumeration-production 568s # EnumName: QmiWmsMessageProtocol 568s # enum_name: qmi_wms_message_protocol 568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 568s # ENUMPREFIX: QMI 568s # enumsince: 1.0 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-header 568s # EnumName: QmiWmsMessageProtocol 568s # enum_name: qmi_wms_message_protocol 568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 568s # ENUMPREFIX: QMI 568s # enumsince: 1.0 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-production 568s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 568s # valuenick: cdma 568s # valuenum: 0 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-tail 568s # EnumName: QmiWmsMessageProtocol 568s # enum_name: qmi_wms_message_protocol 568s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 568s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 568s # ENUMPREFIX: QMI 568s # enumsince: 1.0 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # file-tail 568s # 568s # comment 568s # comment: Generated data ends here 568s ok 36 __main__.TestRspMkenums.test_with_double_quotes 568s # tmpdir: /tmp/tmpzrmrjiex 568s # rspfile: True, mkenums: /usr/bin/glib-mkenums 568s # /tmp/tmpzrmrjiex/tmpptfiwjsr.h: 568s # typedef enum { 568s # FOO_VALUE /*< nick="eek, a comma" >*/ 568s # } Foo; 568s # 568s # /tmp/tmpzrmrjiex/tmpsg2i5wcx.template: 568s # /*** BEGIN file-header ***/ 568s # file-header 568s # /*** END file-header ***/ 568s # 568s # /*** BEGIN file-production ***/ 568s # file-production 568s # filename: @filename@ 568s # basename: @basename@ 568s # /*** END file-production ***/ 568s # 568s # /*** BEGIN enumeration-production ***/ 568s # enumeration-production 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END enumeration-production ***/ 568s # 568s # /*** BEGIN value-header ***/ 568s # value-header 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-header ***/ 568s # 568s # /*** BEGIN value-production ***/ 568s # value-production 568s # VALUENAME: @VALUENAME@ 568s # valuenick: @valuenick@ 568s # valuenum: @valuenum@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-production ***/ 568s # 568s # /*** BEGIN value-tail ***/ 568s # value-tail 568s # EnumName: @EnumName@ 568s # enum_name: @enum_name@ 568s # ENUMNAME: @ENUMNAME@ 568s # ENUMSHORT: @ENUMSHORT@ 568s # ENUMPREFIX: @ENUMPREFIX@ 568s # enumsince: @enumsince@ 568s # type: @type@ 568s # Type: @Type@ 568s # TYPE: @TYPE@ 568s # /*** END value-tail ***/ 568s # 568s # /*** BEGIN comment ***/ 568s # comment 568s # comment: @comment@ 568s # /*** END comment ***/ 568s # 568s # /*** BEGIN file-tail ***/ 568s # file-tail 568s # /*** END file-tail ***/ 568s # 568s # Response file contains: --template /tmp/tmpzrmrjiex/tmpsg2i5wcx.template /tmp/tmpzrmrjiex/tmpptfiwjsr.h 568s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzrmrjiex/tmp8d7iklyk'] 568s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 568s # Output: comment 568s # 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. 568s # 568s # 568s # file-header 568s # file-production 568s # filename: /tmp/tmpzrmrjiex/tmpptfiwjsr.h 568s # basename: tmpptfiwjsr.h 568s # enumeration-production 568s # EnumName: Foo 568s # enum_name: foo_ 568s # ENUMNAME: FOO_ 568s # ENUMSHORT: 568s # ENUMPREFIX: FOO 568s # enumsince: 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-header 568s # EnumName: Foo 568s # enum_name: foo_ 568s # ENUMNAME: FOO_ 568s # ENUMSHORT: 568s # ENUMPREFIX: FOO 568s # enumsince: 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-production 568s # VALUENAME: FOO_VALUE 568s # valuenick: eek, a comma 568s # valuenum: 0 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # value-tail 568s # EnumName: Foo 568s # enum_name: foo_ 568s # ENUMNAME: FOO_ 568s # ENUMSHORT: 568s # ENUMPREFIX: FOO 568s # enumsince: 568s # type: enum 568s # Type: Enum 568s # TYPE: ENUM 568s # file-tail 568s # 568s # comment 568s # comment: Generated data ends here 568s 1..36 568s ok - glib/mkenums.py.test 568s # Running test: glib/option-context.test 568s TAP version 14 568s # random seed: R02S16741a5f504a9b69817c99647fe9dd1b 568s 1..57 568s # Start of option tests 568s ok 1 /option/basic 568s ok 2 /option/translate 568s ok 3 /option/strict-posix 568s # Start of help tests 568s ok 4 /option/help/options 568s ok 5 /option/help/no-options 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 568s ok 6 /option/help/no-help-options 568s # End of help tests 568s # Start of group tests 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 568s ok 7 /option/group/captions 568s ok 8 /option/group/main 568s ok 9 /option/group/error-hook 568s ok 10 /option/group/parse 568s # Start of captions tests 568s # Start of subprocess tests 568s # End of subprocess tests 568s # End of captions tests 568s # End of group tests 568s # Start of restoration tests 568s ok 11 /option/restoration/int 568s ok 12 /option/restoration/string 568s ok 13 /option/restoration/boolean 568s # End of restoration tests 568s # Start of arg tests 568s ok 14 /option/arg/reverse-string 568s ok 15 /option/arg/optional-int 568s # Start of repetition tests 568s ok 16 /option/arg/repetition/int 568s ok 17 /option/arg/repetition/string 568s ok 18 /option/arg/repetition/filename 568s ok 19 /option/arg/repetition/double 568s ok 20 /option/arg/repetition/locale 568s ok 21 /option/arg/repetition/int64 568s # End of repetition tests 568s # Start of array tests 568s ok 22 /option/arg/array/string 568s # End of array tests 568s # Start of callback tests 568s ok 23 /option/arg/callback/string 568s ok 24 /option/arg/callback/count 568s ok 25 /option/arg/callback/optional1 568s ok 26 /option/arg/callback/optional2 568s ok 27 /option/arg/callback/optional3 568s ok 28 /option/arg/callback/optional4 568s ok 29 /option/arg/callback/optional5 568s ok 30 /option/arg/callback/optional6 568s ok 31 /option/arg/callback/optional7 568s ok 32 /option/arg/callback/optional8 568s # End of callback tests 568s # Start of remaining tests 568s ok 33 /option/arg/remaining/callback 568s ok 34 /option/arg/remaining/callback-false 568s ok 35 /option/arg/remaining/non-option 568s ok 36 /option/arg/remaining/separator 568s ok 37 /option/arg/remaining/array 568s # End of remaining tests 568s # Start of ignore tests 568s ok 38 /option/arg/ignore/long 568s ok 39 /option/arg/ignore/short 568s ok 40 /option/arg/ignore/arg 568s # End of ignore tests 568s # Start of rest tests 568s ok 41 /option/arg/rest/non-option 568s ok 42 /option/arg/rest/separator1 568s ok 43 /option/arg/rest/separator2 568s ok 44 /option/arg/rest/separator3 568s ok 45 /option/arg/rest/separator4 568s ok 46 /option/arg/rest/separator5 568s # End of rest tests 568s # End of arg tests 568s # Start of context tests 568s ok 47 /option/context/add 568s ok 48 /option/context/empty2 568s ok 49 /option/context/empty3 568s # End of context tests 568s # Start of bug tests 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 568s ok 50 /option/bug/unknown-short 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 568s ok 51 /option/bug/lonely-dash 568s ok 52 /option/bug/triple-dash 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 568s ok 53 /option/bug/missing-arg 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 568s ok 54 /option/bug/dash-arg 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 568s ok 55 /option/bug/short-remaining 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 568s ok 56 /option/bug/double-free 568s ok 57 /option/bug/double-zero 568s # End of bug tests 568s # End of option tests 568s ok - glib/option-context.test 568s # Running test: glib/testing.test 568s TAP version 14 568s # random seed: R02S5c213ace6c79450e1e1d978d0a0e30bd 568s 1..1 568s # Start of assert tests 568s ok 1 /assert/finalize_object 568s # Start of finalize_object tests 568s # Start of subprocess tests 568s # End of subprocess tests 568s # End of finalize_object tests 568s # End of assert tests 568s ok - glib/testing.test 568s # Running test: glib/dataset.test 568s TAP version 14 568s # random seed: R02S4a0b86df5dbf6bb49b0b757668258b81 568s 1..14 568s # Start of quark tests 568s ok 1 /quark/basic 568s ok 2 /quark/string 568s # End of quark tests 568s # Start of dataset tests 568s ok 3 /dataset/basic 568s ok 4 /dataset/id 568s ok 5 /dataset/full 568s ok 6 /dataset/foreach 568s ok 7 /dataset/destroy 568s # End of dataset tests 568s # Start of datalist tests 568s ok 8 /datalist/basic 568s ok 9 /datalist/id 568s ok 10 /datalist/recursive-clear 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 568s ok 11 /datalist/id-remove-multiple 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 568s ok 12 /datalist/id-remove-multiple-destroy-order 568s ok 13 /datalist/update-atomic 568s # Start of id-remove-multiple tests 568s ok 14 /datalist/id-remove-multiple/resize 568s # End of id-remove-multiple tests 568s # End of datalist tests 568s ok - glib/dataset.test 568s # Running test: glib/registered-type-info.test 568s TAP version 14 568s # random seed: R02S210441ebe4da32b6fd5d6c538d45fb0c 568s 1..1 568s # Start of registered-type-info tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_YX06W2/registered-type-info/boxed/.dirs/runtime 568s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 568s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 568s # Expecting CClosure to not be boxed 568s # Expecting TypeCValue to not be boxed 568s # Expecting InitiallyUnownedClass to not be boxed 568s # Expecting BookmarkFile to be boxed 568s # Expecting Closure to be boxed 568s # Expecting Object to not be boxed 568s ok 1 /registered-type-info/boxed 568s # End of registered-type-info tests 568s ok - glib/registered-type-info.test 568s # Running test: glib/types.test 568s TAP version 14 568s # random seed: R02S3e4c6a794ed8512bdafd47582f97c253 568s 1..1 568s # Start of types tests 568s ok 1 /types/basic_types 568s # End of types tests 568s ok - glib/types.test 568s # Running test: glib/unix-fd.test 568s TAP version 14 568s # random seed: R02Sf033b16f8fd3beefbee1b36991b05a91 568s 1..2 568s # Start of unix-fd tests 568s ok 1 /unix-fd/fd-list 568s ok 2 /unix-fd/scm 568s # End of unix-fd tests 568s ok - glib/unix-fd.test 568s # Running test: glib/filter-streams.test 568s TAP version 14 568s # random seed: R02S02f8d991faa698b85da9316bec32e885 568s 1..4 568s # Start of filter-stream tests 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 568s ok 1 /filter-stream/input 568s ok 2 /filter-stream/output 568s ok 3 /filter-stream/async-input 568s ok 4 /filter-stream/async-output 568s # End of filter-stream tests 568s ok - glib/filter-streams.test 568s # Running test: glib/thread-pool.test 568s TAP version 14 568s # random seed: R02S9fcccf67b1883f07004609dd4f11ab1b 568s 1..5 568s # Start of thread_pool tests 568s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 568s ok 1 /thread_pool/shared 568s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 568s ok 2 /thread_pool/exclusive 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 568s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 568s ok 3 /thread_pool/create_shared_after_exclusive 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 568s ok 4 /thread_pool/create_full 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 568s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 568s ok 5 /thread_pool/create_exclusive_after_shared 568s # End of thread_pool tests 568s ok - glib/thread-pool.test 568s # Running test: glib/charset.test 568s TAP version 14 568s # random seed: R02S6dde0586446d2f9016c6f206115eac4f 568s 1..2 568s # Start of charset tests 568s # Test 0 568s # Test 1 568s # Test 2 568s # Test 3 568s ok 1 /charset/language_names_with_category 568s ok 2 /charset/language_names_with_category_async 568s # End of charset tests 568s ok - glib/charset.test 568s # Running test: glib/cxx-20.test 568s TAP version 14 568s # random seed: R02S1c10b22c541311810b480b6185451199 568s 1..2 568s # Start of gtask tests 568s # 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. 568s ok 1 /gtask/name 568s # Start of name tests 568s # 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. 568s ok 2 /gtask/name/macro-wrapper 568s # End of name tests 568s # End of gtask tests 568s ok - glib/cxx-20.test 568s # Running test: glib/pollable.test 568s TAP version 14 568s # random seed: R02Scf6fd61c937df89eebe947a211c4a5b2 568s 1..6 568s # Start of pollable tests 568s ok 1 /pollable/converter 568s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 568s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa247e77d0 and GSocketClientAsyncConnectData 0x2aa247daad0 568s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 568s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 568s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa247e8850 for GSocketClientAsyncConnectData 0x2aa247daad0 568s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 568s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 568s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 568s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 568s ok 2 /pollable/socket 568s # Start of unix tests 568s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 568s ok 3 /pollable/unix/pipe 568s # /pollable/unix/pty summary: Test that PTYs are considered pollable 568s ok 4 /pollable/unix/pty 568s # /pollable/unix/file summary: Test that regular files are not considered pollable 568s ok 5 /pollable/unix/file 568s # /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 568s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 568s # End of unix tests 568s # End of pollable tests 568s ok - glib/pollable.test 568s # Running test: glib/object-info.test 568s TAP version 14 568s # random seed: R02S001937e94bbe68bc52763f246ea1e2c1 568s 1..2 568s # Start of object-info tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_B328W2/object-info/find-method-using-interfaces/.dirs/runtime 568s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 568s ok 1 /object-info/find-method-using-interfaces 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_B328W2/object-info/find-vfunc-using-interfaces/.dirs/runtime 568s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 568s ok 2 /object-info/find-vfunc-using-interfaces 568s # End of object-info tests 568s ok - glib/object-info.test 568s # Running test: glib/memory-input-stream.test 568s TAP version 14 568s # random seed: R02S40aa7afd008309f34d9ed32d2d9739b3 568s 1..6 568s # Start of memory-input-stream tests 568s ok 1 /memory-input-stream/read-chunks 568s ok 2 /memory-input-stream/async 568s ok 3 /memory-input-stream/seek 568s ok 4 /memory-input-stream/truncate 568s ok 5 /memory-input-stream/read-bytes 568s ok 6 /memory-input-stream/from-bytes 568s # End of memory-input-stream tests 568s ok - glib/memory-input-stream.test 568s # Running test: glib/test-printf.test 568s TAP version 14 568s # random seed: R02S0fac36e4280ccb235861041dd9479350 568s 1..22 568s # Start of snprintf tests 568s ok 1 /snprintf/retval-and-trunc 568s ok 2 /snprintf/%d 568s ok 3 /snprintf/%d-invalid 568s ok 4 /snprintf/%o 568s ok 5 /snprintf/%u 568s ok 6 /snprintf/%x 568s ok 7 /snprintf/%X 568s ok 8 /snprintf/%f 568s ok 9 /snprintf/%e 568s ok 10 /snprintf/%c 568s ok 11 /snprintf/%s 568s ok 12 /snprintf/%n 568s ok 13 /snprintf/test-percent 568s ok 14 /snprintf/test-positional-params 568s ok 15 /snprintf/test-64bit 568s # End of snprintf tests 568s # Start of printf tests 568s ok 16 /printf/test-percent 568s ok 17 /printf/test-positional-params 568s ok 18 /printf/test-64bit 568s # Start of test-64bit tests 568s # Start of subprocess tests 568s # End of subprocess tests 568s # End of test-64bit tests 568s # End of printf tests 568s # Start of sprintf tests 568s ok 19 /sprintf/test-positional-params 568s ok 20 /sprintf/upper-bound 568s # End of sprintf tests 568s # Start of vasprintf tests 568s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 568s ok 21 /vasprintf/invalid-format-placeholder 568s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 568s ok 22 /vasprintf/invalid-wide-string 568s # End of vasprintf tests 568s ok - glib/test-printf.test 568s # Running test: glib/unicode.test 568s TAP version 14 568s # random seed: R02S3de5b01a1d9839d2838ddd030c1959f1 568s 1..39 568s # Start of unicode tests 568s ok 1 /unicode/alnum 568s ok 2 /unicode/alpha 568s ok 3 /unicode/break-type 568s ok 4 /unicode/canonical-decomposition 568s ok 5 /unicode/casefold 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s # Cannot set locale to lt_LT, skipping 568s ok 6 /unicode/casemap_and_casefold 568s ok 7 /unicode/cases 568s ok 8 /unicode/character-type 568s ok 9 /unicode/cntrl 568s ok 10 /unicode/combining-class 568s ok 11 /unicode/compose 568s ok 12 /unicode/decompose 568s ok 13 /unicode/decompose-tail 568s ok 14 /unicode/defined 568s ok 15 /unicode/digit 568s ok 16 /unicode/digit-value 568s ok 17 /unicode/fully-decompose-canonical 568s ok 18 /unicode/fully-decompose-len 568s ok 19 /unicode/normalization 568s ok 20 /unicode/graph 568s # Testing script Zyyy (code 1517910393) 568s # Testing script Zinh (code 1516858984) 568s # Testing script Zmth (code 1517122664) 568s # Testing script Arab (code 1098015074) 568s # Testing script Armn (code 1098018158) 568s # Testing script Beng (code 1113943655) 568s # Testing script Bopo (code 1114599535) 568s # Testing script Cher (code 1130915186) 568s # Testing script Copt (code 1131376756) 568s # Testing script Cyrl (code 1132032620) 568s # Testing script Dsrt (code 1148416628) 568s # Testing script Deva (code 1147500129) 568s # Testing script Ethi (code 1165256809) 568s # Testing script Geor (code 1197830002) 568s # Testing script Goth (code 1198486632) 568s # Testing script Grek (code 1198679403) 568s # Testing script Gujr (code 1198877298) 568s # Testing script Guru (code 1198879349) 568s # Testing script Hani (code 1214344809) 568s # Testing script Hang (code 1214344807) 568s # Testing script Hebr (code 1214603890) 568s # Testing script Hira (code 1214870113) 568s # Testing script Knda (code 1265525857) 568s # Testing script Kana (code 1264676449) 568s # Testing script Khmr (code 1265134962) 568s # Testing script Laoo (code 1281453935) 568s # Testing script Latn (code 1281455214) 568s # Testing script Mlym (code 1298954605) 568s # Testing script Mong (code 1299148391) 568s # Testing script Mymr (code 1299803506) 568s # Testing script Ogam (code 1332175213) 568s # Testing script Ital (code 1232363884) 568s # Testing script Orya (code 1332902241) 568s # Testing script Runr (code 1383427698) 568s # Testing script Sinh (code 1399418472) 568s # Testing script Syrc (code 1400468067) 568s # Testing script Taml (code 1415671148) 568s # Testing script Telu (code 1415933045) 568s # Testing script Thaa (code 1416126817) 568s # Testing script Thai (code 1416126825) 568s # Testing script Tibt (code 1416192628) 568s # Testing script Cans (code 1130458739) 568s # Testing script Yiii (code 1500080489) 568s # Testing script Tglg (code 1416064103) 568s # Testing script Hano (code 1214344815) 568s # Testing script Buhd (code 1114990692) 568s # Testing script Tagb (code 1415669602) 568s # Testing script Brai (code 1114792297) 568s # Testing script Cprt (code 1131442804) 568s # Testing script Limb (code 1281977698) 568s # Testing script Osma (code 1332964705) 568s # Testing script Shaw (code 1399349623) 568s # Testing script Linb (code 1281977954) 568s # Testing script Tale (code 1415670885) 568s # Testing script Ugar (code 1432838514) 568s # Testing script Talu (code 1415670901) 568s # Testing script Bugi (code 1114990441) 568s # Testing script Glag (code 1198285159) 568s # Testing script Tfng (code 1415999079) 568s # Testing script Sylo (code 1400466543) 568s # Testing script Xpeo (code 1483761007) 568s # Testing script Khar (code 1265131890) 568s # Testing script Zzzz (code 1517976186) 568s # Testing script Bali (code 1113681001) 568s # Testing script Xsux (code 1483961720) 568s # Testing script Phnx (code 1349021304) 568s # Testing script Phag (code 1349017959) 568s # Testing script Nkoo (code 1315663727) 568s # Testing script Kali (code 1264675945) 568s # Testing script Lepc (code 1281716323) 568s # Testing script Rjng (code 1382706791) 568s # Testing script Sund (code 1400204900) 568s # Testing script Saur (code 1398895986) 568s # Testing script Cham (code 1130914157) 568s # Testing script Olck (code 1332503403) 568s # Testing script Vaii (code 1449224553) 568s # Testing script Cari (code 1130459753) 568s # Testing script Lyci (code 1283023721) 568s # Testing script Lydi (code 1283023977) 568s # Testing script Avst (code 1098281844) 568s # Testing script Bamu (code 1113681269) 568s # Testing script Egyp (code 1164409200) 568s # Testing script Armi (code 1098018153) 568s # Testing script Phli (code 1349020777) 568s # Testing script Prti (code 1349678185) 568s # Testing script Java (code 1247901281) 568s # Testing script Kthi (code 1265920105) 568s # Testing script Lisu (code 1281979253) 568s # Testing script Mtei (code 1299473769) 568s # Testing script Sarb (code 1398895202) 568s # Testing script Orkh (code 1332898664) 568s # Testing script Samr (code 1398893938) 568s # Testing script Lana (code 1281453665) 568s # Testing script Tavt (code 1415673460) 568s # Testing script Batk (code 1113683051) 568s # Testing script Brah (code 1114792296) 568s # Testing script Mand (code 1298230884) 568s # Testing script Cakm (code 1130457965) 568s # Testing script Merc (code 1298494051) 568s # Testing script Mero (code 1298494063) 568s # Testing script Plrd (code 1349284452) 568s # Testing script Shrd (code 1399353956) 568s # Testing script Sora (code 1399812705) 568s # Testing script Takr (code 1415670642) 568s # Testing script Bass (code 1113682803) 568s # Testing script Aghb (code 1097295970) 568s # Testing script Dupl (code 1148547180) 568s # Testing script Elba (code 1164730977) 568s # Testing script Gran (code 1198678382) 568s # Testing script Khoj (code 1265135466) 568s # Testing script Sind (code 1399418468) 568s # Testing script Lina (code 1281977953) 568s # Testing script Mahj (code 1298229354) 568s # Testing script Mani (code 1298230889) 568s # Testing script Mend (code 1298493028) 568s # Testing script Modi (code 1299145833) 568s # Testing script Mroo (code 1299345263) 568s # Testing script Nbat (code 1315070324) 568s # Testing script Narb (code 1315009122) 568s # Testing script Perm (code 1348825709) 568s # Testing script Hmng (code 1215131239) 568s # Testing script Palm (code 1348562029) 568s # Testing script Pauc (code 1348564323) 568s # Testing script Phlp (code 1349020784) 568s # Testing script Sidd (code 1399415908) 568s # Testing script Tirh (code 1416196712) 568s # Testing script Wara (code 1466004065) 568s # Testing script Ahom (code 1097363309) 568s # Testing script Hluw (code 1215067511) 568s # Testing script Hatr (code 1214346354) 568s # Testing script Mult (code 1299541108) 568s # Testing script Hung (code 1215655527) 568s # Testing script Sgnw (code 1399287415) 568s # Testing script Adlm (code 1097100397) 568s # Testing script Bhks (code 1114139507) 568s # Testing script Marc (code 1298231907) 568s # Testing script Newa (code 1315272545) 568s # Testing script Osge (code 1332963173) 568s # Testing script Tang (code 1415671399) 568s # Testing script Gonm (code 1198485101) 568s # Testing script Nshu (code 1316186229) 568s # Testing script Soyo (code 1399814511) 568s # Testing script Zanb (code 1516334690) 568s # Testing script Dogr (code 1148151666) 568s # Testing script Gong (code 1198485095) 568s # Testing script Rohg (code 1383032935) 568s # Testing script Maka (code 1298230113) 568s # Testing script Medf (code 1298490470) 568s # Testing script Sogo (code 1399809903) 568s # Testing script Sogd (code 1399809892) 568s # Testing script Elym (code 1164736877) 568s # Testing script Nand (code 1315008100) 568s # Testing script Hmnp (code 1215131248) 568s # Testing script Wcho (code 1466132591) 568s # Testing script Chrs (code 1130918515) 568s # Testing script Diak (code 1147756907) 568s # Testing script Kits (code 1265202291) 568s # Testing script Yezi (code 1499822697) 568s # Testing script Cpmn (code 1131441518) 568s # Testing script Ougr (code 1333094258) 568s # Testing script Tnsa (code 1416524641) 568s # Testing script Toto (code 1416590447) 568s # Testing script Vith (code 1449751656) 568s # Testing script Kawi (code 1264678761) 568s # Testing script Nagm (code 1315006317) 568s ok 21 /unicode/iso15924 568s ok 22 /unicode/lower 568s ok 23 /unicode/mark 568s ok 24 /unicode/mirror 568s ok 25 /unicode/print 568s ok 26 /unicode/punctuation 568s ok 27 /unicode/script 568s ok 28 /unicode/space 568s ok 29 /unicode/strdown 568s ok 30 /unicode/strup 568s ok 31 /unicode/turkish-strupdown 568s ok 32 /unicode/title 568s ok 33 /unicode/upper 568s ok 34 /unicode/validate 568s ok 35 /unicode/wide 568s ok 36 /unicode/xdigit 568s ok 37 /unicode/xdigit-value 568s ok 38 /unicode/zero-width 568s ok 39 /unicode/normalize 568s # End of unicode tests 568s ok - glib/unicode.test 568s # Running test: glib/thumbnail-verification.test 568s TAP version 14 568s # random seed: R02S7953d77da0ba9dd4fca0fa639f40c85c 568s 1..1 568s # Start of png-thumbs tests 568s ok 1 /png-thumbs/validity 568s # End of png-thumbs tests 568s ok - glib/thumbnail-verification.test 568s # Running test: glib/utils.test 568s TAP version 14 568s # random seed: R02S104eddb4422d231b4f3d493caa6f8249 568s 1..40 568s # Start of utils tests 568s ok 1 /utils/language-names 568s ok 2 /utils/locale-variants 568s ok 3 /utils/version 568s ok 4 /utils/appname 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 568s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 568s ok 5 /utils/prgname-thread-safety 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 568s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 568s ok 6 /utils/tmpdir 568s ok 7 /utils/basic_bits 568s ok 8 /utils/bits 568s ok 9 /utils/swap 568s ok 10 /utils/find-program 568s ok 11 /utils/find-program-for-path 568s ok 12 /utils/debug 568s ok 13 /utils/codeset 568s ok 14 /utils/codeset2 568s ok 15 /utils/console-charset 568s ok 16 /utils/gettext 568s ok 17 /utils/username 568s ok 18 /utils/realname 568s ok 19 /utils/hostname 568s ok 20 /utils/xdgdirs 568s ok 21 /utils/specialdir 568s # NAME: Ubuntu 568s ok 22 /utils/os-info 568s ok 23 /utils/clear-pointer 568s ok 24 /utils/clear-pointer-cast 568s ok 25 /utils/take-pointer 568s ok 26 /utils/clear-source 568s ok 27 /utils/misc-mem 568s # /utils/aligned-mem summary: Aligned memory allocator 568s # Alignment must not be zero 568s # Alignment must be a power of two 568s # Alignment must be a multiple of sizeof(void*) 568s ok 28 /utils/aligned-mem 568s # /utils/free-sized summary: Check that g_free_sized() works 568s ok 29 /utils/free-sized 568s ok 30 /utils/nullify 568s ok 31 /utils/atexit 568s ok 32 /utils/check-setuid 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 568s ok 33 /utils/int-limits 568s ok 34 /utils/clear-list 568s ok 35 /utils/clear-slist 568s # Start of specialdir tests 568s ok 36 /utils/specialdir/desktop 568s # End of specialdir tests 568s # Start of clear-pointer tests 568s ok 37 /utils/clear-pointer/side-effects 568s # End of clear-pointer tests 568s # Start of aligned-mem tests 568s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 568s ok 38 /utils/aligned-mem/alignment 568s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 568s ok 39 /utils/aligned-mem/zeroed 568s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 568s ok 40 /utils/aligned-mem/free-sized 568s # Start of subprocess tests 568s # End of subprocess tests 568s # End of aligned-mem tests 568s # End of utils tests 568s ok - glib/utils.test 568s # Running test: glib/642026.test 568s TAP version 14 568s # random seed: R02Sdb10c48579ec39620e0d1b680d8b3930 568s 1..1 568s # Start of glib tests 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 568s ok 1 /glib/642026 568s # End of glib tests 568s ok - glib/642026.test 568s # Running test: glib/signal-handler.test 568s TAP version 14 568s # random seed: R02S892d0760a991da41af995c3143e25f10 568s 1..7 568s # Start of signal tests 568s # Start of handler tests 568s # min perf: connected 1 handlers in 0.000 seconds 568s ok 1 /signal/handler/connect-many 568s # min perf: disconnected 1 handlers in 0.000 seconds 568s ok 2 /signal/handler/disconnect-many-ordered 568s # min perf: disconnected 1 handlers in 0.000 seconds 568s ok 3 /signal/handler/disconnect-many-inverse 568s # min perf: disconnected 1 handlers in 0.000 seconds 568s ok 4 /signal/handler/disconnect-many-random 568s # min perf: disconnected 1 handlers in 0.000 seconds 568s ok 5 /signal/handler/disconnect-2-signals 568s # min perf: disconnected 1 handlers in 0.000 seconds 568s ok 6 /signal/handler/disconnect-2-objects 568s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 568s ok 7 /signal/handler/block-many 568s # End of handler tests 568s # End of signal tests 568s ok - glib/signal-handler.test 568s # Running test: glib/simple-proxy.test 568s TAP version 14 568s # random seed: R02S3b75897c0039bc7db446d1afba684078 568s 1..3 568s # Start of static-proxy tests 568s ok 1 /static-proxy/uri 568s ok 2 /static-proxy/socks 568s ok 3 /static-proxy/ignore 568s # End of static-proxy tests 568s ok - glib/simple-proxy.test 568s # Running test: glib/g-icon.test 568s TAP version 14 568s # random seed: R02S0a79d0664b813926de5c347c599d94da 568s 1..6 568s # Start of icons tests 568s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 568s ok 1 /icons/to-string 568s ok 2 /icons/serialize 568s ok 3 /icons/themed 568s ok 4 /icons/emblemed 568s ok 5 /icons/file 568s ok 6 /icons/bytes 568s # End of icons tests 568s ok - glib/g-icon.test 568s # Running test: glib/atomic-c-11.test 568s TAP version 14 568s # random seed: R02S52c085ac29b2c19c914729a3b50a27d2 568s 1..2 568s # Start of atomic tests 568s ok 1 /atomic/types 568s ok 2 /atomic/threaded 568s # End of atomic tests 568s ok - glib/atomic-c-11.test 568s # Running test: glib/utf8-misc.test 568s TAP version 14 568s # random seed: R02S86c670ffc15d70c2df980e73444f5065 568s 1..7 568s # Start of utf8 tests 568s ok 1 /utf8/strlen 568s ok 2 /utf8/strncpy 568s ok 3 /utf8/strrchr 568s ok 4 /utf8/reverse 568s ok 5 /utf8/substring 568s ok 6 /utf8/make-valid 568s ok 7 /utf8/truncate-middle 568s # End of utf8 tests 568s ok - glib/utf8-misc.test 568s # Running test: glib/utils-c-17.test 568s TAP version 14 568s # random seed: R02S1b05f6194437cb77b2c2379b08a5fe24 568s 1..40 568s # Start of utils tests 568s ok 1 /utils/language-names 568s ok 2 /utils/locale-variants 568s ok 3 /utils/version 568s ok 4 /utils/appname 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 568s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 568s ok 5 /utils/prgname-thread-safety 568s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 568s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 568s ok 6 /utils/tmpdir 568s ok 7 /utils/basic_bits 568s ok 8 /utils/bits 568s ok 9 /utils/swap 568s ok 10 /utils/find-program 568s ok 11 /utils/find-program-for-path 568s ok 12 /utils/debug 568s ok 13 /utils/codeset 568s ok 14 /utils/codeset2 568s ok 15 /utils/console-charset 568s ok 16 /utils/gettext 568s ok 17 /utils/username 568s ok 18 /utils/realname 568s ok 19 /utils/hostname 568s ok 20 /utils/xdgdirs 568s ok 21 /utils/specialdir 568s # NAME: Ubuntu 568s ok 22 /utils/os-info 568s ok 23 /utils/clear-pointer 568s ok 24 /utils/clear-pointer-cast 568s ok 25 /utils/take-pointer 568s ok 26 /utils/clear-source 568s ok 27 /utils/misc-mem 568s # /utils/aligned-mem summary: Aligned memory allocator 568s # Alignment must not be zero 568s # Alignment must be a power of two 568s # Alignment must be a multiple of sizeof(void*) 568s ok 28 /utils/aligned-mem 568s # /utils/free-sized summary: Check that g_free_sized() works 568s ok 29 /utils/free-sized 568s ok 30 /utils/nullify 568s ok 31 /utils/atexit 568s ok 32 /utils/check-setuid 568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 568s ok 33 /utils/int-limits 568s ok 34 /utils/clear-list 568s ok 35 /utils/clear-slist 568s # Start of specialdir tests 568s ok 36 /utils/specialdir/desktop 568s # End of specialdir tests 568s # Start of clear-pointer tests 568s ok 37 /utils/clear-pointer/side-effects 568s # End of clear-pointer tests 568s # Start of aligned-mem tests 568s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 568s ok 38 /utils/aligned-mem/alignment 568s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 568s ok 39 /utils/aligned-mem/zeroed 568s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 568s ok 40 /utils/aligned-mem/free-sized 568s # Start of subprocess tests 568s # End of subprocess tests 568s # End of aligned-mem tests 568s # End of utils tests 568s ok - glib/utils-c-17.test 568s # Running test: glib/memory-monitor-portal.test 568s TAP version 13 568s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 568s 1..1 568s ok - glib/memory-monitor-portal.test 568s # Running test: glib/contexts.test 568s TAP version 14 568s # random seed: R02S1a7d5cc530f59d68e780021dccc88b7a 568s 1..5 568s # Start of gio tests 568s # Start of contexts tests 568s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 568s ok 1 /gio/contexts/thread-independence 568s ok 2 /gio/contexts/context-independence 568s # Start of context-specific tests 568s ok 3 /gio/contexts/context-specific/identity 569s ok 4 /gio/contexts/context-specific/emit 569s ok 5 /gio/contexts/context-specific/emit-and-unref 569s # End of context-specific tests 569s # End of contexts tests 569s # End of gio tests 569s ok - glib/contexts.test 569s # Running test: glib/live-g-file.test 569s TAP version 14 569s # random seed: R02Sdc9bf236bd7ce6341a447f0940354a29 569s 1..13 569s # Start of live-g-file tests 569s # Cleaning target testing structure in 'testdir_live-g-file'... 569s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 569s ok 1 /live-g-file/prep_clean_structure 569s # 569s # Going to create testing structure in 'testdir_live-g-file'... 569s # Creating directory 'dir1'... 569s # Creating directory 'dir1/subdir'... 569s # Creating directory 'dir2'... 569s # Creating directory 'dir-target'... 569s # Creating directory 'dir_no-access'... 569s # Creating directory 'dir_no-write'... 569s # Creating file 'target-file'... 569s # Creating file 'normal_file'... 569s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 569s # Creating file 'executable_file'... 569s # Creating file 'private_file'... 569s # Creating file 'normal_file2'... 569s # Creating file 'readonly_file'... 569s # Creating file 'UTF_pr?i?lis? z'... 569s # Creating directory 'dir_pr?i?lis? z'... 569s # Creating symlink 'lost_symlink' --> 'nowhere'... 569s # Creating directory 'dir_hidden'... 569s # Creating file 'dir_hidden/.a-hidden-file'... 569s # Creating file 'dir_hidden/file-in-.hidden1'... 569s # Creating file 'dir_hidden/file-in-.hidden2'... 569s # Creating pattern file... 569s # done. 569s ok 2 /live-g-file/create_structure 569s # Testing sample structure in 'testdir_live-g-file'... 569s # Testing file 'dir1'... 569s # Testing file 'dir1/subdir'... 569s # Testing file 'dir2'... 569s # Testing file 'dir-target'... 569s # Testing file 'dir_no-access'... 569s # Testing file 'dir_no-write'... 569s # Testing file 'target-file'... 569s # Testing file 'normal_file'... 569s # Testing file 'normal_file-symlink'... 569s # Testing file 'executable_file'... 569s # Testing file 'private_file'... 569s # Testing file 'normal_file2'... 569s # Testing file 'readonly_file'... 569s # Testing file 'UTF_pr?i?lis? z'... 569s # Testing file 'dir_pr?i?lis? z'... 569s # Testing file 'lost_symlink'... 569s # Testing file 'dir_hidden'... 569s # Testing file 'dir_hidden/.a-hidden-file'... 569s # Testing file 'dir_hidden/file-in-.hidden1'... 569s # Testing file 'dir_hidden/file-in-.hidden2'... 569s # Testing pattern file... 569s # read 65536 bytes, total = 65536 of 65536. 569s ok 3 /live-g-file/test_initial_structure 569s # Traversing through the sample structure in 'testdir_live-g-file'... 569s # Found file dir1, relative to root: dir1 569s # Found file subdir, relative to root: dir1/subdir 569s # Found file dir2, relative to root: dir2 569s # Found file dir-target, relative to root: dir-target 569s # Found file dir_no-access, relative to root: dir_no-access 569s # Found file dir_no-write, relative to root: dir_no-write 569s # Found file target-file, relative to root: target-file 569s # Found file normal_file, relative to root: normal_file 569s # Found file normal_file-symlink, relative to root: normal_file-symlink 569s # Found file executable_file, relative to root: executable_file 569s # Found file private_file, relative to root: private_file 569s # Found file normal_file2, relative to root: normal_file2 569s # Found file readonly_file, relative to root: readonly_file 569s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 569s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 569s # Found file lost_symlink, relative to root: lost_symlink 569s # Found file dir_hidden, relative to root: dir_hidden 569s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 569s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 569s # Found file .hidden, relative to root: dir_hidden/.hidden 569s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 569s # Found file pattern_file, relative to root: pattern_file 569s ok 4 /live-g-file/test_traverse_structure 569s # Test enumerate 'testdir_live-g-file'... 569s # Testing file 'dir_no-access' 569s # Testing file 'normal_file' 569s # Testing file 'normal_file-symlink' 569s # Testing file 'not_exists' 569s # Testing file 'not_exists' 569s # Testing file 'not_exists2' 569s # Testing file 'not_exists3' 569s # Testing file 'not_exists4' 569s # Testing file 'dir_no-execute/file' 569s ok 5 /live-g-file/test_enumerate 569s # test_open: 'dir1' 569s # test_open: 'dir_no-access' 569s # test_open: 'target-file' 569s # test_open: 'normal_file-symlink' 569s # test_open: 'executable_file' 569s # test_open: 'private_file' 569s # test_open: 'readonly_file' 569s # test_open: 'UTF_pr?i?lis? z' 569s # test_open: 'pattern_file' 569s # test_open: 'not_exists' 569s # test_open: 'dir_no-execute/file' 569s # test_open: 'lost_symlink' 569s ok 6 /live-g-file/test_open 569s # test_create: 'dir1' 569s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir1?: Is a directory 569s # test_create: 'dir1/subdir' 569s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir1/subdir?: Is a directory 569s # test_create: 'dir2' 569s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir2?: File exists 569s # test_create: 'normal_file' 569s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/normal_file?: File exists 569s # test_create: 'executable_file' 569s # test_create: 'private_file' 569s # test_create: 'normal_file2' 569s # test_create: 'UTF_pr?i?lis? z' 569s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 569s # test_create: 'dir_pr?i?lis? z' 569s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 569s # test_create: 'pattern_file' 569s # test_create: 'not_exists2' 569s # test_create: 'not_exists3' 569s # test_create: 'not_exists4' 569s ok 7 /live-g-file/test_create 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> 'dir-target' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> '.' 569s # res = 0, error code 2 = Target file exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> 'target-file' 569s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> 'not_exists' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir2' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> 'dir-target' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> '.' 569s # res = 0, error code 2 = Target file exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> 'target-file' 569s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/dir-target?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> 'not_exists' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> 'dir_no-access' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'dir-target' --> 'dir_no-write' 569s # res = 0, error code 25 = Can?t recursively copy directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/target-file?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/target-file?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'target-file' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> '.' 569s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/normal_file-symlink: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> 'target-file' 569s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 569s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 569s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 569s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/executable_file?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/executable_file?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'executable_file' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/private_file?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/private_file?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/private_file?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'private_file' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/normal_file2?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/normal_file2?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'normal_file2' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> '.' 569s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/pattern_file?: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> 'target-file' 569s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/pattern_file?: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> 'not_exists' 569s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> 'dir_no-access' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'pattern_file' --> 'dir_no-write' 569s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'dir-target' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> '.' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'target-file' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'not_exists' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'dir_no-access' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'dir_no-write' 569s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists?: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'not_exists' --> 'dir-target' 569s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> 'dir-target' 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> '.' 569s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/lost_symlink: File exists 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> 'target-file' 569s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/target-file/lost_symlink: Not a directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> 'not_exists' 569s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 569s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 569s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 569s ok 8 /live-g-file/test_copy_move 569s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir1 569s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir1: Directory not empty 569s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir2 569s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir2: No such file or directory 569s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/executable_file 569s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/readonly_file 569s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_pr?i?lis? z 569s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists 569s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists: No such file or directory 569s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists 569s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/not_exists: No such file or directory 569s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-execute/file 569s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/dir_no-execute/file: No such file or directory 569s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-6L5DX2/testdir_live-g-file/lost_symlink 569s ok 9 /live-g-file/test_delete 569s # We do not have CAP_DAC_OVERRIDE or equivalent 569s ok 10 /live-g-file/test_make_directory_with_parents 569s # Cleaning target testing structure in 'testdir_live-g-file'... 569s # deleting 'dir1' 569s # deleting 'subdir' 569s # deleting 'dir-target' 569s # deleting 'dir2' 569s # deleting 'target-file' 569s # deleting 'normal_file-symlink' 569s # deleting 'pattern_file' 569s # deleting 'executable_file' 569s # deleting 'private_file' 569s # deleting 'normal_file2' 569s # deleting 'UTF_pr?i?lis? z' 569s # deleting 'lost_symlink' 569s # deleting 'dir_no-access' 569s # deleting 'dir_no-write' 569s # deleting 'target-file' 569s # deleting 'normal_file' 569s # deleting 'normal_file-symlink' 569s # deleting 'executable_file~' 569s # deleting 'private_file' 569s # deleting 'normal_file2~' 569s # deleting 'a' 569s # deleting 'UTF_pr?i?lis? z' 569s # deleting 'dir_hidden' 569s # deleting '.a-hidden-file' 569s # deleting 'file-in-.hidden1' 569s # deleting '.hidden' 569s # deleting 'file-in-.hidden2' 569s # deleting 'pattern_file' 569s # deleting 'normal_file2' 569s # deleting 'not_exists2' 569s # deleting 'not_exists3' 569s # deleting 'not_exists4' 569s ok 11 /live-g-file/final_clean 569s # Start of test_unix_is_mountpoint tests 569s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 569s ok 13 /live-g-file/test_unix_is_mountpoint/proc 569s # End of test_unix_is_mountpoint tests 569s # End of live-g-file tests 569s ok - glib/live-g-file.test 569s # Running test: glib/qdata.test 569s TAP version 14 569s # random seed: R02S9d99be0b83381b9dac6d7bf9a9994f25 569s 1..2 569s # Start of qdata tests 569s ok 1 /qdata/threaded 569s ok 2 /qdata/dup 569s # End of qdata tests 569s ok - glib/qdata.test 569s # Running test: glib/static-link.test 569s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 569s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 569s and make sure you have glib build dependencies installed, including 569s meson. 569s ok # SKIP - glib/static-link.test 569s # Running test: glib/642026-ec.test 569s TAP version 14 569s # random seed: R02S56367fc2cb77a809d9cdd84a4175da96 569s 1..1 569s # Start of glib tests 569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 569s ok 1 /glib/642026 569s # End of glib tests 569s ok - glib/642026-ec.test 569s # Running test: glib/gdbus-exit-on-close.test 569s TAP version 14 569s # random seed: R02Sfcc1da9ae53a2b8c17ebd3815538cdf3 569s 1..4 569s # Start of gdbus tests 569s # Start of exit-on-close tests 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/default/.dirs/runtime 569s ok 1 /gdbus/exit-on-close/default 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/true/.dirs/runtime 569s ok 2 /gdbus/exit-on-close/true 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/false/.dirs/runtime 569s ok 3 /gdbus/exit-on-close/false 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7X68W2/gdbus/exit-on-close/we-close/.dirs/runtime 569s ok 4 /gdbus/exit-on-close/we-close 569s # Start of default tests 569s # End of default tests 569s # Start of true tests 569s # End of true tests 569s # Start of false tests 569s # End of false tests 569s # Start of we-close tests 569s # End of we-close tests 569s # End of exit-on-close tests 569s # End of gdbus tests 569s ok - glib/gdbus-exit-on-close.test 569s # Running test: glib/refcount-macro.test 569s TAP version 14 569s # random seed: R02Sd200aa5095ec40efbba074f40b77eb37 569s 1..4 569s # Start of refcount tests 569s ok 1 /refcount/grefcount 569s ok 2 /refcount/gatomicrefcount 569s # Start of grefcount tests 569s ok 3 /refcount/grefcount/saturation 569s # End of grefcount tests 569s # Start of gatomicrefcount tests 569s ok 4 /refcount/gatomicrefcount/saturation 569s # End of gatomicrefcount tests 569s # End of refcount tests 569s ok - glib/refcount-macro.test 569s # Running test: glib/tls-interaction.test 569s TAP version 14 569s # random seed: R02S7ce50653f16c79e4e7c4739051a0e21a 569s 1..42 569s # Start of tls-interaction tests 569s # Start of ask-password tests 569s # Start of invoke-with-loop tests 569s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 569s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 569s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 569s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 569s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 569s # End of invoke-with-loop tests 569s # Start of invoke-without-loop tests 569s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 569s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 569s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 569s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 569s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 569s # End of invoke-without-loop tests 569s # Start of invoke-in-loop tests 569s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 569s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 569s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 569s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 569s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 569s # End of invoke-in-loop tests 569s # Start of sync tests 569s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 569s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 569s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 569s # End of sync tests 569s # Start of async tests 569s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 569s ok 20 /tls-interaction/ask-password/async/async-implementation-success 569s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 569s # End of async tests 569s # End of ask-password tests 569s # Start of request-certificate tests 569s # Start of invoke-with-loop tests 569s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 569s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 569s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 569s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 569s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 569s # End of invoke-with-loop tests 569s # Start of invoke-without-loop tests 569s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 569s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 569s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 569s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 569s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 569s # End of invoke-without-loop tests 569s # Start of invoke-in-loop tests 569s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 569s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 569s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 569s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 569s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 569s # End of invoke-in-loop tests 569s # Start of sync tests 569s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 569s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 569s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 569s # End of sync tests 569s # Start of async tests 569s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 569s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 569s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 569s # End of async tests 569s # End of request-certificate tests 569s # End of tls-interaction tests 569s ok - glib/tls-interaction.test 569s # Running test: glib/properties.test 569s TAP version 14 569s # random seed: R02S3063a165a6fc939b471fcd94a4f04766 569s 1..13 569s # Start of properties tests 569s ok 1 /properties/install 569s ok 2 /properties/install-many 569s ok 3 /properties/notify 569s ok 4 /properties/notify-queue 569s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 569s ok 5 /properties/construct 569s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 569s # Test g_object_get_property with an initialized value 569s # Test g_object_get_property with an uninitialized value 569s # Test g_object_get_property with a transformable value 569s ok 6 /properties/get-property 569s ok 7 /properties/testv_with_no_properties 569s ok 8 /properties/testv_with_valid_properties 569s ok 9 /properties/testv_with_invalid_property_type 569s ok 10 /properties/testv_with_invalid_property_names 569s ok 11 /properties/testv_getv 569s ok 12 /properties/testv_notify_queue 569s # Start of set-property tests 569s # Start of variant tests 569s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 569s ok 13 /properties/set-property/variant/floating 569s # End of variant tests 569s # End of set-property tests 569s # End of properties tests 569s ok - glib/properties.test 569s # Running test: glib/cxx-17.test 569s TAP version 14 569s # random seed: R02S5195a4f801d3a78997412966a37c022c 569s 1..2 569s # Start of gtask tests 569s # 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. 569s ok 1 /gtask/name 569s # Start of name tests 569s # 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. 569s ok 2 /gtask/name/macro-wrapper 569s # End of name tests 569s # End of gtask tests 569s ok - glib/cxx-17.test 569s # Running test: glib/portal-support-flatpak-full.test 569s TAP version 14 569s # random seed: R02Sa9efad95f2521c282de36b3e39896d45 569s 1..1 569s # Start of portal-support tests 569s # Start of flatpak tests 569s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/home 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/cache 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/system-config2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/config 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/system-data2 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/data 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/state 569s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/runtime 569s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_5V74W2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 569s ok 1 /portal-support/flatpak/full 569s # End of flatpak tests 569s # End of portal-support tests 569s ok - glib/portal-support-flatpak-full.test 569s # Running test: glib/rwlock.test 569s TAP version 14 569s # random seed: R02S50c03a534ede340ce87b94f323d1acfd 569s 1..8 569s # Start of thread tests 569s ok 1 /thread/rwlock1 569s ok 2 /thread/rwlock2 569s ok 3 /thread/rwlock3 569s ok 4 /thread/rwlock4 569s ok 5 /thread/rwlock5 569s ok 6 /thread/rwlock6 569s # Executing: glib/rwlock.test 572s ok 7 /thread/rwlock7 572s # slow test /thread/rwlock7 executed in 2.61 secs 572s ok 8 /thread/rwlock8 572s # End of thread tests 572s ok - glib/rwlock.test 572s # Running test: glib/guuid.test 572s TAP version 14 572s # random seed: R02S29bb92ca8b50db03566f70bd818fde0b 572s 1..2 572s # Start of uuid tests 572s ok 1 /uuid/string 572s ok 2 /uuid/random 572s # End of uuid tests 572s ok - glib/guuid.test 572s # Running test: glib/base64.test 572s TAP version 14 572s # random seed: R02Sfc65e8fc0fb8d741113f1072179925b7 572s 1..28 572s # Start of base64 tests 572s ok 1 /base64/encode 572s ok 2 /base64/decode 572s ok 3 /base64/decode-inplace 572s ok 4 /base64/encode-decode 572s # Start of full tests 572s ok 5 /base64/full/1 572s ok 6 /base64/full/2 572s ok 7 /base64/full/3 572s ok 8 /base64/full/4 572s # End of full tests 572s # Start of encode tests 572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 572s ok 9 /base64/encode/empty 572s # Start of incremental tests 572s # Start of small-block tests 572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 572s ok 10 /base64/encode/incremental/small-block/1 572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 572s ok 11 /base64/encode/incremental/small-block/2 572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 572s ok 12 /base64/encode/incremental/small-block/3 572s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 572s ok 13 /base64/encode/incremental/small-block/4 572s # End of small-block tests 572s # End of incremental tests 572s # End of encode tests 572s # Start of incremental tests 572s # Start of nobreak tests 572s ok 14 /base64/incremental/nobreak/1 572s ok 15 /base64/incremental/nobreak/2 572s ok 16 /base64/incremental/nobreak/3 572s ok 17 /base64/incremental/nobreak/4-a 572s ok 18 /base64/incremental/nobreak/4-b 572s ok 19 /base64/incremental/nobreak/4-c 572s # End of nobreak tests 572s # Start of break tests 572s ok 20 /base64/incremental/break/1 572s ok 21 /base64/incremental/break/2 572s ok 22 /base64/incremental/break/3 572s # End of break tests 572s # Start of smallblock tests 572s ok 23 /base64/incremental/smallblock/1 572s ok 24 /base64/incremental/smallblock/2 572s ok 25 /base64/incremental/smallblock/3 572s ok 26 /base64/incremental/smallblock/4 572s # End of smallblock tests 572s # End of incremental tests 572s # Start of decode tests 572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 572s ok 27 /base64/decode/empty 572s # End of decode tests 572s # Start of encode-decode tests 572s # Vector 0: 572s # Vector 1: f 572s # Vector 2: fo 572s # Vector 3: foo 572s # Vector 4: foob 572s # Vector 5: fooba 572s # Vector 6: foobar 572s ok 28 /base64/encode-decode/rfc4648 572s # End of encode-decode tests 572s # End of base64 tests 572s ok - glib/base64.test 572s # Running test: glib/protocol.test 572s TAP version 14 572s # random seed: R02S5e9bb9b2adde37928c0a7e3deb55b225 572s 1..9 572s # Start of glib tests 572s # Start of testing tests 572s # Start of protocol tests 572s ok 1 /glib/testing/protocol/debug 572s ok 2 /glib/testing/protocol/info 572s ok 3 /glib/testing/protocol/message 572s ok 4 /glib/testing/protocol/warning 572s ok 5 /glib/testing/protocol/critical 572s ok 6 /glib/testing/protocol/error 572s ok 7 /glib/testing/protocol/gtest-message 572s ok 8 /glib/testing/protocol/test-message 572s ok 9 /glib/testing/protocol/test-error 572s # End of protocol tests 572s # End of testing tests 572s # End of glib tests 572s ok - glib/protocol.test 572s # Running test: glib/credentials.test 572s TAP version 14 572s # random seed: R02S5d0c155da4be999462c479ba9ea107fd 572s 1..1 572s # Start of credentials tests 572s # GCredentials:linux-ucred:pid=15147,uid=1000,gid=1000 572s # GCredentials:linux-ucred:pid=15147,uid=0,gid=1000 572s ok 1 /credentials/basic 572s # End of credentials tests 572s ok - glib/credentials.test 572s # Running test: glib/closure-refcount.test 572s TAP version 14 572s # random seed: R02S9b6b95f2a943c1807061d86fc0329190 572s 1..1 572s # Start of closure tests 572s # Init 0x2aa0b70a1d0 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from thread2 572s # Yielding from main thread 572s # Yielding from main thread 572s # Yielding from thread1 572s # Yielding from main thread 572s # Yielding from thread2 572s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from thread2 573s # Yielding from main thread 573s # Yielding from thread1 573s # Yielding from main thread 573s # Yielding from thread2 573s # Yielding from thread1 573s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from thread1 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from main thread 574s # Yielding from thread1 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from main thread 574s # Yielding from thread2 574s # Yielding from thread1 574s # Yielding from thread2 574s # Stopping 574s # Stopped 574s ok 1 /closure/refcount 574s # slow test /closure/refcount executed in 2.21 secs 574s # End of closure tests 574s ok - glib/closure-refcount.test 574s # Running test: glib/buffered-input-stream.test 574s TAP version 14 574s # random seed: R02Sd2fa213bae574f9b8412a9ebe8aeb3d0 574s 1..10 574s # Start of buffered-input-stream tests 574s ok 1 /buffered-input-stream/peek 574s ok 2 /buffered-input-stream/peek-buffer 574s ok 3 /buffered-input-stream/set-buffer-size 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 574s ok 4 /buffered-input-stream/read-byte 574s ok 5 /buffered-input-stream/read 574s ok 6 /buffered-input-stream/read-async 574s ok 7 /buffered-input-stream/skip 574s ok 8 /buffered-input-stream/skip-async 574s ok 9 /buffered-input-stream/seek 574s # End of buffered-input-stream tests 574s # Start of filter-input-stream tests 574s ok 10 /filter-input-stream/close 574s # End of filter-input-stream tests 574s ok - glib/buffered-input-stream.test 574s # Running test: glib/mainloop.test 574s TAP version 14 574s # random seed: R02Sa6cdbb58c3f9511431b67e2f26f1e2a5 574s 1..45 574s # Start of maincontext tests 574s ok 1 /maincontext/basic 574s # Add same-priority sources: 12 574s # Find each source: 0 574s # Remove in random order: 24 574s ok 2 /maincontext/nsources_same_priority 574s # Add different-priority sources: 17 574s # Find each source: 1 574s # Remove in random order: 40 574s ok 3 /maincontext/nsources_different_priority 574s # Add sources from threads: 37 574s # Remove sources from threads: 19 574s ok 4 /maincontext/nsources_threadpool 574s ok 5 /maincontext/source_finalization 574s # /maincontext/idle-once summary: Test g_idle_add_once() works 574s ok 6 /maincontext/idle-once 574s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 574s ok 7 /maincontext/timeout-once 574s # Start of source_finalization_from_source tests 574s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 8 /maincontext/source_finalization_from_source/0 574s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 9 /maincontext/source_finalization_from_source/1 574s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 10 /maincontext/source_finalization_from_source/2 574s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 11 /maincontext/source_finalization_from_source/3 574s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 12 /maincontext/source_finalization_from_source/4 574s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 13 /maincontext/source_finalization_from_source/5 574s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 14 /maincontext/source_finalization_from_source/6 574s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 15 /maincontext/source_finalization_from_source/7 574s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 16 /maincontext/source_finalization_from_source/8 574s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 574s ok 17 /maincontext/source_finalization_from_source/9 574s # End of source_finalization_from_source tests 574s # Start of source_finalization_from_dispatch tests 574s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 574s ok 18 /maincontext/source_finalization_from_dispatch/0 574s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 574s ok 19 /maincontext/source_finalization_from_dispatch/1 574s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 574s ok 20 /maincontext/source_finalization_from_dispatch/2 574s # End of source_finalization_from_dispatch tests 574s # End of maincontext tests 574s # Start of mainloop tests 574s ok 21 /mainloop/basic 574s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 574s ok 23 /mainloop/priorities 574s # Executing: glib/mainloop.test 575s ok 24 /mainloop/invoke 575s # slow test /mainloop/invoke executed in 0.50 secs 576s ok 25 /mainloop/child_sources 576s # slow test /mainloop/child_sources executed in 1.19 secs 578s ok 26 /mainloop/recursive_child_sources 578s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 578s ok 27 /mainloop/recursive_loop_child_sources 578s ok 28 /mainloop/swapping_child_sources 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 578s ok 29 /mainloop/blocked_child_sources 579s ok 30 /mainloop/source_time 579s # slow test /mainloop/source_time executed in 1.00 secs 579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 579s ok 31 /mainloop/overflow 579s # Executing: glib/mainloop.test 580s ok 32 /mainloop/ready-time 580s # slow test /mainloop/ready-time executed in 0.50 secs 580s ok 33 /mainloop/wakeup 580s ok 34 /mainloop/remove-invalid 580s ok 35 /mainloop/unref-while-pending 580s ok 36 /mainloop/unix-fd 580s ok 37 /mainloop/unix-fd-source 580s ok 38 /mainloop/source-unix-fd-api 580s ok 39 /mainloop/wait 580s ok 40 /mainloop/unix-file-poll 580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 580s ok 41 /mainloop/unix-fd-priority 580s ok 42 /mainloop/nfds 580s ok 43 /mainloop/steal-fd 580s # Start of ownerless-polling tests 580s ok 44 /mainloop/ownerless-polling/attach-first 580s ok 45 /mainloop/ownerless-polling/pop-first 580s # End of ownerless-polling tests 580s # End of mainloop tests 580s ok - glib/mainloop.test 580s # Running test: glib/resolver-parsing.test 580s TAP version 14 580s # random seed: R02S8a335d6eec58f4a8613bf844e0fae126 580s 1..21 580s # Start of gresolver tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/invalid-header/.dirs/runtime 580s ok 1 /gresolver/invalid-header 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/record-ownership/.dirs/runtime 580s ok 2 /gresolver/record-ownership 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/unknown-record-type/.dirs/runtime 580s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 580s ok 3 /gresolver/unknown-record-type 580s # Start of mx tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/valid/.dirs/runtime 580s ok 4 /gresolver/mx/valid 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/.dirs/runtime 580s ok 5 /gresolver/mx/invalid 580s # Start of invalid tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short/.dirs/runtime 580s ok 6 /gresolver/mx/invalid/too-short 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/mx/invalid/too-short2/.dirs/runtime 580s ok 7 /gresolver/mx/invalid/too-short2 580s # End of invalid tests 580s # End of mx tests 580s # Start of ns tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/valid/.dirs/runtime 580s ok 8 /gresolver/ns/valid 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/ns/invalid/.dirs/runtime 580s ok 9 /gresolver/ns/invalid 580s # End of ns tests 580s # Start of soa tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/valid/.dirs/runtime 580s ok 10 /gresolver/soa/valid 580s # Start of invalid tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/mname/.dirs/runtime 580s ok 11 /gresolver/soa/invalid/mname 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/rname/.dirs/runtime 580s ok 12 /gresolver/soa/invalid/rname 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/soa/invalid/too-short/.dirs/runtime 580s ok 13 /gresolver/soa/invalid/too-short 580s # End of invalid tests 580s # End of soa tests 580s # Start of srv tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/valid/.dirs/runtime 580s ok 14 /gresolver/srv/valid 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/.dirs/runtime 580s ok 15 /gresolver/srv/invalid 580s # Start of invalid tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short/.dirs/runtime 580s ok 16 /gresolver/srv/invalid/too-short 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/srv/invalid/too-short2/.dirs/runtime 580s ok 17 /gresolver/srv/invalid/too-short2 580s # End of invalid tests 580s # End of srv tests 580s # Start of txt tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/.dirs/runtime 580s ok 18 /gresolver/txt/valid 580s # Start of valid tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/valid/multiple-strings/.dirs/runtime 580s ok 19 /gresolver/txt/valid/multiple-strings 580s # End of valid tests 580s # Start of invalid tests 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/empty/.dirs/runtime 580s ok 20 /gresolver/txt/invalid/empty 580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/home 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/cache 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/system-config2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/config 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/system-data2 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/data 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/state 580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_2R4IX2/gresolver/txt/invalid/overflow/.dirs/runtime 580s ok 21 /gresolver/txt/invalid/overflow 580s # End of invalid tests 580s # End of txt tests 580s # End of gresolver tests 580s ok - glib/resolver-parsing.test 580s # Running test: glib/basics-gobject.test 580s TAP version 14 580s # random seed: R02Se29c5eb18c8c39160ebf11c6487716cb 580s 1..1 580s # Start of gobject tests 580s # private data during initialization: 54321 == 54321 580s # MAIN: emit test-signal: 580s # ::test_signal default_handler called 580s # ::test_signal default_handler called 580s # ::test_signal default_handler called 580s # signal return: "" 580s # MAIN: call iface print-string on test and derived object: 580s # Iface-FOO: "iface-string-from-test-type" from 0x2aa337627a0 580s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa337626c0 580s # chaining: 580s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa337626c0 580s # private data after initialization: 54321 == 54321 580s ok 1 /gobject/basics 580s # End of gobject tests 580s ok - glib/basics-gobject.test 580s # Running test: glib/tree.test 580s TAP version 14 580s # random seed: R02Sbeccede575a19d593c9ba6497166c967 580s 1..7 580s # Start of tree tests 580s ok 1 /tree/search 580s ok 2 /tree/remove 580s ok 3 /tree/destroy 580s ok 4 /tree/traverse 580s ok 5 /tree/insert 580s ok 6 /tree/bounds 580s ok 7 /tree/remove-all 580s # End of tree tests 580s ok - glib/tree.test 580s # Running test: glib/genmarshal.py.test 580s TAP version 13 580s ok 1 __main__.TestGenmarshal.test_empty_list 580s # tmpdir: /tmp/tmp8guks226 580s # genmarshal: /usr/bin/glib-genmarshal 580s # /tmp/tmp8guks226/tmp6907tt3d.list: 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8guks226/tmp6907tt3d.list', '--header', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # 580s # #include 580s # 580s # G_BEGIN_DECLS 580s # 580s # 580s # G_END_DECLS 580s # 580s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8guks226/tmp6907tt3d.list', '--body', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #include 580s # 580s # #ifdef G_ENABLE_DEBUG 580s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 580s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 580s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 580s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 580s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 580s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 580s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 580s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 580s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 580s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 580s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 580s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 580s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 580s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 580s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 580s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 580s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 580s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 580s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 580s # #else /* !G_ENABLE_DEBUG */ 580s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 580s # * Do not access GValues directly in your code. Instead, use the 580s # * g_value_get_*() functions 580s # */ 580s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 580s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 580s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 580s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 580s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 580s # #endif /* !G_ENABLE_DEBUG */ 580s ok 2 __main__.TestGenmarshal.test_help 580s # tmpdir: /tmp/tmpa50gp8wh 580s # genmarshal: /usr/bin/glib-genmarshal 580s # Running: ['/usr/bin/glib-genmarshal', '--help'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 580s # [--internal] [--valist-marshallers] [-v] 580s # [--g-fatal-warnings] [--include-header [HEADER]] 580s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 580s # [--prototypes] [--header] [--body] 580s # [--stdinc | --nostdinc] [--quiet | --verbose] 580s # [FILE ...] 580s # 580s # Generate signal marshallers for GObject 580s # 580s # positional arguments: 580s # FILE Files with lists of marshallers to generate, or "-" 580s # for standard input 580s # 580s # options: 580s # -h, --help show this help message and exit 580s # --prefix STRING Specify marshaller prefix 580s # --output FILE Write output into the specified file 580s # --skip-source Skip source location comments 580s # --internal Mark generated functions as internal 580s # --valist-marshallers Generate va_list marshallers 580s # -v, --version Print version information, and exit 580s # --g-fatal-warnings Make warnings fatal 580s # --include-header [HEADER] 580s # Include the specified header in the body 580s # --pragma-once Use "pragma once" as the inclusion guard 580s # -D CPP_DEFINES Pre-processor define 580s # -U CPP_UNDEFINES Pre-processor undefine 580s # --prototypes Generate the marshallers prototype in the C code 580s # --header Generate C headers 580s # --body Generate C code 580s # --stdinc Include standard marshallers 580s # --nostdinc Use standard marshallers 580s # --quiet Only print warnings and errors 580s # --verbose Be verbose, and include debugging information 580s ok 3 __main__.TestGenmarshal.test_no_args 580s # tmpdir: /tmp/tmppamvyqim 580s # genmarshal: /usr/bin/glib-genmarshal 580s # Running: ['/usr/bin/glib-genmarshal'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # Output: 580s ok 4 __main__.TestGenmarshal.test_void_boolean 580s # tmpdir: /tmp/tmplbrh75c8 580s # genmarshal: /usr/bin/glib-genmarshal 580s # /tmp/tmplbrh75c8/tmp1onpxjrb.list: VOID:BOOLEAN 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplbrh75c8/tmp1onpxjrb.list', '--header', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # 580s # #include 580s # 580s # G_BEGIN_DECLS 580s # 580s # /* VOID:BOOLEAN (/tmp/tmplbrh75c8/tmp1onpxjrb.list:1) */ 580s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 580s # 580s # 580s # G_END_DECLS 580s # 580s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplbrh75c8/tmp1onpxjrb.list', '--body', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #include 580s # 580s # #ifdef G_ENABLE_DEBUG 580s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 580s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 580s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 580s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 580s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 580s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 580s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 580s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 580s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 580s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 580s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 580s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 580s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 580s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 580s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 580s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 580s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 580s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 580s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 580s # #else /* !G_ENABLE_DEBUG */ 580s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 580s # * Do not access GValues directly in your code. Instead, use the 580s # * g_value_get_*() functions 580s # */ 580s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 580s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 580s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 580s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 580s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 580s # #endif /* !G_ENABLE_DEBUG */ 580s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 580s # tmpdir: /tmp/tmp_jn56y2f 580s # genmarshal: /usr/bin/glib-genmarshal 580s # /tmp/tmp_jn56y2f/tmp7zg3bins.list: VOID:BOOLEAN,INT64 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_jn56y2f/tmp7zg3bins.list', '--header', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 580s # 580s # #include 580s # 580s # G_BEGIN_DECLS 580s # 580s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_jn56y2f/tmp7zg3bins.list:1) */ 580s # extern 580s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 580s # GValue *return_value, 580s # guint n_param_values, 580s # const GValue *param_values, 580s # gpointer invocation_hint, 580s # gpointer marshal_data); 580s # 580s # 580s # G_END_DECLS 580s # 580s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 580s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_jn56y2f/tmp7zg3bins.list', '--body', '--quiet'] 580s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 580s # 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. */ 580s # #include 580s # 580s # #ifdef G_ENABLE_DEBUG 580s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 580s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 580s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 580s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 580s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 580s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 580s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 580s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 580s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 580s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 580s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 580s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 580s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 580s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 580s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 580s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 580s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 580s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 580s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 580s # #else /* !G_ENABLE_DEBUG */ 580s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 580s # * Do not access GValues directly in your code. Instead, use the 580s # * g_value_get_*() functions 580s # */ 580s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 580s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 580s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 580s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 580s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 580s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 580s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 580s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 580s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 580s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 580s # #endif /* !G_ENABLE_DEBUG */ 580s # 580s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_jn56y2f/tmp7zg3bins.list:1) */ 580s # void 580s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 580s # GValue *return_value G_GNUC_UNUSED, 580s # guint n_param_values, 580s # const GValue *param_values, 580s # gpointer invocation_hint G_GNUC_UNUSED, 580s # gpointer marshal_data) 580s # { 580s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 580s # gboolean arg1, 580s # gint64 arg2, 580s # gpointer data2); 580s # GCClosure *cc = (GCClosure *) closure; 580s # gpointer data1, data2; 580s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 580s # 580s # g_return_if_fail (n_param_values == 3); 580s # 580s # if (G_CCLOSURE_SWAP_DATA (closure)) 580s # { 580s # data1 = closure->data; 580s # data2 = g_value_peek_pointer (param_values + 0); 580s # } 580s # else 580s # { 580s # data1 = g_value_peek_pointer (param_values + 0); 580s # data2 = closure->data; 580s # } 580s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 580s # 580s # callback (data1, 580s # g_marshal_value_peek_boolean (param_values + 1), 580s # g_marshal_value_peek_int64 (param_values + 2), 580s # data2); 580s # } 581s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 581s # tmpdir: /tmp/tmpihfy7a5e 581s # genmarshal: /usr/bin/glib-genmarshal 581s # /tmp/tmpihfy7a5e/tmpkc6l04cq.list: VOID:PARAM 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpihfy7a5e/tmpkc6l04cq.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # 581s # G_BEGIN_DECLS 581s # 581s # /* VOID:PARAM (/tmp/tmpihfy7a5e/tmpkc6l04cq.list:1) */ 581s # extern 581s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 581s # GValue *return_value, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint, 581s # gpointer marshal_data); 581s # extern 581s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 581s # GValue *return_value, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types); 581s # 581s # 581s # G_END_DECLS 581s # 581s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpihfy7a5e/tmpkc6l04cq.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifdef G_ENABLE_DEBUG 581s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 581s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 581s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 581s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 581s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 581s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 581s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 581s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 581s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 581s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 581s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 581s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 581s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 581s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 581s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 581s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 581s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 581s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 581s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 581s # #else /* !G_ENABLE_DEBUG */ 581s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 581s # * Do not access GValues directly in your code. Instead, use the 581s # * g_value_get_*() functions 581s # */ 581s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 581s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 581s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 581s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 581s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 581s # #endif /* !G_ENABLE_DEBUG */ 581s # 581s # /* VOID:PARAM (/tmp/tmpihfy7a5e/tmpkc6l04cq.list:1) */ 581s # void 581s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint G_GNUC_UNUSED, 581s # gpointer marshal_data) 581s # { 581s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__PARAM callback; 581s # 581s # g_return_if_fail (n_param_values == 2); 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = g_value_peek_pointer (param_values + 0); 581s # } 581s # else 581s # { 581s # data1 = g_value_peek_pointer (param_values + 0); 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # g_marshal_value_peek_param (param_values + 1), 581s # data2); 581s # } 581s # 581s # void 581s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types) 581s # { 581s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__PARAM callback; 581s # gpointer arg0; 581s # va_list args_copy; 581s # 581s # va_copy (args_copy, args); 581s # arg0 = (gpointer) va_arg (args_copy, gpointer); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # arg0 = g_param_spec_ref (arg0); 581s # va_end (args_copy); 581s # 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = instance; 581s # } 581s # else 581s # { 581s # data1 = instance; 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # arg0, 581s # data2); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # g_param_spec_unref (arg0); 581s # } 581s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 581s # tmpdir: /tmp/tmpas81xuhx 581s # genmarshal: /usr/bin/glib-genmarshal 581s # /tmp/tmpas81xuhx/tmpiucdbfo5.list: VOID:STRING 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpas81xuhx/tmpiucdbfo5.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # 581s # G_BEGIN_DECLS 581s # 581s # /* VOID:STRING (/tmp/tmpas81xuhx/tmpiucdbfo5.list:1) */ 581s # extern 581s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 581s # GValue *return_value, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint, 581s # gpointer marshal_data); 581s # extern 581s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 581s # GValue *return_value, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types); 581s # 581s # 581s # G_END_DECLS 581s # 581s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpas81xuhx/tmpiucdbfo5.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifdef G_ENABLE_DEBUG 581s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 581s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 581s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 581s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 581s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 581s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 581s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 581s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 581s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 581s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 581s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 581s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 581s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 581s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 581s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 581s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 581s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 581s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 581s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 581s # #else /* !G_ENABLE_DEBUG */ 581s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 581s # * Do not access GValues directly in your code. Instead, use the 581s # * g_value_get_*() functions 581s # */ 581s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 581s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 581s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 581s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 581s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 581s # #endif /* !G_ENABLE_DEBUG */ 581s # 581s # /* VOID:STRING (/tmp/tmpas81xuhx/tmpiucdbfo5.list:1) */ 581s # void 581s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint G_GNUC_UNUSED, 581s # gpointer marshal_data) 581s # { 581s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__STRING callback; 581s # 581s # g_return_if_fail (n_param_values == 2); 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = g_value_peek_pointer (param_values + 0); 581s # } 581s # else 581s # { 581s # data1 = g_value_peek_pointer (param_values + 0); 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # g_marshal_value_peek_string (param_values + 1), 581s # data2); 581s # } 581s # 581s # void 581s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types) 581s # { 581s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__STRING callback; 581s # gpointer arg0; 581s # va_list args_copy; 581s # 581s # va_copy (args_copy, args); 581s # arg0 = (gpointer) va_arg (args_copy, gpointer); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # arg0 = g_strdup (arg0); 581s # va_end (args_copy); 581s # 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = instance; 581s # } 581s # else 581s # { 581s # data1 = instance; 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # arg0, 581s # data2); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # g_free (arg0); 581s # } 581s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 581s # tmpdir: /tmp/tmpu462jefd 581s # genmarshal: /usr/bin/glib-genmarshal 581s # /tmp/tmpu462jefd/tmpt057dh6e.list: VOID:VARIANT 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu462jefd/tmpt057dh6e.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 581s # 581s # G_BEGIN_DECLS 581s # 581s # /* VOID:VARIANT (/tmp/tmpu462jefd/tmpt057dh6e.list:1) */ 581s # extern 581s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 581s # GValue *return_value, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint, 581s # gpointer marshal_data); 581s # extern 581s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 581s # GValue *return_value, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types); 581s # 581s # 581s # G_END_DECLS 581s # 581s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 581s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu462jefd/tmpt057dh6e.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # 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. */ 581s # #ifdef G_ENABLE_DEBUG 581s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 581s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 581s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 581s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 581s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 581s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 581s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 581s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 581s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 581s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 581s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 581s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 581s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 581s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 581s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 581s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 581s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 581s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 581s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 581s # #else /* !G_ENABLE_DEBUG */ 581s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 581s # * Do not access GValues directly in your code. Instead, use the 581s # * g_value_get_*() functions 581s # */ 581s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 581s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 581s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 581s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 581s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 581s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 581s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 581s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 581s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 581s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 581s # #endif /* !G_ENABLE_DEBUG */ 581s # 581s # /* VOID:VARIANT (/tmp/tmpu462jefd/tmpt057dh6e.list:1) */ 581s # void 581s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # guint n_param_values, 581s # const GValue *param_values, 581s # gpointer invocation_hint G_GNUC_UNUSED, 581s # gpointer marshal_data) 581s # { 581s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__VARIANT callback; 581s # 581s # g_return_if_fail (n_param_values == 2); 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = g_value_peek_pointer (param_values + 0); 581s # } 581s # else 581s # { 581s # data1 = g_value_peek_pointer (param_values + 0); 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # g_marshal_value_peek_variant (param_values + 1), 581s # data2); 581s # } 581s # 581s # void 581s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 581s # GValue *return_value G_GNUC_UNUSED, 581s # gpointer instance, 581s # va_list args, 581s # gpointer marshal_data, 581s # int n_params, 581s # GType *param_types) 581s # { 581s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 581s # gpointer arg1, 581s # gpointer data2); 581s # GCClosure *cc = (GCClosure *) closure; 581s # gpointer data1, data2; 581s # GMarshalFunc_VOID__VARIANT callback; 581s # gpointer arg0; 581s # va_list args_copy; 581s # 581s # va_copy (args_copy, args); 581s # arg0 = (gpointer) va_arg (args_copy, gpointer); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # arg0 = g_variant_ref_sink (arg0); 581s # va_end (args_copy); 581s # 581s # 581s # if (G_CCLOSURE_SWAP_DATA (closure)) 581s # { 581s # data1 = closure->data; 581s # data2 = instance; 581s # } 581s # else 581s # { 581s # data1 = instance; 581s # data2 = closure->data; 581s # } 581s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 581s # 581s # callback (data1, 581s # arg0, 581s # data2); 581s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 581s # g_variant_unref (arg0); 581s # } 581s 1..8 581s ok - glib/genmarshal.py.test 581s # Running test: glib/gdbus-names.test 581s TAP version 14 581s # random seed: R02S2b056933c1fe445f6888b40a9e0702d7 581s 1..10 581s # Start of gdbus tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/validate-names/.dirs/runtime 581s ok 1 /gdbus/validate-names 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-own-name/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 2 /gdbus/bus-own-name 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 3 /gdbus/bus-watch-name 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 4 /gdbus/bus-watch-name-auto-start 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s dbus-daemon[15236]: [session uid=1000 pid=15236] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=15227 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 581s # Acquired a message bus connection 581s dbus-daemon[15236]: [session uid=1000 pid=15236] Successfully activated service 'org.gtk.GDBus.FakeService' 581s # Acquired the name org.gtk.GDBus.FakeService 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 6 /gdbus/bus-watch-name-closures 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 7 /gdbus/bus-watch-name-closures-auto-start 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-watch-different-context/.dirs/runtime 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 8 /gdbus/bus-watch-different-context 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/bus-unwatch-early/.dirs/runtime 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 581s ok 9 /gdbus/bus-unwatch-early 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_C7Z7W2/gdbus/escape-object-path/.dirs/runtime 581s ok 10 /gdbus/escape-object-path 581s # End of gdbus tests 581s ok - glib/gdbus-names.test 581s # Running test: glib/utils-c-89.test 581s TAP version 14 581s # random seed: R02S1b64eb2575780e84fa7246322c59d8c5 581s 1..40 581s # Start of utils tests 581s ok 1 /utils/language-names 581s ok 2 /utils/locale-variants 581s ok 3 /utils/version 581s ok 4 /utils/appname 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 581s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 581s ok 5 /utils/prgname-thread-safety 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 581s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 581s ok 6 /utils/tmpdir 581s ok 7 /utils/basic_bits 581s ok 8 /utils/bits 581s ok 9 /utils/swap 581s ok 10 /utils/find-program 581s ok 11 /utils/find-program-for-path 581s ok 12 /utils/debug 581s ok 13 /utils/codeset 581s ok 14 /utils/codeset2 581s ok 15 /utils/console-charset 581s ok 16 /utils/gettext 581s ok 17 /utils/username 581s ok 18 /utils/realname 581s ok 19 /utils/hostname 581s ok 20 /utils/xdgdirs 581s ok 21 /utils/specialdir 581s # NAME: Ubuntu 581s ok 22 /utils/os-info 581s ok 23 /utils/clear-pointer 581s ok 24 /utils/clear-pointer-cast 581s ok 25 /utils/take-pointer 581s ok 26 /utils/clear-source 581s ok 27 /utils/misc-mem 581s # /utils/aligned-mem summary: Aligned memory allocator 581s # Alignment must not be zero 581s # Alignment must be a power of two 581s # Alignment must be a multiple of sizeof(void*) 581s ok 28 /utils/aligned-mem 581s # /utils/free-sized summary: Check that g_free_sized() works 581s ok 29 /utils/free-sized 581s ok 30 /utils/nullify 581s ok 31 /utils/atexit 581s ok 32 /utils/check-setuid 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 581s ok 33 /utils/int-limits 581s ok 34 /utils/clear-list 581s ok 35 /utils/clear-slist 581s # Start of specialdir tests 581s ok 36 /utils/specialdir/desktop 581s # End of specialdir tests 581s # Start of clear-pointer tests 581s ok 37 /utils/clear-pointer/side-effects 581s # End of clear-pointer tests 581s # Start of aligned-mem tests 581s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 581s ok 38 /utils/aligned-mem/alignment 581s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 581s ok 39 /utils/aligned-mem/zeroed 581s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 581s ok 40 /utils/aligned-mem/free-sized 581s # Start of subprocess tests 581s # End of subprocess tests 581s # End of aligned-mem tests 581s # End of utils tests 581s ok - glib/utils-c-89.test 581s # Running test: glib/hook.test 581s TAP version 14 581s # random seed: R02S08e4326687802f93d8e62a62ec73ca28 581s 1..2 581s # Start of hook tests 581s ok 1 /hook/basics 581s ok 2 /hook/corner-cases 581s # End of hook tests 581s ok - glib/hook.test 581s # Running test: glib/signals.test 581s TAP version 14 581s # random seed: R02Sa4da71041d772ac20e4d25973316f673 581s 1..31 581s # Start of gobject tests 581s # Start of signals tests 581s ok 1 /gobject/signals/all-types 581s ok 2 /gobject/signals/variant 581s ok 3 /gobject/signals/destroy-target-object 581s ok 4 /gobject/signals/generic-marshaller-1 581s ok 5 /gobject/signals/generic-marshaller-2 581s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 581s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 581s ok 8 /gobject/signals/generic-marshaller-int-return 581s ok 9 /gobject/signals/generic-marshaller-uint-return 581s ok 10 /gobject/signals/generic-marshaller-interface-return 581s ok 11 /gobject/signals/custom-marshaller 581s ok 12 /gobject/signals/connect 581s ok 13 /gobject/signals/emission-hook 581s ok 14 /gobject/signals/emitv 581s ok 15 /gobject/signals/accumulator 581s # Signal: accumulator-class-first 581s # Signal: accumulator-class-last 581s # Signal: accumulator-class-cleanup 581s # Signal: accumulator-class-first-last 581s # Signal: accumulator-class-first-last-cleanup 581s # Signal: accumulator-class-last-cleanup 581s ok 16 /gobject/signals/accumulator-class 581s ok 17 /gobject/signals/introspection 581s ok 18 /gobject/signals/block-handler 581s ok 19 /gobject/signals/stop-emission 581s ok 20 /gobject/signals/invocation-hint 581s ok 21 /gobject/signals/test-disconnection-wrong-object 581s ok 22 /gobject/signals/clear-signal-handler 581s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 581s ok 23 /gobject/signals/lookup 581s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 581s ok 24 /gobject/signals/parse-name 581s ok 25 /gobject/signals/is-valid-name 581s ok 26 /gobject/signals/weak-ref-disconnect 581s # Start of lookup tests 581s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 581s ok 27 /gobject/signals/lookup/invalid 581s # End of lookup tests 581s # Start of parse-name tests 581s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 581s # Parser input: 581s # Parser input: 7zip 581s # Parser input: invalid:signal 581s # Parser input: simple-detailed:: 581s # Parser input: simple-detailed: 581s # Parser input: : 581s # Parser input: :: 581s # Parser input: :valid-detail 581s # Parser input: ::valid-detail 581s ok 28 /gobject/signals/parse-name/invalid 581s # End of parse-name tests 581s # Start of invalid-name tests 581s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 581s ok 29 /gobject/signals/invalid-name/colon 581s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 581s ok 30 /gobject/signals/invalid-name/first-char 581s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 581s ok 31 /gobject/signals/invalid-name/empty 581s # End of invalid-name tests 581s # End of signals tests 581s # End of gobject tests 581s ok - glib/signals.test 581s # Running test: glib/cxx-98.test 581s TAP version 14 581s # random seed: R02S394858e436800babfe05b5f3dcda2f54 581s 1..2 581s # Start of gtask tests 581s # 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. 581s ok 1 /gtask/name 581s # Start of name tests 581s # 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. 581s ok 2 /gtask/name/macro-wrapper 581s # End of name tests 581s # End of gtask tests 581s ok - glib/cxx-98.test 581s # Running test: glib/utils-c-99.test 581s TAP version 14 581s # random seed: R02S0695845f0cff9d6de41d037cce0c79d6 581s 1..40 581s # Start of utils tests 581s ok 1 /utils/language-names 581s ok 2 /utils/locale-variants 581s ok 3 /utils/version 581s ok 4 /utils/appname 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 581s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 581s ok 5 /utils/prgname-thread-safety 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 581s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 581s ok 6 /utils/tmpdir 581s ok 7 /utils/basic_bits 581s ok 8 /utils/bits 581s ok 9 /utils/swap 581s ok 10 /utils/find-program 581s ok 11 /utils/find-program-for-path 581s ok 12 /utils/debug 581s ok 13 /utils/codeset 581s ok 14 /utils/codeset2 581s ok 15 /utils/console-charset 581s ok 16 /utils/gettext 581s ok 17 /utils/username 581s ok 18 /utils/realname 581s ok 19 /utils/hostname 581s ok 20 /utils/xdgdirs 581s ok 21 /utils/specialdir 581s # NAME: Ubuntu 581s ok 22 /utils/os-info 581s ok 23 /utils/clear-pointer 581s ok 24 /utils/clear-pointer-cast 581s ok 25 /utils/take-pointer 581s ok 26 /utils/clear-source 581s ok 27 /utils/misc-mem 581s # /utils/aligned-mem summary: Aligned memory allocator 581s # Alignment must not be zero 581s # Alignment must be a power of two 581s # Alignment must be a multiple of sizeof(void*) 581s ok 28 /utils/aligned-mem 581s # /utils/free-sized summary: Check that g_free_sized() works 581s ok 29 /utils/free-sized 581s ok 30 /utils/nullify 581s ok 31 /utils/atexit 581s ok 32 /utils/check-setuid 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 581s ok 33 /utils/int-limits 581s ok 34 /utils/clear-list 581s ok 35 /utils/clear-slist 581s # Start of specialdir tests 581s ok 36 /utils/specialdir/desktop 581s # End of specialdir tests 581s # Start of clear-pointer tests 581s ok 37 /utils/clear-pointer/side-effects 581s # End of clear-pointer tests 581s # Start of aligned-mem tests 581s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 581s ok 38 /utils/aligned-mem/alignment 581s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 581s ok 39 /utils/aligned-mem/zeroed 581s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 581s ok 40 /utils/aligned-mem/free-sized 581s # Start of subprocess tests 581s # End of subprocess tests 581s # End of aligned-mem tests 581s # End of utils tests 581s ok - glib/utils-c-99.test 581s # Running test: glib/date.test 581s TAP version 14 581s # random seed: R02S0a44fc4b5e007f6443f303255b2c45ab 581s 1..121 581s # Start of date tests 581s ok 1 /date/basic 581s ok 2 /date/empty 581s ok 3 /date/dmy 581s ok 4 /date/julian 581s ok 5 /date/compare 581s ok 6 /date/dates 581s ok 7 /date/strftime 581s ok 8 /date/two-digit-years 581s ok 9 /date/parse 581s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 581s ok 11 /date/month_substring 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 581s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 581s ok 13 /date/clamp 581s ok 14 /date/order 581s ok 15 /date/copy 581s # Vector 0: 0000-00-00, invalid 581s # Vector 1: 0001-01-01, valid 581s # Vector 2: 0000-01-01, invalid 581s # Vector 3: 2000-02-30, invalid 581s # Vector 4: 2000-02-29, valid 581s # Vector 5: 2001-02-29, invalid 581s # Vector 6: 65535-01-01, valid 581s ok 16 /date/valid-dmy 581s # Start of parse tests 581s # Test 0 581s # Test 1 581s ok 17 /date/parse/invalid 581s # End of parse tests 581s # Start of year tests 581s ok 18 /date/year/1 581s ok 19 /date/year/2 581s ok 20 /date/year/3 581s ok 21 /date/year/4 581s ok 22 /date/year/5 581s ok 23 /date/year/6 581s ok 24 /date/year/7 581s ok 25 /date/year/8 581s ok 26 /date/year/9 581s ok 27 /date/year/10 581s ok 28 /date/year/11 581s ok 29 /date/year/12 581s ok 30 /date/year/13 581s ok 31 /date/year/14 581s ok 32 /date/year/98 581s ok 33 /date/year/99 581s ok 34 /date/year/100 581s ok 35 /date/year/101 581s ok 36 /date/year/102 581s ok 37 /date/year/103 581s ok 38 /date/year/397 581s ok 39 /date/year/398 581s ok 40 /date/year/399 581s ok 41 /date/year/400 581s ok 42 /date/year/401 581s ok 43 /date/year/402 581s ok 44 /date/year/403 581s ok 45 /date/year/404 581s ok 46 /date/year/405 581s ok 47 /date/year/406 581s ok 48 /date/year/1598 581s ok 49 /date/year/1599 581s ok 50 /date/year/1600 581s ok 51 /date/year/1601 581s ok 52 /date/year/1602 581s ok 53 /date/year/1650 581s ok 54 /date/year/1651 581s ok 55 /date/year/1897 581s ok 56 /date/year/1898 581s ok 57 /date/year/1899 581s ok 58 /date/year/1900 581s ok 59 /date/year/1901 581s ok 60 /date/year/1902 581s ok 61 /date/year/1903 581s ok 62 /date/year/1961 581s ok 63 /date/year/1962 581s ok 64 /date/year/1963 581s ok 65 /date/year/1964 581s ok 66 /date/year/1965 581s ok 67 /date/year/1967 581s ok 68 /date/year/1968 581s ok 69 /date/year/1969 581s ok 70 /date/year/1970 581s ok 71 /date/year/1971 581s ok 72 /date/year/1972 581s ok 73 /date/year/1973 581s ok 74 /date/year/1974 581s ok 75 /date/year/1975 581s ok 76 /date/year/1976 581s ok 77 /date/year/1977 581s ok 78 /date/year/1978 581s ok 79 /date/year/1979 581s ok 80 /date/year/1980 581s ok 81 /date/year/1981 581s ok 82 /date/year/1982 581s ok 83 /date/year/1983 581s ok 84 /date/year/1984 581s ok 85 /date/year/1985 581s ok 86 /date/year/1986 581s ok 87 /date/year/1987 581s ok 88 /date/year/1988 581s ok 89 /date/year/1989 581s ok 90 /date/year/1990 581s ok 91 /date/year/1991 581s ok 92 /date/year/1992 581s ok 93 /date/year/1993 581s ok 94 /date/year/1994 581s ok 95 /date/year/1995 581s ok 96 /date/year/1996 581s ok 97 /date/year/1997 581s ok 98 /date/year/1998 581s ok 99 /date/year/1999 581s ok 100 /date/year/2000 581s ok 101 /date/year/2001 581s ok 102 /date/year/2002 581s ok 103 /date/year/2003 581s ok 104 /date/year/2004 581s ok 105 /date/year/2005 581s ok 106 /date/year/2006 581s ok 107 /date/year/2007 581s ok 108 /date/year/2008 581s ok 109 /date/year/2009 581s ok 110 /date/year/2010 581s ok 111 /date/year/2011 581s ok 112 /date/year/2012 581s ok 113 /date/year/3000 581s ok 114 /date/year/3001 581s ok 115 /date/year/3002 581s ok 116 /date/year/3998 581s ok 117 /date/year/3999 581s ok 118 /date/year/4000 581s ok 119 /date/year/4001 581s ok 120 /date/year/4002 581s ok 121 /date/year/4003 581s # End of year tests 581s # End of date tests 581s ok - glib/date.test 581s # Running test: glib/macros-c-11.test 581s TAP version 14 581s # random seed: R02S16e9e7b3052e80826c1f42cbd4073de6 581s 1..4 581s # Start of C tests 581s ok 1 /C/standard-11 581s # End of C tests 581s # Start of alignof tests 581s ok 2 /alignof/fallback 581s # End of alignof tests 581s # Start of assert tests 581s ok 3 /assert/static 581s # End of assert tests 581s # Start of struct tests 581s ok 4 /struct/sizeof_member 581s # End of struct tests 581s ok - glib/macros-c-11.test 581s # Running test: glib/g-file-info.test 581s TAP version 14 581s # random seed: R02S683e9d693949465d695a031b085b1e5b 581s 1..6 581s # Start of g-file-info tests 581s ok 1 /g-file-info/test_g_file_info 581s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 581s ok 2 /g-file-info/xattrs 581s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 581s ok 3 /g-file-info/set-modified-date-time-precision 581s # Start of test_g_file_info tests 581s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 581s ok 4 /g-file-info/test_g_file_info/modification-time 581s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 581s ok 5 /g-file-info/test_g_file_info/access-time 581s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 581s ok 6 /g-file-info/test_g_file_info/creation-time 581s # End of test_g_file_info tests 581s # End of g-file-info tests 581s ok - glib/g-file-info.test 581s # Running test: glib/mapping.test 581s TAP version 14 581s # random seed: R02S6585c60d2e3249b0f2e69edcb267491c 581s 1..3 581s # Start of mapping tests 581s # test_mapping: ok 581s ok 1 /mapping/flags 581s ok 2 /mapping/private 581s # test_child_private: child spawned 581s # Subtest: /usr/libexec/installed-tests/glib/mapping 581s # random seed: R02S1721a23beffc471cede0ef29229909dd 581s # test_child_private: received first child signal 581s # test_child_private: received parent signal 581s # Child exited with status 0 581s # test_child_private: received second child signal 581s ok 3 /mapping/private-child 581s # End of mapping tests 581s ok - glib/mapping.test 581s # Running test: glib/keyfile.test 581s TAP version 14 581s # random seed: R02Sea35f59edee60c3ee87a363f0fca955d 581s 1..36 581s # Start of keyfile tests 581s ok 1 /keyfile/line-ends 581s ok 2 /keyfile/whitespace 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 581s ok 3 /keyfile/comments 581s ok 4 /keyfile/listing 581s ok 5 /keyfile/string 581s ok 6 /keyfile/boolean 581s ok 7 /keyfile/number 581s ok 8 /keyfile/locale-string 581s ok 9 /keyfile/lists 581s ok 10 /keyfile/lists-set-get 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 581s ok 11 /keyfile/group-remove 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 581s ok 12 /keyfile/key-remove 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 581s ok 13 /keyfile/groups 581s ok 14 /keyfile/duplicate-keys 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 581s ok 15 /keyfile/duplicate-groups 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 581s ok 16 /keyfile/duplicate-groups2 581s ok 17 /keyfile/group-names 581s ok 18 /keyfile/key-names 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 581s ok 19 /keyfile/reload 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 581s ok 20 /keyfile/int64 581s ok 21 /keyfile/load 581s ok 22 /keyfile/save 581s ok 23 /keyfile/load-fail 581s ok 24 /keyfile/non-utf8 581s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 581s ok 25 /keyfile/page-boundary 581s ok 26 /keyfile/ref 581s ok 27 /keyfile/replace-value 581s ok 28 /keyfile/list-separator 581s ok 29 /keyfile/empty-string 581s ok 30 /keyfile/limbo 581s # Testing invalid encoding ?non-UTF-8 581s # Testing invalid encoding ?UTF? 581s # Testing invalid encoding ?UTF-9? 581s ok 31 /keyfile/utf8 581s ok 32 /keyfile/roundtrip 581s ok 33 /keyfile/bytes 581s ok 34 /keyfile/get-locale 581s ok 35 /keyfile/free-when-not-last-ref 581s # Start of locale-string tests 581s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 581s ok 36 /keyfile/locale-string/multiple-loads 581s # End of locale-string tests 581s # End of keyfile tests 581s ok - glib/keyfile.test 581s # Running test: glib/gio-tool.py.test 581s TAP version 13 581s ok 1 __main__.TestGioTool.test_help 581s # tmpdir: /tmp/tmpwiirb2qw 581s # gio: /usr/bin/gio 581s # Running: ['/usr/bin/gio', '--help'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # Output: Usage: 581s # gio COMMAND [ARGS…] 581s # 581s # Commands: 581s # help Print help 581s # version Print version 581s # cat Concatenate files to standard output 581s # copy Copy one or more files 581s # info Show information about locations 581s # launch Launch an application from a desktop file 581s # list List the contents of locations 581s # mime Get or set the handler for a mimetype 581s # mkdir Create directories 581s # monitor Monitor files and directories for changes 581s # mount Mount or unmount the locations 581s # move Move one or more files 581s # open Open files with the default application 581s # rename Rename a file 581s # remove Delete one or more files 581s # save Read from standard input and save 581s # set Set a file attribute 581s # trash Move files or directories to the trash 581s # tree Lists the contents of locations in a tree 581s # 581s # Use “gio help COMMAND†to get detailed help. 581s # Running: ['/usr/bin/gio', 'help'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # Output: Usage: 581s # gio COMMAND [ARGS…] 581s # 581s # Commands: 581s # help Print help 581s # version Print version 581s # cat Concatenate files to standard output 581s # copy Copy one or more files 581s # info Show information about locations 581s # launch Launch an application from a desktop file 581s # list List the contents of locations 581s # mime Get or set the handler for a mimetype 581s # mkdir Create directories 581s # monitor Monitor files and directories for changes 581s # mount Mount or unmount the locations 581s # move Move one or more files 581s # open Open files with the default application 581s # rename Rename a file 581s # remove Delete one or more files 581s # save Read from standard input and save 581s # set Set a file attribute 581s # trash Move files or directories to the trash 581s # tree Lists the contents of locations in a tree 581s # 581s # Use “gio help COMMAND†to get detailed help. 581s ok 2 __main__.TestGioTool.test_info_non_default_attributes 581s # tmpdir: /tmp/tmpqhx1387e 581s # gio: /usr/bin/gio 581s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpqhx1387e/tmpizzyfgv5'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s # Output: uri: file:///tmp/tmpqhx1387e/tmpizzyfgv5 581s # local path: /tmp/tmpqhx1387e/tmpizzyfgv5 581s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 581s # attributes: 581s # standard::content-type: application/x-zerosize 581s ok 3 __main__.TestGioTool.test_no_args 581s # tmpdir: /tmp/tmpzuq2maeg 581s # gio: /usr/bin/gio 581s # Running: ['/usr/bin/gio'] 581s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-dKLoK8b4qK,guid=c8ee262c9bfdf10a43cd28c267348d2f', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.6MOKpm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.6MOKpm/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.6MOKpm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xlI1exKh0h', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yfan5e/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.6MOKpm/wrapper.sh --artifacts=/tmp/autopkgtest.6MOKpm/installed-tests-artifacts --chdir=/tmp/autopkgtest.6MOKpm/build.caQ/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --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.6MOKpm/installed-tests-stderr --stdout=/tmp/autopkgtest.6MOKpm/installed-tests-stdout --tmp=/tmp/autopkgtest.6MOKpm/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests -- /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.6MOKpm/build.caQ/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.6MOKpm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 581s 1..3 581s ok - glib/gio-tool.py.test 581s # Running test: glib/network-monitor.test 581s TAP version 14 581s # random seed: R02Sae803b601e4fa8c27ff926d4cf0e8378 581s 1..4 581s # Start of network-monitor tests 581s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 581s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 581s ok 1 /network-monitor/default 581s ok 2 /network-monitor/remove_default 581s ok 3 /network-monitor/add_networks 581s ok 4 /network-monitor/remove_networks 581s # End of network-monitor tests 581s ok - glib/network-monitor.test 581s # Running test: glib/error.test 581s TAP version 14 581s # random seed: R02Sd8cbb1404af26a783c3959c5b63464b4 581s 1..3 581s # Start of error tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/system-config1:/tmp/test_error_Z5XGX2/error/from-errno/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/system-data1:/tmp/test_error_Z5XGX2/error/from-errno/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Z5XGX2/error/from-errno/.dirs/runtime 581s ok 1 /error/from-errno 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/system-config1:/tmp/test_error_Z5XGX2/error/from-file-error/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/system-data1:/tmp/test_error_Z5XGX2/error/from-file-error/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Z5XGX2/error/from-file-error/.dirs/runtime 581s ok 2 /error/from-file-error 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_Z5XGX2/error/from-win32-error/.dirs/runtime 581s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 581s # End of error tests 581s ok - glib/error.test 581s # Running test: glib/atomic.test 581s TAP version 14 581s # random seed: R02S2fce5160c2a22962e88926c9da75a0d3 581s 1..2 581s # Start of atomic tests 581s ok 1 /atomic/types 581s ok 2 /atomic/threaded 581s # End of atomic tests 581s ok - glib/atomic.test 581s # Running test: glib/once.test 581s TAP version 14 581s # random seed: R02S12c43110c6eb037e035184c0307c82a9 581s 1..5 581s # Start of once tests 581s # /once/single-threaded summary: Test g_once() usage from a single thread 581s ok 1 /once/single-threaded 581s # /once/multi-threaded summary: Test g_once() usage from multiple threads 581s ok 2 /once/multi-threaded 581s # End of once tests 581s # Start of once-init tests 581s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 581s ok 3 /once-init/single-threaded 581s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 581s ok 4 /once-init/multi-threaded 581s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 581s ok 5 /once-init/string 581s # End of once-init tests 581s ok - glib/once.test 581s # Running test: glib/atomic-c-99.test 581s TAP version 14 581s # random seed: R02Se2026715eba7262ff1427da4a901a597 581s 1..2 581s # Start of atomic tests 581s ok 1 /atomic/types 581s ok 2 /atomic/threaded 581s # End of atomic tests 581s ok - glib/atomic-c-99.test 581s # Running test: glib/overflow.test 581s TAP version 14 581s # random seed: R02Sffa7f195bc8cb205f159e2f9b81eec52 581s 1..6 581s # Start of glib tests 581s # Start of checked-math tests 581s ok 1 /glib/checked-math/guint-add 581s ok 2 /glib/checked-math/guint-mul 581s ok 3 /glib/checked-math/guint64-add 581s ok 4 /glib/checked-math/guint64-mul 581s ok 5 /glib/checked-math/gsize-add 581s ok 6 /glib/checked-math/gsize-mul 581s # End of checked-math tests 581s # End of glib tests 581s ok - glib/overflow.test 581s # Running test: glib/deftype.test 581s ok - glib/deftype.test 581s # Running test: glib/dump.test 581s TAP version 14 581s # random seed: R02Sadd327d40d31bed6b3dbb43164e8a535 581s 1..4 581s # Start of dump tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_EQUJX2/dump/empty-file/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_EQUJX2/dump/empty-file/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EQUJX2/dump/empty-file/.dirs/runtime 581s ok 1 /dump/empty-file 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EQUJX2/dump/missing-get-type/.dirs/runtime 581s Invalid GType function: 'does_not_exist_get_type' 581s ok 2 /dump/missing-get-type 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EQUJX2/dump/missing-quark/.dirs/runtime 581s Invalid error quark function: 'does_not_exist_error' 581s ok 3 /dump/missing-quark 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_EQUJX2/dump/basic/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_EQUJX2/dump/basic/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_EQUJX2/dump/basic/.dirs/system-config1:/tmp/test_dump_EQUJX2/dump/basic/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_EQUJX2/dump/basic/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_EQUJX2/dump/basic/.dirs/system-data1:/tmp/test_dump_EQUJX2/dump/basic/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_EQUJX2/dump/basic/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_EQUJX2/dump/basic/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_EQUJX2/dump/basic/.dirs/runtime 581s ok 4 /dump/basic 581s # End of dump tests 581s ok - glib/dump.test 581s # Running test: glib/queue.test 581s TAP version 14 581s # random seed: R02Se8c7e5043b7a03b1c6dba046c538705d 581s 1..12 581s # Start of queue tests 581s ok 1 /queue/basic 581s ok 2 /queue/copy 581s ok 3 /queue/off-by-one 581s ok 4 /queue/find-custom 581s ok 5 /queue/static 581s ok 6 /queue/clear 581s ok 7 /queue/free-full 581s ok 8 /queue/clear-full 581s ok 9 /queue/insert-sibling-link 581s ok 10 /queue/push-nth-link 581s # Start of clear-full tests 581s ok 11 /queue/clear-full/noop 581s # End of clear-full tests 581s # Start of random tests 581s ok 12 /queue/random/seed:2136411584 581s # End of random tests 581s # End of queue tests 581s ok - glib/queue.test 581s # Running test: glib/gdbus-sasl.test 581s TAP version 14 581s # random seed: R02S57b8431594f09d8ac2a2b092c0e9df3e 581s 1..1 581s # Start of gdbus tests 581s # Start of sasl tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_AFDDX2/gdbus/sasl/server/.dirs/runtime 581s # New handshake: EXTERNAL with incorrect initial response 581s # C:“AUTH EXTERNAL 30†581s # Expect: /^REJECTED.*$/ 581s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†581s # New handshake: EXTERNAL without initial response, failing to authenticate 581s # C:“AUTH EXTERNAL†581s # Expect: /^DATA$/ 581s # S:“DATA†581s # C:“DATA 30†581s # Expect: /^REJECTED.*$/ 581s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†581s # New handshake: EXTERNAL with initial response 581s # C:“AUTH EXTERNAL 31303030†581s # Expect: /^OK [0-9a-f]+$/ 581s # S:“OK 214212e823ef05fb2c5b784e67348e2b†581s # New handshake: EXTERNAL without initial response 581s # C:“AUTH EXTERNAL†581s # Expect: /^DATA$/ 581s # S:“DATA†581s # C:“DATA 31303030†581s # Expect: /^OK [0-9a-f]+$/ 581s # S:“OK 214212e823ef05fb2c5b784e67348e2b†581s # New handshake: EXTERNAL with empty authorization identity 581s # C:“AUTH EXTERNAL†581s # Expect: /^DATA$/ 581s # S:“DATA†581s # C:“DATA†581s # Expect: /^OK [0-9a-f]+$/ 581s # S:“OK 214212e823ef05fb2c5b784e67348e2b†581s # New handshake: EXTERNAL with empty authorization identity and whitespace 581s # C:“AUTH EXTERNAL†581s # Expect: /^DATA$/ 581s # S:“DATA†581s # C:“DATA †581s # Expect: /^OK [0-9a-f]+$/ 581s # S:“OK 214212e823ef05fb2c5b784e67348e2b†581s ok 1 /gdbus/sasl/server 581s # End of sasl tests 581s # End of gdbus tests 581s ok - glib/gdbus-sasl.test 581s # Running test: glib/type-flags.test 581s TAP version 14 581s # random seed: R02Scdd497af8abadc6883f0952a331b4207 581s 1..4 581s # Start of type tests 581s # Start of flags tests 581s ok 1 /type/flags/interface 581s ok 2 /type/flags/final 581s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 581s ok 3 /type/flags/deprecated 581s # Start of final tests 581s ok 4 /type/flags/final/instance-check 581s # End of final tests 581s # End of flags tests 581s # End of type tests 581s ok - glib/type-flags.test 581s # Running test: glib/fileutils.test 581s TAP version 14 581s # random seed: R02S0f3fb3a3f116d6d7a7b89422fab57122 581s 1..27 581s # Start of fileutils tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/paths/.dirs/runtime 581s ok 1 /fileutils/paths 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/build-path/.dirs/runtime 581s ok 2 /fileutils/build-path 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/build-pathv/.dirs/runtime 581s ok 3 /fileutils/build-pathv 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/build-filename/.dirs/runtime 581s ok 4 /fileutils/build-filename 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/build-filenamev/.dirs/runtime 581s ok 5 /fileutils/build-filenamev 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents/.dirs/runtime 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s ok 6 /fileutils/mkdir-with-parents 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/mkdir-with-parents-permission/.dirs/runtime 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s ok 7 /fileutils/mkdir-with-parents-permission 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/format-size-for-display/.dirs/runtime 581s ok 8 /fileutils/format-size-for-display 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/errors/.dirs/runtime 581s ok 9 /fileutils/errors 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/basename/.dirs/runtime 581s ok 10 /fileutils/basename 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/get-basename/.dirs/runtime 581s ok 11 /fileutils/get-basename 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/dirname/.dirs/runtime 581s ok 12 /fileutils/dirname 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/dir-make-tmp/.dirs/runtime 581s ok 13 /fileutils/dir-make-tmp 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/file-open-tmp/.dirs/runtime 581s ok 14 /fileutils/file-open-tmp 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/file-test/.dirs/runtime 581s ok 15 /fileutils/file-test 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/mkstemp/.dirs/runtime 581s ok 16 /fileutils/mkstemp 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/mkdtemp/.dirs/runtime 581s ok 17 /fileutils/mkdtemp 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents/.dirs/runtime 581s ok 18 /fileutils/get-contents 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/get-contents-large-file/.dirs/runtime 581s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents/.dirs/runtime 581s ok 20 /fileutils/set-contents 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/.dirs/runtime 581s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 581s # Flags 0 and test 0 581s # Flags 0 and test 1 581s # Flags 0 and test 2 581s # Flags 0 and test 3 581s # Flags 0 and test 4 581s # Flags 0 and test 5 581s # Flags 1 and test 0 581s # Flags 1 and test 1 581s # Flags 1 and test 2 581s # Flags 1 and test 3 581s # Flags 1 and test 4 581s # Flags 1 and test 5 581s # Flags 2 and test 0 581s # Flags 2 and test 1 581s # Flags 2 and test 2 581s # Flags 2 and test 3 581s # Flags 2 and test 4 581s # Flags 2 and test 5 581s # Flags 3 and test 0 581s # Flags 3 and test 1 581s # Flags 3 and test 2 581s # Flags 3 and test 3 581s # Flags 3 and test 4 581s # Flags 3 and test 5 581s # Flags 4 and test 0 581s # Flags 4 and test 1 581s # Flags 4 and test 2 581s # Flags 4 and test 3 581s # Flags 4 and test 4 581s # Flags 4 and test 5 581s # Flags 5 and test 0 581s # Flags 5 and test 1 581s # Flags 5 and test 2 581s # Flags 5 and test 3 581s # Flags 5 and test 4 581s # Flags 5 and test 5 581s # Flags 6 and test 0 581s # Flags 6 and test 1 581s # Flags 6 and test 2 581s # Flags 6 and test 3 581s # Flags 6 and test 4 581s # Flags 6 and test 5 581s ok 21 /fileutils/set-contents-full 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/read-link/.dirs/runtime 581s ok 22 /fileutils/read-link 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/stdio-wrappers/.dirs/runtime 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s ok 23 /fileutils/stdio-wrappers 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/fopen-modes/.dirs/runtime 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 581s # Testing fopen() mode 'w' 581s # Testing fopen() mode 'r' 581s # Testing fopen() mode 'a' 581s # Testing fopen() mode 'w+' 581s # Testing fopen() mode 'r+' 581s # Testing fopen() mode 'a+' 581s # Testing fopen() mode 'wb' 581s # Testing fopen() mode 'rb' 581s # Testing fopen() mode 'ab' 581s # Testing fopen() mode 'w+b' 581s # Testing fopen() mode 'r+b' 581s # Testing fopen() mode 'a+b' 581s # Testing fopen() mode 'wb+' 581s # Testing fopen() mode 'rb+' 581s # Testing fopen() mode 'ab+' 581s ok 24 /fileutils/fopen-modes 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/clear-fd/.dirs/runtime 581s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 581s # Will be closed by autocleanup: 3, -42 581s # Testing error handling 581s ok 25 /fileutils/clear-fd 581s # Start of set-contents-full tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-file/.dirs/runtime 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 581s ok 26 /fileutils/set-contents-full/read-only-file 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_Y0EDX2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 581s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 581s # Flags 0 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 1 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 2 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 3 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 4 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 5 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s # Flags 6 581s # We do not have CAP_DAC_OVERRIDE or equivalent 581s ok 27 /fileutils/set-contents-full/read-only-directory 581s # End of set-contents-full tests 581s # Start of clear-fd tests 581s # Start of subprocess tests 581s # End of subprocess tests 581s # End of clear-fd tests 581s # End of fileutils tests 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-YKWEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-6EZEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-NQYEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-VFUEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-JRUEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-3AVEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2/glib-file-set-contents-full-rodir-WIXEX2: Directory not empty 581s Unable to clean up temporary directory /tmp/test_fileutils_Y0EDX2: Directory not empty 581s ok - glib/fileutils.test 581s # Running test: glib/singleton.test 581s TAP version 14 581s # random seed: R02S2859cebc4fb4147b49be02f8d47d6a0c 581s 1..2 581s # Start of gobject tests 581s # Start of singleton tests 581s ok 1 /gobject/singleton/construction 581s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 581s ok 2 /gobject/singleton/construct-property 581s # End of singleton tests 581s # End of gobject tests 581s ok - glib/singleton.test 582s # Running test: glib/bytes.test 582s TAP version 14 582s # random seed: R02S2d63df02b7acc5ca067847b0734eb8f3 582s 1..21 582s # Start of bytes tests 582s ok 1 /bytes/new 582s ok 2 /bytes/new-take 582s ok 3 /bytes/new-static 582s ok 4 /bytes/new-with-free-func 582s ok 5 /bytes/new-from-bytes 582s ok 6 /bytes/new-from-bytes-slice 582s ok 7 /bytes/new-from-bytes-shared-ref 582s ok 8 /bytes/hash 582s ok 9 /bytes/equal 582s ok 10 /bytes/compare 582s ok 11 /bytes/null 582s ok 12 /bytes/get-region 582s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 582s ok 13 /bytes/unref-null 582s # Start of to-data tests 582s ok 14 /bytes/to-data/transferred 582s ok 15 /bytes/to-data/two-refs 582s ok 16 /bytes/to-data/non-malloc 582s ok 17 /bytes/to-data/different-free-func 582s # End of to-data tests 582s # Start of to-array tests 582s ok 18 /bytes/to-array/transferred 582s ok 19 /bytes/to-array/two-refs 582s ok 20 /bytes/to-array/non-malloc 582s # Start of transferred tests 582s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 582s ok 21 /bytes/to-array/transferred/oversize 582s # End of transferred tests 582s # End of to-array tests 582s # End of bytes tests 582s ok - glib/bytes.test 582s # Running test: glib/portal-support-snap-classic.test 582s TAP version 14 582s # random seed: R02Se18604cbf97f7e1f9e4971e8472eebf0 582s 1..3 582s # Start of portal-support tests 582s # Start of snap-classic tests 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl/.dirs/runtime 582s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/no-snapctl: No such file or directory 582s ok 1 /portal-support/snap-classic/no-snapctl 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/runtime 582s # Created snap.yaml in /tmp/test_portal-support-snap-classic_LV2EX2/meta/snap.yaml 582s # Created snapctl in /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none/.dirs/runtime/snapctl 582s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/none: No such file or directory 582s ok 2 /portal-support/snap-classic/none 582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/home 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/cache 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/system-config2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/config 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/system-data2 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/data 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/state 582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/runtime 582s # Created snap.yaml in /tmp/test_portal-support-snap-classic_LV2EX2/meta/snap.yaml 582s # Created snapctl in /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all/.dirs/runtime/snapctl 582s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_LV2EX2/portal-support/snap-classic/all: No such file or directory 582s ok 3 /portal-support/snap-classic/all 582s # End of snap-classic tests 582s # End of portal-support tests 582s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_LV2EX2: No such file or directory 582s ok - glib/portal-support-snap-classic.test 582s # Running test: glib/g-file-info-filesystem-readonly.test 582s TAP version 14 582s # random seed: R02S8d15e9446151fa4cdabf999f4f8c8e49 582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 582s 1..2 582s # Start of g-file-info-filesystem-readonly tests 582s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 582s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 582s # End of g-file-info-filesystem-readonly tests 582s ok - glib/g-file-info-filesystem-readonly.test 582s # Running test: glib/power-profile-monitor.test 582s TAP version 14 582s # random seed: R02Sdabb416a33601f5a65c22ca353570b48 582s 1..1 582s # Start of power-profile-monitor tests 582s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 582s ok 1 /power-profile-monitor/default 582s # End of power-profile-monitor tests 582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 582s ok - glib/power-profile-monitor.test 582s # Running test: glib/signals-refcount4.test 582s TAP version 14 582s # random seed: R02Sffd6fd8fdb9417012afedeef097dd2b0 582s 1..1 582s # Start of gobject tests 582s # Start of refcount tests 582s # init 0x2aa23418420 582s # 582s # init 0x2aa234185c0 582s # 584s # Executing: glib/signals-refcount4.test 587s # dispose 0x2aa23418420! 587s # 587s # dispose 0x2aa234185c0! 587s # 587s ok 1 /gobject/refcount/signals 587s # slow test /gobject/refcount/signals executed in 5.00 secs 587s # End of refcount tests 587s # End of gobject tests 587s ok - glib/signals-refcount4.test 587s # Running test: glib/signals-refcount1.test 587s TAP version 14 587s # random seed: R02Se8f5d6cc933096500d0aa9c53ee933ed 587s 1..1 587s # Start of gobject tests 587s # Start of refcount tests 587s # init 0x2aa22fb7420 587s # 587s # init 0x2aa22fb75c0 587s # 589s # Executing: glib/signals-refcount1.test 592s # dispose 0x2aa22fb7420! 592s # 592s # dispose 0x2aa22fb75c0! 592s # 592s ok 1 /gobject/refcount/signals 592s # slow test /gobject/refcount/signals executed in 5.00 secs 592s # End of refcount tests 592s # End of gobject tests 592s ok - glib/signals-refcount1.test 592s # Running test: glib/autoptr.test 592s TAP version 14 592s # random seed: R02S99b0aef8b5affb8547b637f59d55809f 592s 1..6 592s # Start of autoptr tests 592s ok 1 /autoptr/autoptr 592s ok 2 /autoptr/autoptr_steal 592s ok 3 /autoptr/autolist 592s ok 4 /autoptr/autoslist 592s ok 5 /autoptr/autoqueue 592s ok 6 /autoptr/autoclass 592s # End of autoptr tests 592s ok - glib/autoptr.test 592s # Running test: glib/hostutils.test 592s TAP version 14 592s # random seed: R02Sfec9748ffb21e87d16de061f31ee0307 592s 1..3 592s # Start of hostutils tests 592s ok 1 /hostutils/to_ascii 592s ok 2 /hostutils/to_unicode 592s ok 3 /hostutils/is_ip_addr 592s # End of hostutils tests 592s ok - glib/hostutils.test 592s # Running test: glib/pattern.test 592s TAP version 14 592s # random seed: R02Sd3e18e1939ff8244ce734c01525abb36 592s 1..90 592s # Start of pattern tests 592s # Start of compile tests 592s ok 1 /pattern/compile/0 592s ok 2 /pattern/compile/1 592s ok 3 /pattern/compile/2 592s ok 4 /pattern/compile/3 592s ok 5 /pattern/compile/4 592s ok 6 /pattern/compile/5 592s ok 7 /pattern/compile/6 592s ok 8 /pattern/compile/7 592s ok 9 /pattern/compile/8 592s ok 10 /pattern/compile/9 592s ok 11 /pattern/compile/10 592s ok 12 /pattern/compile/11 592s ok 13 /pattern/compile/12 592s ok 14 /pattern/compile/13 592s # End of compile tests 592s # Start of copy tests 592s ok 15 /pattern/copy/0 592s ok 16 /pattern/copy/1 592s ok 17 /pattern/copy/2 592s ok 18 /pattern/copy/3 592s ok 19 /pattern/copy/4 592s ok 20 /pattern/copy/5 592s ok 21 /pattern/copy/6 592s ok 22 /pattern/copy/7 592s ok 23 /pattern/copy/8 592s ok 24 /pattern/copy/9 592s ok 25 /pattern/copy/10 592s ok 26 /pattern/copy/11 592s ok 27 /pattern/copy/12 592s ok 28 /pattern/copy/13 592s # End of copy tests 592s # Start of match tests 592s ok 29 /pattern/match/0 592s ok 30 /pattern/match/1 592s ok 31 /pattern/match/2 592s ok 32 /pattern/match/3 592s ok 33 /pattern/match/4 592s ok 34 /pattern/match/5 592s ok 35 /pattern/match/6 592s ok 36 /pattern/match/7 592s ok 37 /pattern/match/8 592s ok 38 /pattern/match/9 592s ok 39 /pattern/match/10 592s ok 40 /pattern/match/11 592s ok 41 /pattern/match/12 592s ok 42 /pattern/match/13 592s ok 43 /pattern/match/14 592s ok 44 /pattern/match/15 592s ok 45 /pattern/match/16 592s ok 46 /pattern/match/17 592s ok 47 /pattern/match/18 592s ok 48 /pattern/match/19 592s ok 49 /pattern/match/20 592s ok 50 /pattern/match/21 592s ok 51 /pattern/match/22 592s ok 52 /pattern/match/23 592s ok 53 /pattern/match/24 592s ok 54 /pattern/match/25 592s ok 55 /pattern/match/26 592s ok 56 /pattern/match/27 592s ok 57 /pattern/match/28 592s ok 58 /pattern/match/29 592s ok 59 /pattern/match/30 592s ok 60 /pattern/match/31 592s ok 61 /pattern/match/32 592s ok 62 /pattern/match/33 592s ok 63 /pattern/match/34 592s ok 64 /pattern/match/35 592s ok 65 /pattern/match/36 592s ok 66 /pattern/match/37 592s ok 67 /pattern/match/38 592s ok 68 /pattern/match/39 592s ok 69 /pattern/match/40 592s ok 70 /pattern/match/41 592s ok 71 /pattern/match/42 592s ok 72 /pattern/match/43 592s ok 73 /pattern/match/44 592s ok 74 /pattern/match/45 592s ok 75 /pattern/match/46 592s ok 76 /pattern/match/47 592s ok 77 /pattern/match/48 592s ok 78 /pattern/match/49 592s ok 79 /pattern/match/50 592s # End of match tests 592s # Start of equal tests 592s ok 80 /pattern/equal/0 592s ok 81 /pattern/equal/1 592s ok 82 /pattern/equal/2 592s ok 83 /pattern/equal/3 592s ok 84 /pattern/equal/4 592s ok 85 /pattern/equal/5 592s ok 86 /pattern/equal/6 592s ok 87 /pattern/equal/7 592s ok 88 /pattern/equal/8 592s ok 89 /pattern/equal/9 592s ok 90 /pattern/equal/10 592s # End of equal tests 592s # End of pattern tests 592s ok - glib/pattern.test 592s # Running test: glib/testfilemonitor.test 592s TAP version 14 592s # random seed: R02Sf18194bd6593072c9403f845bccdf642 592s 1..8 592s # Start of monitor tests 592s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 592s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s # Start of file tests 592s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 592s # End of file tests 592s # End of monitor tests 592s ok - glib/testfilemonitor.test 592s # Running test: glib/mimeapps.test 592s TAP version 14 592s # random seed: R02S0820d95386edde7b61593d9bc76a562b 592s 1..7 592s # Start of appinfo tests 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 592s ok 1 /appinfo/all 592s # Start of mime tests 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config 592s ok 2 /appinfo/mime/api 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config 592s ok 3 /appinfo/mime/default 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config 592s ok 4 /appinfo/mime/file 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/config 592s ok 5 /appinfo/mime/scheme-handler 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config 592s ok 6 /appinfo/mime/default-last-used 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/runtime 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 592s # removing '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 592s # creating '/tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 592s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SXAEX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_SXAEX2/appinfo/mime/ignore-nonexisting/.dirs/config 592s ok 7 /appinfo/mime/ignore-nonexisting 592s # End of mime tests 592s # End of appinfo tests 592s ok - glib/mimeapps.test 592s # Running test: glib/fdo-notification-backend.test 592s TAP version 14 592s # random seed: R02S8e797e64cdd4847c55e32b6b9f59a029 592s 1..2 592s # Start of fdo-notification-backend tests 592s # Test constructing a GFdoNotificationBackend 592s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s ok 1 /fdo-notification-backend/construction 592s # Start of dbus tests 592s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 592s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 592s ok 2 /fdo-notification-backend/dbus/activate-action 592s # End of dbus tests 592s # End of fdo-notification-backend tests 592s ok - glib/fdo-notification-backend.test 592s # Running test: glib/uri.test 592s TAP version 14 592s # random seed: R02Sa777352f37b9a9b570ee08dc7c9a7d86 592s 1..24 592s # Start of uri tests 592s ok 1 /uri/file-to-uri 592s ok 2 /uri/file-from-uri 592s ok 3 /uri/file-roundtrip 592s ok 4 /uri/list 592s # Test 0: %2Babc %4F 592s # Test 1: %2Babc %4F 592s # Test 2: %00abc %4F 592s # Test 3: /cursors/none.png 592s # Test 4: /cursors%2fbad-subdir/none.png 592s # Test 5: %0 592s # Test 6: %ra 592s # Test 7: %2r 592s # Test 8: Timm B?der 592s # Test 9: (null) 592s ok 5 /uri/unescape-string 592s ok 6 /uri/unescape-segment 592s # Test 0: abcdefgABCDEFG._~ 592s # Test 1: :+ \\?# 592s # Test 2: a+b:c 592s # Test 3: a+b:c\303\234 592s # Test 4: \374;\322 592s # Test 5: \303\261\303( 592s ok 7 /uri/escape-string 592s ok 8 /uri/escape-bytes 592s ok 9 /uri/scheme 592s ok 10 /uri/build 592s ok 11 /uri/split 592s ok 12 /uri/is_valid 592s ok 13 /uri/to-string 592s ok 14 /uri/join 592s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 592s # Combination 0 592s # Combination 1 592s # Combination 2 592s # Combination 3 592s # Combination 4 592s # Combination 5 592s # Combination 6 592s # Combination 7 592s # Combination 8 592s # Combination 9 592s # Combination 10 592s # Combination 11 592s # Combination 12 592s # Combination 13 592s # Combination 14 592s # Combination 15 592s # Combination 16 592s # Combination 17 592s # Combination 18 592s # Combination 19 592s # Combination 20 592s # Combination 21 592s # Combination 22 592s # Combination 23 592s # Combination 24 592s # Combination 25 592s # Combination 26 592s # Combination 27 592s # Combination 28 592s # Combination 29 592s # Combination 30 592s # Combination 31 592s # Combination 32 592s # Combination 33 592s # Combination 34 592s # Combination 35 592s # Combination 36 592s # Combination 37 592s # Combination 38 592s # Combination 39 592s # Combination 40 592s # Combination 41 592s # Combination 42 592s # Combination 43 592s # Combination 44 592s # Combination 45 592s # Combination 46 592s # Combination 47 592s # Combination 48 592s # Combination 49 592s # Combination 50 592s # Combination 51 592s # Combination 52 592s # Combination 53 592s # Combination 54 592s # Combination 55 592s # Combination 56 592s # Combination 57 592s # Combination 58 592s # Combination 59 592s # Combination 60 592s # Combination 61 592s # Combination 62 592s # Combination 63 592s # Combination 64 592s # Combination 65 592s # Combination 66 592s # Combination 67 592s # Combination 68 592s # Combination 69 592s # Combination 70 592s # Combination 71 592s # Combination 72 592s # Combination 73 592s # Combination 74 592s # Combination 75 592s # Combination 76 592s # Combination 77 592s # Combination 78 592s # Combination 79 592s # Combination 80 592s # Combination 81 592s # Combination 82 592s # Combination 83 592s # Combination 84 592s # Combination 85 592s # Combination 86 592s # Combination 87 592s # Combination 88 592s # Combination 89 592s # Combination 90 592s # Combination 91 592s # Combination 92 592s # Combination 93 592s # Combination 94 592s # Combination 95 592s # Combination 96 592s # Combination 97 592s # Combination 98 592s # Combination 99 592s # Combination 100 592s # Combination 101 592s # Combination 102 592s # Combination 103 592s # Combination 104 592s # Combination 105 592s # Combination 106 592s # Combination 107 592s # Combination 108 592s # Combination 109 592s # Combination 110 592s # Combination 111 592s # Combination 112 592s # Combination 113 592s # Combination 114 592s # Combination 115 592s # Combination 116 592s # Combination 117 592s # Combination 118 592s # Combination 119 592s # Combination 120 592s # Combination 121 592s # Combination 122 592s # Combination 123 592s # Combination 124 592s # Combination 125 592s # Combination 126 592s # Combination 127 592s # Combination 128 592s # Combination 129 592s # Combination 130 592s # Combination 131 592s # Combination 132 592s # Combination 133 592s # Combination 134 592s # Combination 135 592s # Combination 136 592s # Combination 137 592s # Combination 138 592s # Combination 139 592s # Combination 140 592s # Combination 141 592s # Combination 142 592s # Combination 143 592s # Combination 144 592s # Combination 145 592s # Combination 146 592s # Combination 147 592s # Combination 148 592s # Combination 149 592s # Combination 150 592s # Combination 151 592s # Combination 152 592s # Combination 153 592s # Combination 154 592s # Combination 155 592s # Combination 156 592s # Combination 157 592s # Combination 158 592s # Combination 159 592s # Combination 160 592s # Combination 161 592s # Combination 162 592s # Combination 163 592s # Combination 164 592s # Combination 165 592s # Combination 166 592s # Combination 167 592s # Combination 168 592s # Combination 169 592s # Combination 170 592s # Combination 171 592s # Combination 172 592s # Combination 173 592s # Combination 174 592s # Combination 175 592s # Combination 176 592s # Combination 177 592s # Combination 178 592s # Combination 179 592s # Combination 180 592s # Combination 181 592s # Combination 182 592s # Combination 183 592s # Combination 184 592s # Combination 185 592s # Combination 186 592s # Combination 187 592s # Combination 188 592s # Combination 189 592s # Combination 190 592s # Combination 191 592s # Combination 192 592s # Combination 193 592s # Combination 194 592s # Combination 195 592s # Combination 196 592s # Combination 197 592s # Combination 198 592s # Combination 199 592s # Combination 200 592s # Combination 201 592s # Combination 202 592s # Combination 203 592s # Combination 204 592s # Combination 205 592s # Combination 206 592s # Combination 207 592s # Combination 208 592s # Combination 209 592s # Combination 210 592s # Combination 211 592s # Combination 212 592s # Combination 213 592s # Combination 214 592s # Combination 215 592s # Combination 216 592s # Combination 217 592s # Combination 218 592s # Combination 219 592s # Combination 220 592s # Combination 221 592s # Combination 222 592s # Combination 223 592s # Combination 224 592s # Combination 225 592s # Combination 226 592s # Combination 227 592s # Combination 228 592s # Combination 229 592s # Combination 230 592s # Combination 231 592s # Combination 232 592s # Combination 233 592s # Combination 234 592s # Combination 235 592s # Combination 236 592s # Combination 237 592s # Combination 238 592s # Combination 239 592s # Combination 240 592s # Combination 241 592s # Combination 242 592s # Combination 243 592s # Combination 244 592s # Combination 245 592s # Combination 246 592s # Combination 247 592s # Combination 248 592s # Combination 249 592s # Combination 250 592s # Combination 251 592s # Combination 252 592s # Combination 253 592s # Combination 254 592s # Combination 255 592s ok 15 /uri/join-split-round-trip 592s ok 16 /uri/normalize 592s # Start of unescape-bytes tests 592s # Test 0: %00%00 592s # Test 1: /cursors/none.png 592s # Test 2: /cursors%2fbad-subdir/none.png 592s # Test 3: %% 592s # Test 4: % 592s ok 17 /uri/unescape-bytes/nul-terminated 592s # Test 0: %00%00 592s # Test 1: /cursors/none.png 592s # Test 2: /cursors%2fbad-subdir/none.png 592s # Test 3: %% 592s # Test 4: % 592s ok 18 /uri/unescape-bytes/length 592s # End of unescape-bytes tests 592s # Start of parsing tests 592s # Test 0: foo: 592s # Test 1: file:/dev/null 592s # Test 2: file:///dev/null 592s # Test 3: ftp://user@host/path 592s # Test 4: ftp://user@host:9999/path 592s # Test 5: ftp://user:password@host/path 592s # Test 6: ftp://user:password@host:9999/path 592s # Test 7: ftp://user:password@host 592s # Test 8: http://us%65r@host 592s # Test 9: http://us%40r@host 592s # Test 10: http://us%3ar@host 592s # Test 11: http://us%2fr@host 592s # Test 12: http://us%3fr@host 592s # Test 13: http://host?query 592s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 592s # 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 592s # Test 16: http://space/%20 592s # Test 17: http://delims/%3C%3E%23%25%22 592s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 592s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 592s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 592s # Test 21: http://[3ffe:2a00:100:7031::1] 592s # Test 22: http://[1080::8:800:200C:417A]/foo 592s # Test 23: http://[::192.9.5.5]/ipng 592s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 592s # Test 25: http://[2010:836B:4179::836B:4179] 592s # Test 26: http://host/path with spaces 592s # Test 27: http://host/path 592s # Test 28: http://host/path 592s # Test 29: http://host 592s # Test 30: http://host:999 592s # Test 31: http://host/pa 592s # th 592s # Test 32: http: 592s # //host/path 592s # Test 33: http:// host/path 592s # Test 34: http://host/path? 592s # Test 35: http://host/path# 592s # Test 36: http://host/path% 592s # Test 37: http://h%ost/path 592s # Test 38: http://host/path%% 592s # Test 39: http://host/path%%% 592s # Test 40: http://host/path%/x/ 592s # Test 41: http://host/path%0x/ 592s # Test 42: http://host/path%ax 592s # Test 43: http://host/p?th/ 592s # Test 44: HTTP://////////////// 592s # Test 45: http://@host 592s # Test 46: http://:@host 592s # Test 47: scheme://foo%3Abar._webdav._tcp.local 592s # Test 48: http://example.com/.. 592s # Test 49: foo0://host/path 592s # Test 50: f0.o://host/path 592s # Test 51: http++://host/path 592s # Test 52: http-ish://host/path 592s # Test 53: http://[fe80::dead:beef%]/ 592s # Test 54: http://[fe80::dead:beef%em1]/ 592s # Test 55: http://[fe80::dead:beef%em1]/ 592s # Test 56: http://[fe80::dead:beef%25em1]/ 592s # Test 57: http://[fe80::dead:beef%25em1%20]/ 592s # Test 58: http://[fe80::dead:beef%25em%31]/ 592s # Test 59: http://[fe80::dead:beef%10]/ 592s # Test 60: http://[fe80::dead:beef%10]/ 592s # Test 61: http://[fe80::dead:beef%25]/ 592s # Test 62: http://[fe80::dead:beef%25]/ 592s # Test 63: http://[192.168.0.1%25em1]/ 592s # Test 64: http://[fe80::dead:beef%2em1]/ 592s # Test 65: http://[fe80::dead:beef%2em1]/ 592s # Test 66: http://[fe80::dead:beef%25em1%00]/ 592s # Test 67: http://[fe80::dead:beef%25em1%00]/ 592s # Test 68: http://xn--mixed-?p/ 592s ok 19 /uri/parsing/absolute 592s ok 20 /uri/parsing/relative 592s # End of parsing tests 592s # Start of iter-params tests 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 21 /uri/iter-params/nul-terminated 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 22 /uri/iter-params/length 592s # End of iter-params tests 592s # Start of parse-params tests 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 23 /uri/parse-params/nul-terminated 592s # URI 0: p1=foo&p2=bar;p3=baz 592s # URI 1: p1=foo&p2=bar 592s # URI 2: p1=foo&&P1=bar 592s # URI 3: %00=foo 592s # URI 4: p1=%00 592s # URI 5: p1=foo&p1=bar 592s # URI 6: p1=foo&P1=bar 592s # URI 7: =% 592s # URI 8: = 592s # URI 9: foo 592s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 592s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 592s ok 24 /uri/parse-params/length 592s # End of parse-params tests 592s # End of uri tests 592s ok - glib/uri.test 592s # Running test: glib/spawn-multithreaded.test 592s TAP version 14 592s # random seed: R02Sb2d2e97f27baa585550bfc8daec9f93c 592s 1..4 592s # Start of gthread tests 593s # Child 15606 (ttl 1) exited, status 0 594s # Child 15607 (ttl 2) exited, status 0 594s ok 1 /gthread/spawn-childs 594s # slow test /gthread/spawn-childs executed in 2.00 secs 594s # Created pid: 15611 (ttl 2) 594s # Created pid: 15612 (ttl 1) 594s # Executing: glib/spawn-multithreaded.test 595s # Child 15612 (ttl 1) exited, status 0 596s # Child 15611 (ttl 2) exited, status 0 596s ok 2 /gthread/spawn-childs-threads 596s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 596s ok 3 /gthread/spawn-sync 596s ok 4 /gthread/spawn-async 596s # End of gthread tests 596s ok - glib/spawn-multithreaded.test 596s # Running test: glib/module-test-plugin.test 596s TAP version 14 596s # random seed: R02Sdfb5452b8a5074c437d43a57ae4e83dd 596s 1..3 596s # Start of module tests 596s ok 1 /module/basics 596s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 596s ok 2 /module/invalid-libtool-archive 596s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 596s ok 3 /module/local-binding 596s # End of module tests 596s ok - glib/module-test-plugin.test 596s # Running test: glib/actions.test 596s TAP version 14 596s # random seed: R02S646888724a18219ba28ed33e664f0940 596s 1..13 596s # Start of actions tests 596s ok 1 /actions/basic 596s ok 2 /actions/name 596s ok 3 /actions/simplegroup 596s ok 4 /actions/stateful 596s ok 5 /actions/default-activate 596s ok 6 /actions/entries 596s ok 7 /actions/parse-detailed 596s ok 8 /actions/property 596s ok 9 /actions/no-properties 596s # Start of dbus tests 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s ok 10 /actions/dbus/export 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s ok 11 /actions/dbus/threaded 596s # slow test /actions/dbus/threaded executed in 0.78 secs 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 596s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 596s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s ok 12 /actions/dbus/bug679509 597s # Start of export tests 597s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 597s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 597s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 597s ok 13 /actions/dbus/export/error-handling 597s # End of export tests 597s # End of dbus tests 597s # End of actions tests 597s ok - glib/actions.test 597s # Running test: glib/param.test 597s TAP version 14 597s # random seed: R02Sf06e0b5993b5717500b13b9477c5f7fb 597s 1..32 597s # Start of param tests 597s ok 1 /param/value 597s ok 2 /param/strings 597s ok 3 /param/qdata 597s ok 4 /param/validate 597s ok 5 /param/convert 597s ok 6 /param/implement # SKIP Skipping slow /param/implement test 597s ok 7 /param/default 597s ok 8 /param/is-valid-name 597s # Start of invalid-name tests 597s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 597s ok 9 /param/invalid-name/colon 597s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 597s ok 10 /param/invalid-name/first-char 597s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 597s ok 11 /param/invalid-name/empty 597s # End of invalid-name tests 597s # Start of implement tests 597s # Start of subprocess tests 597s # End of subprocess tests 597s # End of implement tests 597s # End of param tests 597s # Start of value tests 597s ok 12 /value/transform 597s # End of value tests 597s # Start of paramspec tests 597s ok 13 /paramspec/char 597s ok 14 /paramspec/uchar 597s ok 15 /paramspec/int 597s ok 16 /paramspec/uint 597s ok 17 /paramspec/long 597s ok 18 /paramspec/ulong 597s ok 19 /paramspec/int64 597s ok 20 /paramspec/uint64 597s ok 21 /paramspec/float 597s ok 22 /paramspec/double 597s ok 23 /paramspec/unichar 597s ok 24 /paramspec/param 597s ok 25 /paramspec/null-param 597s ok 26 /paramspec/string 597s ok 27 /paramspec/override 597s ok 28 /paramspec/gtype 597s ok 29 /paramspec/variant 597s ok 30 /paramspec/custom 597s ok 31 /paramspec/pool 597s # Start of variant tests 597s ok 32 /paramspec/variant/cmp 597s # End of variant tests 597s # End of paramspec tests 597s ok - glib/param.test 597s # Running test: glib/srvtarget.test 597s TAP version 14 597s # random seed: R02S4e08537f64394e2c7119093b5849ca9c 597s 1..1 597s # Start of srvtarget tests 597s ok 1 /srvtarget/srv-target-ordering 597s # slow test /srvtarget/srv-target-ordering executed in 0.60 secs 597s # End of srvtarget tests 597s ok - glib/srvtarget.test 597s # Running test: glib/file.test 597s TAP version 14 597s # random seed: R02S811a237045f71d6217394cb9e59a52cb 597s 1..55 597s # Start of file tests 597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/basic/.dirs/home 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/basic/.dirs/cache 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/basic/.dirs/system-config1:/tmp/test_file_WJQEX2/file/basic/.dirs/system-config2 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/basic/.dirs/config 597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/basic/.dirs/system-data1:/tmp/test_file_WJQEX2/file/basic/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/basic/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/basic/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/basic/.dirs/runtime 598s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 598s ok 1 /file/basic 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/build-filename/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/build-filename/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/build-filename/.dirs/system-config1:/tmp/test_file_WJQEX2/file/build-filename/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/build-filename/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/build-filename/.dirs/system-data1:/tmp/test_file_WJQEX2/file/build-filename/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/build-filename/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/build-filename/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/build-filename/.dirs/runtime 598s ok 2 /file/build-filename 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_WJQEX2/file/build-filenamev/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_WJQEX2/file/build-filenamev/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/build-filenamev/.dirs/runtime 598s ok 3 /file/build-filenamev 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/parent/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/parent/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/parent/.dirs/system-config1:/tmp/test_file_WJQEX2/file/parent/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/parent/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/parent/.dirs/system-data1:/tmp/test_file_WJQEX2/file/parent/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/parent/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/parent/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/parent/.dirs/runtime 598s ok 4 /file/parent 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/child/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/child/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/child/.dirs/system-config1:/tmp/test_file_WJQEX2/file/child/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/child/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/child/.dirs/system-data1:/tmp/test_file_WJQEX2/file/child/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/child/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/child/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/child/.dirs/runtime 598s ok 5 /file/child 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/empty-path/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/empty-path/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/empty-path/.dirs/system-config1:/tmp/test_file_WJQEX2/file/empty-path/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/empty-path/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/empty-path/.dirs/system-data1:/tmp/test_file_WJQEX2/file/empty-path/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/empty-path/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/empty-path/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/empty-path/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 598s # /file/empty-path summary: Check that creating a file with an empty path results in errors 598s ok 6 /file/empty-path 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/type/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/type/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/type/.dirs/system-config1:/tmp/test_file_WJQEX2/file/type/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/type/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/type/.dirs/system-data1:/tmp/test_file_WJQEX2/file/type/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/type/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/type/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/type/.dirs/runtime 598s ok 7 /file/type 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/parse-name/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/parse-name/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/parse-name/.dirs/system-config1:/tmp/test_file_WJQEX2/file/parse-name/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/parse-name/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/parse-name/.dirs/system-data1:/tmp/test_file_WJQEX2/file/parse-name/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/parse-name/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/parse-name/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/parse-name/.dirs/runtime 598s ok 8 /file/parse-name 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace-load/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace-load/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace-load/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace-load/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace-load/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace-load/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace-load/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace-load/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace-load/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace-load/.dirs/runtime 598s ok 9 /file/replace-load 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace-cancel/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace-cancel/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace-cancel/.dirs/runtime 598s # Bug Reference: https://bugzilla.gnome.org/629301 598s ok 10 /file/replace-cancel 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace-symlink/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace-symlink/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace-symlink/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 598s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 598s # Using temporary directory /tmp/test_file_WJQEX2/g_file_replace_symlink_870EX2 598s ok 11 /file/replace-symlink 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-new-tmp/.dirs/runtime 598s ok 12 /file/async-new-tmp 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-new-tmp-dir/.dirs/runtime 598s ok 13 /file/async-new-tmp-dir 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-delete/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-delete/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-delete/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-delete/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-delete/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-delete/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-delete/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-delete/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-delete/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-delete/.dirs/runtime 598s ok 14 /file/async-delete 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-make-symlink/.dirs/runtime 598s ok 15 /file/async-make-symlink 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/copy-preserve-mode/.dirs/runtime 598s # Current umask: 2 598s # Vector 0 598s # Vector 1 598s # Vector 2 598s # Vector 3 598s # Vector 4 598s # Vector 5 598s # Vector 6 598s # Vector 7 598s # Vector 8 598s # Vector 9 598s # Vector 10 598s ok 16 /file/copy-preserve-mode 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/copy-async-with-closures/.dirs/runtime 598s ok 17 /file/copy-async-with-closures 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/measure/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/measure/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/measure/.dirs/system-config1:/tmp/test_file_WJQEX2/file/measure/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/measure/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/measure/.dirs/system-data1:/tmp/test_file_WJQEX2/file/measure/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/measure/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/measure/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/measure/.dirs/runtime 598s ok 18 /file/measure 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/measure-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/measure-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/measure-async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/measure-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/measure-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/measure-async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/measure-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/measure-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/measure-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/measure-async/.dirs/runtime 598s ok 19 /file/measure-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/system-config1:/tmp/test_file_WJQEX2/file/load-bytes/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/system-data1:/tmp/test_file_WJQEX2/file/load-bytes/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/load-bytes/.dirs/runtime 598s ok 20 /file/load-bytes 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/load-bytes-async/.dirs/runtime 598s ok 21 /file/load-bytes-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/load-bytes-4gb/.dirs/runtime 598s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/load-contents-4gb/.dirs/runtime 598s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/load-contents-4gb-async/.dirs/runtime 598s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/.dirs/runtime 598s ok 25 /file/writev 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/build-attribute-list-for-copy/.dirs/runtime 598s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 598s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 598s # 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::* 598s # 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::* 598s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 598s # Attributes for copy: standard::size,xattr::* 598s # Attributes for copy: standard::size,unix::mode,xattr::* 598s ok 26 /file/build-attribute-list-for-copy 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/move_async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/move_async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/move_async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/move_async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/move_async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/move_async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/move_async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/move_async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/move_async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/move_async/.dirs/runtime 598s ok 27 /file/move_async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/move-async-with-closures/.dirs/runtime 598s ok 28 /file/move-async-with-closures 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/query-zero-length-content-type/.dirs/runtime 598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 598s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 598s ok 29 /file/query-zero-length-content-type 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/config 598s ok 30 /file/query-default-handler-file 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WJQEX2/file/query-default-handler-file/.dirs/config to /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config 598s ok 31 /file/query-default-handler-file-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WJQEX2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config 598s ok 32 /file/query-default-handler-uri 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WJQEX2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WJQEX2/file/query-default-handler-uri-async/.dirs/config 598s ok 33 /file/query-default-handler-uri-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/enumerator-cancellation/.dirs/runtime 598s ok 34 /file/enumerator-cancellation 598s # Start of async-create-delete tests 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-create-delete/0/.dirs/runtime 598s ok 35 /file/async-create-delete/0 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-create-delete/1/.dirs/runtime 598s ok 36 /file/async-create-delete/1 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-create-delete/10/.dirs/runtime 598s ok 37 /file/async-create-delete/10 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-create-delete/25/.dirs/runtime 598s ok 38 /file/async-create-delete/25 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/async-create-delete/4096/.dirs/runtime 598s ok 39 /file/async-create-delete/4096 598s # End of async-create-delete tests 598s # Start of replace-symlink tests 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace-symlink/using-etag/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 598s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 598s # Using temporary directory /tmp/test_file_WJQEX2/g_file_replace_symlink_using_etag_8SS0W2 599s # Executing: glib/file.test 600s ok 40 /file/replace-symlink/using-etag 600s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 600s # End of replace-symlink tests 600s # Start of replace tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace/write-only/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace/write-only/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace/write-only/.dirs/runtime 600s # /file/replace/write-only summary: Test various situations for g_file_replace() 600s # Current umask: 2 600s # Test 0, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_I7V0W2 600s # Test 1, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_ABW0W2 600s # Test 2, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_GQ00W2 600s # Test 3, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_8OZ0W2 600s # Test 4, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_PVZ0W2 600s # Test 5, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_ZVZ0W2 600s # Test 6, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_MOY0W2 600s # Test 7, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_2230W2 600s # Test 8, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_2430W2 600s # Test 9, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_K930W2 600s # Test 10, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_OZ20W2 600s # Test 11, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_8O10W2 600s # Test 12, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_3S10W2 600s # Test 13, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_3T10W2 600s # Test 14, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_8X60W2 600s # Test 15, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_WV50W2 600s # Test 16, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_VB50W2 600s # Test 17, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_H890W2 600s # Test 18, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_OP90W2 600s # Test 19, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_LA80W2 600s # Test 20, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_FJ70W2 600s # Test 21, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_IJYZW2 600s # Test 22, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_R9WZW2 600s # Test 23, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_6DXZW2 600s # Test 24, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_581ZW2 600s # Test 25, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_X90ZW2 600s # Test 26, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_2D1ZW2 600s # Test 27, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_7E1ZW2 600s # Test 28, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_OS0ZW2 600s # Test 29, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_AHZZW2 600s # Test 30, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_6KZZW2 600s # Test 31, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_YMZZW2 600s # Test 32, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_9H4ZW2 600s # Test 33, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_A93ZW2 600s # Test 34, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_JD4ZW2 600s # Test 35, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_2L3ZW2 600s # Test 36, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_812ZW2 600s # Test 37, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_UO8ZW2 600s # Test 38, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_EC7ZW2 600s # Test 39, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_S46ZW2 600s # Test 40, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_OQ5ZW2 600s # Test 41, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_7DB0W2 600s # Test 42, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_109ZW2 600s # Test 43, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_RF9ZW2 600s # Test 44, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_B48ZW2 600s # Test 45, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_6RE0W2 600s # Test 46, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_Z2D0W2 600s # Test 47, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_G4D0W2 600s # Test 48, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_VGD0W2 600s # We do not have CAP_DAC_OVERRIDE or equivalent 600s ok 41 /file/replace/write-only 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_WJQEX2/file/replace/read-write/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_WJQEX2/file/replace/read-write/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/replace/read-write/.dirs/runtime 600s # /file/replace/read-write summary: Test various situations for g_file_replace() 600s # Current umask: 2 600s # Test 0, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_6VC0W2 600s # Test 1, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_KXC0W2 600s # Test 2, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_T1H0W2 600s # Test 3, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_KEH0W2 600s # Test 4, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_6PG0W2 600s # Test 5, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0UG0W2 600s # Test 6, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_QZF0W2 600s # Test 7, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0BF0W2 600s # Test 8, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_KFF0W2 600s # Test 9, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0GF0W2 600s # Test 10, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0EK0W2 600s # Test 11, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_Y5I0W2 600s # Test 12, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_H6I0W2 600s # Test 13, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_YAJ0W2 600s # Test 14, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_VCI0W2 600s # Test 15, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_QR21W2 600s # Test 16, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_AD11W2 600s # Test 17, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_44Z1W2 600s # Test 18, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_1951W2 600s # Test 19, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_QR41W2 600s # Test 20, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_R931W2 600s # Test 21, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_O981W2 600s # Test 22, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_BC81W2 600s # Test 23, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_3G81W2 600s # Test 24, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_IS71W2 600s # Test 25, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_VO61W2 600s # Test 26, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_UCC2W2 600s # Test 27, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_XJC2W2 600s # Test 28, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0CB2W2 600s # Test 29, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_W491W2 600s # Test 30, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_5AA2W2 600s # Test 31, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_QJ91W2 600s # Test 32, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_Y3E2W2 600s # Test 33, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_DLE2W2 600s # Test 34, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_WVD2W2 600s # Test 35, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_LZD2W2 600s # Test 36, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_AXC2W2 600s # Test 37, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_R2H2W2 600s # Test 38, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_YQG2W2 600s # Test 39, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_V8F2W2 600s # Test 40, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_A6K2W2 600s # Test 41, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_OVJ2W2 600s # Test 42, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_E8I2W2 600s # Test 43, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_NVO2W2 600s # Test 44, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_WRN2W2 600s # Test 45, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_4ZM2W2 600s # Test 46, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_0EM2W2 600s # Test 47, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_9IM2W2 600s # Test 48, using temporary directory /tmp/test_file_WJQEX2/g_file_replace_PAD1W2 600s # We do not have CAP_DAC_OVERRIDE or equivalent 600s ok 42 /file/replace/read-write 600s # End of replace tests 600s # Start of copy tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/system-config1:/tmp/test_file_WJQEX2/file/copy/progress/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/system-data1:/tmp/test_file_WJQEX2/file/copy/progress/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/copy/progress/.dirs/runtime 600s ok 43 /file/copy/progress 600s # End of copy tests 600s # Start of writev tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/no-bytes-written/.dirs/runtime 600s ok 44 /file/writev/no-bytes-written 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/no-vectors/.dirs/runtime 600s ok 45 /file/writev/no-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/empty-vectors/.dirs/runtime 600s ok 46 /file/writev/empty-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/too-big-vectors/.dirs/runtime 600s ok 47 /file/writev/too-big-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async/.dirs/runtime 600s ok 48 /file/writev/async 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async_all/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async_all/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async_all/.dirs/runtime 600s ok 49 /file/writev/async_all 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async_all-empty-vectors/.dirs/runtime 600s ok 50 /file/writev/async_all-empty-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async_all-no-vectors/.dirs/runtime 600s ok 51 /file/writev/async_all-no-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async_all-to-big-vectors/.dirs/runtime 600s ok 52 /file/writev/async_all-to-big-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/writev/async_all-cancellation/.dirs/runtime 600s ok 53 /file/writev/async_all-cancellation 600s # End of writev tests 600s # Start of from-uri tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/from-uri/ignores-query-string/.dirs/runtime 600s ok 54 /file/from-uri/ignores-query-string 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WJQEX2/file/from-uri/ignores-fragment/.dirs/runtime 600s ok 55 /file/from-uri/ignores-fragment 600s # End of from-uri tests 600s # End of file tests 600s ok - glib/file.test 600s # Running test: glib/deprecated-properties.test 600s TAP version 14 600s # random seed: R02S76d63754732106b44ed98025c33a5c7d 600s 1..3 600s # Start of deprecated-properties tests 600s ok 1 /deprecated-properties/construct 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 600s ok 2 /deprecated-properties/default-construct 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 600s ok 3 /deprecated-properties/set 600s # End of deprecated-properties tests 600s ok - glib/deprecated-properties.test 600s # Running test: glib/timeout.test 600s TAP version 14 600s # random seed: R02S3c8434455a3dadbb43c96729e9d74dac 600s 1..5 600s # Start of timeout tests 600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 602s ok 1 /timeout/seconds 602s # slow test /timeout/seconds executed in 2.10 secs 604s ok 2 /timeout/seconds-once 604s # slow test /timeout/seconds-once executed in 2.10 secs 604s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 604s # Executing: glib/timeout.test 606s ok 3 /timeout/weeks-overflow 606s # slow test /timeout/weeks-overflow executed in 2.10 secs 606s ok 4 /timeout/far-future-ready-time 609s # Executing: glib/timeout.test 614s # Executing: glib/timeout.test 616s ok 5 /timeout/rounding 616s # slow test /timeout/rounding executed in 10.11 secs 616s # End of timeout tests 616s ok - glib/timeout.test 616s # Running test: glib/readwrite.test 616s TAP version 14 616s # random seed: R02S980bd36f43f6efab86c83a5de907880f 616s 1..3 616s # Start of readwrite tests 616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 616s ok 1 /readwrite/test_g_file_open_readwrite 616s ok 2 /readwrite/test_g_file_create_readwrite 616s ok 3 /readwrite/test_g_file_replace_readwrite 616s # End of readwrite tests 616s ok - glib/readwrite.test 616s # Running test: glib/macros-c-99.test 616s TAP version 14 616s # random seed: R02Se5968c428a73057d94503d1825377a9a 616s 1..4 616s # Start of C tests 616s ok 1 /C/standard-99 616s # End of C tests 616s # Start of alignof tests 616s ok 2 /alignof/fallback 616s # End of alignof tests 616s # Start of assert tests 616s ok 3 /assert/static 616s # End of assert tests 616s # Start of struct tests 616s ok 4 /struct/sizeof_member 616s # End of struct tests 616s ok - glib/macros-c-99.test 616s # Running test: glib/rec-mutex.test 616s TAP version 14 616s # random seed: R02Sd715604e261ec2c7a8a4c6c0eee4c0bf 616s 1..29 616s # Start of thread tests 616s ok 1 /thread/rec-mutex1 616s ok 2 /thread/rec-mutex2 616s ok 3 /thread/rec-mutex3 616s ok 4 /thread/rec-mutex4 616s # Start of rec-mutex tests 616s # Start of perf tests 616s # Start of uncontended tests 616s # max perf: inf mips 616s ok 5 /thread/rec-mutex/perf/uncontended/depth1 616s # max perf: 1.000000 mips 616s ok 6 /thread/rec-mutex/perf/uncontended/depth2 616s # max perf: 1.000000 mips 616s ok 7 /thread/rec-mutex/perf/uncontended/depth3 616s # max perf: inf mips 616s ok 8 /thread/rec-mutex/perf/uncontended/depth4 616s # max perf: inf mips 616s ok 9 /thread/rec-mutex/perf/uncontended/depth5 616s # End of uncontended tests 616s # Start of contended1 tests 616s # max perf: inf mips 616s ok 10 /thread/rec-mutex/perf/contended1/depth1 616s # max perf: inf mips 616s ok 11 /thread/rec-mutex/perf/contended1/depth2 616s # max perf: inf mips 616s ok 12 /thread/rec-mutex/perf/contended1/depth3 616s # max perf: inf mips 616s ok 13 /thread/rec-mutex/perf/contended1/depth4 616s # max perf: 2.000000 mips 616s ok 14 /thread/rec-mutex/perf/contended1/depth5 616s # End of contended1 tests 616s # Start of contended2 tests 616s # max perf: inf mips 616s ok 15 /thread/rec-mutex/perf/contended2/depth1 616s # max perf: 3.000000 mips 616s ok 16 /thread/rec-mutex/perf/contended2/depth2 616s # max perf: 3.000000 mips 616s ok 17 /thread/rec-mutex/perf/contended2/depth3 616s # max perf: inf mips 616s ok 18 /thread/rec-mutex/perf/contended2/depth4 616s # max perf: 3.000000 mips 616s ok 19 /thread/rec-mutex/perf/contended2/depth5 616s # End of contended2 tests 616s # Start of contended3 tests 616s # max perf: inf mips 616s ok 20 /thread/rec-mutex/perf/contended3/depth1 616s # max perf: inf mips 616s ok 21 /thread/rec-mutex/perf/contended3/depth2 616s # max perf: inf mips 616s ok 22 /thread/rec-mutex/perf/contended3/depth3 616s # max perf: inf mips 616s ok 23 /thread/rec-mutex/perf/contended3/depth4 616s # max perf: 4.000000 mips 616s ok 24 /thread/rec-mutex/perf/contended3/depth5 616s # End of contended3 tests 616s # Start of contended4 tests 616s # max perf: 5.000000 mips 616s ok 25 /thread/rec-mutex/perf/contended4/depth1 616s # max perf: inf mips 616s ok 26 /thread/rec-mutex/perf/contended4/depth2 616s # max perf: 5.000000 mips 616s ok 27 /thread/rec-mutex/perf/contended4/depth3 616s # max perf: inf mips 616s ok 28 /thread/rec-mutex/perf/contended4/depth4 616s # max perf: 5.000000 mips 616s ok 29 /thread/rec-mutex/perf/contended4/depth5 616s # End of contended4 tests 616s # End of perf tests 616s # End of rec-mutex tests 616s # End of thread tests 616s ok - glib/rec-mutex.test 616s # Running test: glib/utils-c-11.test 616s TAP version 14 616s # random seed: R02S1d26742b90311507b64a921c27febd94 616s 1..40 616s # Start of utils tests 616s ok 1 /utils/language-names 616s ok 2 /utils/locale-variants 616s ok 3 /utils/version 616s ok 4 /utils/appname 616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 616s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 616s ok 5 /utils/prgname-thread-safety 616s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 616s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 616s ok 6 /utils/tmpdir 616s ok 7 /utils/basic_bits 616s ok 8 /utils/bits 616s ok 9 /utils/swap 616s ok 10 /utils/find-program 616s ok 11 /utils/find-program-for-path 616s ok 12 /utils/debug 616s ok 13 /utils/codeset 616s ok 14 /utils/codeset2 616s ok 15 /utils/console-charset 616s ok 16 /utils/gettext 616s ok 17 /utils/username 616s ok 18 /utils/realname 616s ok 19 /utils/hostname 616s ok 20 /utils/xdgdirs 616s ok 21 /utils/specialdir 616s # NAME: Ubuntu 616s ok 22 /utils/os-info 616s ok 23 /utils/clear-pointer 617s ok 24 /utils/clear-pointer-cast 617s ok 25 /utils/take-pointer 617s ok 26 /utils/clear-source 617s ok 27 /utils/misc-mem 617s # /utils/aligned-mem summary: Aligned memory allocator 617s # Alignment must not be zero 617s # Alignment must be a power of two 617s # Alignment must be a multiple of sizeof(void*) 617s ok 28 /utils/aligned-mem 617s # /utils/free-sized summary: Check that g_free_sized() works 617s ok 29 /utils/free-sized 617s ok 30 /utils/nullify 617s ok 31 /utils/atexit 617s ok 32 /utils/check-setuid 617s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 617s ok 33 /utils/int-limits 617s ok 34 /utils/clear-list 617s ok 35 /utils/clear-slist 617s # Start of specialdir tests 617s ok 36 /utils/specialdir/desktop 617s # End of specialdir tests 617s # Start of clear-pointer tests 617s ok 37 /utils/clear-pointer/side-effects 617s # End of clear-pointer tests 617s # Start of aligned-mem tests 617s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 617s ok 38 /utils/aligned-mem/alignment 617s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 617s ok 39 /utils/aligned-mem/zeroed 617s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 617s ok 40 /utils/aligned-mem/free-sized 617s # Start of subprocess tests 617s # End of subprocess tests 617s # End of aligned-mem tests 617s # End of utils tests 617s ok - glib/utils-c-11.test 617s # Running test: glib/power-profile-monitor-portal.test 617s TAP version 13 617s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 617s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 617s 1..2 617s ok - glib/power-profile-monitor-portal.test 617s # Running test: glib/init.test 617s TAP version 14 617s # random seed: R02Saed7e24ee693cefad17ea379bb3eb72e 617s 1..2 617s # Start of thread tests 617s # Start of deprecated tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_6L44W2/thread/deprecated/init/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_6L44W2/thread/deprecated/init/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6L44W2/thread/deprecated/init/.dirs/runtime 617s ok 1 /thread/deprecated/init 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6L44W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 617s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 617s # End of deprecated tests 617s # End of thread tests 617s ok - glib/init.test 617s # Running test: glib/search-utils.test 617s TAP version 14 617s # random seed: R02Sc17e76d4d89430ac8f446eab054bdd62 617s # GLib-DEBUG: Current user locale: C.UTF-8 617s 1..6 617s # Start of search tests 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 617s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 617s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 617s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 617s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 617s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 617s ok 1 /search/basic 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 617s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 617s # GLib-DEBUG: 'ele' - 'élève' should match: OK 617s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 617s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 617s ok 2 /search/composed 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 617s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 617s ok 3 /search/decomposed 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 617s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 617s ok 4 /search/turkish 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 617s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 617s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 617s ok 5 /search/c_locale_unicode 617s # GLib-DEBUG: Started 617s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 617s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 617s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 617s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 617s ok 6 /search/multi_words 617s # End of search tests 617s ok - glib/search-utils.test 617s # Running test: glib/sandbox.test 617s TAP version 14 617s # random seed: R02Se34372e652796a57b55ff7eeb388b9a0 617s 1..4 617s # Start of sandbox tests 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_1654W2/sandbox/none/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_1654W2/sandbox/none/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_1654W2/sandbox/none/.dirs/runtime 617s ok 1 /sandbox/none 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_1654W2/sandbox/snap/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_1654W2/sandbox/snap/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_1654W2/sandbox/snap/.dirs/runtime 617s # Created snap.yaml in /tmp/test_sandbox_1654W2/snap/current/meta/snap.yaml 617s ok 2 /sandbox/snap 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_1654W2/sandbox/classic-snap/.dirs/runtime 617s # Created snap.yaml in /tmp/test_sandbox_1654W2/snap/current/meta/snap.yaml 617s ok 3 /sandbox/classic-snap 617s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/home 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/cache 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/system-config2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/config 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/system-data2 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/data 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/state 617s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/runtime 617s # Creating .flatpak-info in /tmp/test_sandbox_1654W2/sandbox/flatpak/.dirs/runtime/.flatpak-info 617s ok 4 /sandbox/flatpak 617s # End of sandbox tests 617s ok - glib/sandbox.test 617s # Running test: glib/hmac.test 617s TAP version 14 617s # random seed: R02Sfedd47a0665a1a45073a14855e8f1625 617s 1..37 617s # Start of hmac tests 617s ok 1 /hmac/sha1-1 617s ok 2 /hmac/sha1-2 617s ok 3 /hmac/sha1-3 617s ok 4 /hmac/sha1-4 617s ok 5 /hmac/sha1-5 617s ok 6 /hmac/sha1-6 617s ok 7 /hmac/sha1-7 617s ok 8 /hmac/sha256-1 617s ok 9 /hmac/sha256-2 617s ok 10 /hmac/sha256-3 617s ok 11 /hmac/sha256-4 617s ok 12 /hmac/sha256-5 617s ok 13 /hmac/sha256-6 617s ok 14 /hmac/sha384-1 617s ok 15 /hmac/sha384-2 617s ok 16 /hmac/sha384-3 617s ok 17 /hmac/sha384-4 617s ok 18 /hmac/sha384-5 617s ok 19 /hmac/sha384-6 617s ok 20 /hmac/sha512-1 617s ok 21 /hmac/sha512-2 617s ok 22 /hmac/sha512-3 617s ok 23 /hmac/sha512-4 617s ok 24 /hmac/sha512-5 617s ok 25 /hmac/sha512-6 617s ok 26 /hmac/md5-1 617s ok 27 /hmac/md5-2 617s ok 28 /hmac/md5-3 617s ok 29 /hmac/md5-4 617s ok 30 /hmac/md5-5 617s ok 31 /hmac/md5-6 617s ok 32 /hmac/md5-7 617s ok 33 /hmac/ref-unref 617s ok 34 /hmac/copy 617s ok 35 /hmac/for-data 617s ok 36 /hmac/for-string 617s ok 37 /hmac/for-bytes 617s # End of hmac tests 617s ok - glib/hmac.test 617s # Running test: glib/network-address.test 617s TAP version 14 617s # random seed: R02S040c6f3d6042fcccaf4bf9cad40dd3c6 617s 1..72 617s # Start of network-address tests 617s ok 1 /network-address/basic 617s ok 2 /network-address/scope-id 617s ok 3 /network-address/uri-scope-id 617s ok 4 /network-address/to-string 617s # Start of parse-host tests 617s ok 5 /network-address/parse-host/0 617s ok 6 /network-address/parse-host/1 617s ok 7 /network-address/parse-host/2 617s ok 8 /network-address/parse-host/3 617s ok 9 /network-address/parse-host/4 617s ok 10 /network-address/parse-host/5 617s ok 11 /network-address/parse-host/6 617s ok 12 /network-address/parse-host/7 617s ok 13 /network-address/parse-host/8 617s ok 14 /network-address/parse-host/9 617s ok 15 /network-address/parse-host/10 617s ok 16 /network-address/parse-host/11 617s ok 17 /network-address/parse-host/12 617s ok 18 /network-address/parse-host/13 617s # End of parse-host tests 617s # Start of parse-uri tests 617s ok 19 /network-address/parse-uri/0 617s ok 20 /network-address/parse-uri/1 617s ok 21 /network-address/parse-uri/2 617s ok 22 /network-address/parse-uri/3 617s ok 23 /network-address/parse-uri/4 617s ok 24 /network-address/parse-uri/5 617s ok 25 /network-address/parse-uri/6 617s ok 26 /network-address/parse-uri/7 617s ok 27 /network-address/parse-uri/8 617s ok 28 /network-address/parse-uri/9 617s # End of parse-uri tests 617s # Start of resolve-address tests 617s # Input: 192.168.1.2 617s ok 29 /network-address/resolve-address/0 617s # Input: fe80::42 617s ok 30 /network-address/resolve-address/1 617s # Input: 192.168.1.2:80 617s ok 31 /network-address/resolve-address/2 617s # Input: [fe80::42] 617s ok 32 /network-address/resolve-address/3 617s # Input: [fe80::42]:80 617s ok 33 /network-address/resolve-address/4 617s # Input: 192.168.258 617s ok 34 /network-address/resolve-address/5 617s # Input: 192.11010306 617s ok 35 /network-address/resolve-address/6 617s # Input: 3232235778 617s ok 36 /network-address/resolve-address/7 617s # Input: 0300.0250.0001.0001 617s ok 37 /network-address/resolve-address/8 617s # Input: 0xC0.0xA8.0x01.0x02 617s ok 38 /network-address/resolve-address/9 617s # Input: 0xc0.0xa8.0x01.0x02 617s ok 39 /network-address/resolve-address/10 617s # Input: 0xc0a80102 617s ok 40 /network-address/resolve-address/11 617s # End of resolve-address tests 617s # Start of loopback tests 617s ok 41 /network-address/loopback/basic 617s ok 42 /network-address/loopback/sync 617s ok 43 /network-address/loopback/async 617s # End of loopback tests 617s # Start of localhost tests 617s ok 44 /network-address/localhost/async 617s ok 45 /network-address/localhost/sync 617s # End of localhost tests 617s # Start of happy-eyeballs tests 617s ok 46 /network-address/happy-eyeballs/basic 617s ok 47 /network-address/happy-eyeballs/parallel 617s ok 48 /network-address/happy-eyeballs/slow-ipv4 617s ok 49 /network-address/happy-eyeballs/slow-ipv6 618s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 618s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 618s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 618s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 618s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 618s # /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. 618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 618s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 618s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 619s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 619s ok 57 /network-address/happy-eyeballs/both-error 619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 619s ok 58 /network-address/happy-eyeballs/both-error-delays-1 619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 619s ok 59 /network-address/happy-eyeballs/both-error-delays-2 619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 619s ok 60 /network-address/happy-eyeballs/both-error-delays-3 619s # End of happy-eyeballs tests 619s # End of network-address tests 619s # Start of gresolver tests 619s # Start of resolve-address tests 619s # Input: 192.168.1.2 619s ok 61 /gresolver/resolve-address/0 619s # Input: fe80::42 619s ok 62 /gresolver/resolve-address/1 619s # Input: 192.168.1.2:80 619s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 619s ok 63 /gresolver/resolve-address/2 619s # Input: [fe80::42] 619s # Error: Error resolving ?[fe80::42]?: Name or service not known 619s ok 64 /gresolver/resolve-address/3 619s # Input: [fe80::42]:80 619s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 619s ok 65 /gresolver/resolve-address/4 619s # Input: 192.168.258 619s # Error: Error resolving ?192.168.258?: Name or service not known 619s ok 66 /gresolver/resolve-address/5 619s # Input: 192.11010306 619s # Error: Error resolving ?192.11010306?: Name or service not known 619s ok 67 /gresolver/resolve-address/6 619s # Input: 3232235778 619s # Error: Error resolving ?3232235778?: Name or service not known 619s ok 68 /gresolver/resolve-address/7 619s # Input: 0300.0250.0001.0001 619s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 619s ok 69 /gresolver/resolve-address/8 619s # Input: 0xC0.0xA8.0x01.0x02 619s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 619s ok 70 /gresolver/resolve-address/9 619s # Input: 0xc0.0xa8.0x01.0x02 619s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 619s ok 71 /gresolver/resolve-address/10 619s # Input: 0xc0a80102 619s # Error: Error resolving ?0xc0a80102?: Name or service not known 619s ok 72 /gresolver/resolve-address/11 619s # End of resolve-address tests 619s # End of gresolver tests 619s ok - glib/network-address.test 619s # Running test: glib/socket-address.test 619s TAP version 14 619s # random seed: R02Sfe262917fefc4a392d23ec015caf320a 619s 1..2 619s # Start of socket tests 619s # Start of address tests 619s # Start of unix tests 619s ok 1 /socket/address/unix/construct 619s ok 2 /socket/address/unix/to-string 619s # End of unix tests 619s # End of address tests 619s # End of socket tests 619s ok - glib/socket-address.test 619s # Running test: glib/accumulator.test 619s TAP version 14 619s # random seed: R02Sf80b54301516532c52f09f49d53c945d 619s 1..1 619s # Start of gobject tests 619s ok 1 /gobject/accumulator 619s # End of gobject tests 619s ok - glib/accumulator.test 619s # Running test: glib/resources.test 619s TAP version 14 619s # random seed: R02S6c8a2ff2656768b0b72bcb3c8c8cfaec 619s 1..17 619s # Start of resource tests 619s ok 1 /resource/file 619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 619s ok 2 /resource/file-path 619s ok 3 /resource/data 619s ok 4 /resource/data_unaligned 619s ok 5 /resource/data-corrupt 619s ok 6 /resource/data-empty 619s ok 7 /resource/registered 619s ok 8 /resource/manual 619s ok 9 /resource/manual2 619s ok 10 /resource/automatic 619s ok 11 /resource/module 619s ok 12 /resource/binary-linked 619s ok 13 /resource/64k 619s GLib-GIO-Message: 11:32:33.057: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 619s ok 14 /resource/overlay 619s ok 15 /resource/digits 619s # Start of uri tests 619s ok 16 /resource/uri/query-info 619s ok 17 /resource/uri/file 619s # End of uri tests 619s # End of resource tests 619s ok - glib/resources.test 619s # Running test: glib/gobject-private.test 619s TAP version 14 619s # random seed: R02Sad8ef811e8dfd601eee44ce1d6c2bec8 619s 1..3 619s # Start of private tests 619s ok 1 /private/instance 619s ok 2 /private/derived-instance 619s ok 3 /private/mixed-derived-instance 619s # End of private tests 619s ok - glib/gobject-private.test 619s # Running test: glib/value.test 619s TAP version 14 619s # random seed: R02Sb1b8cb4e4daccd9bb2c3b976f674523f 619s 1..9 619s # Start of value tests 619s ok 1 /value/basic 619s ok 2 /value/collection 619s ok 3 /value/copying 619s ok 4 /value/enum-transformation 619s ok 5 /value/gtype 619s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 619s ok 6 /value/string 619s # Next: GObject object in GValue of GObject to GValue of GObject 619s # Next: GObject object in GValue of GObject to GValue of TestInterface 619s # Next: GObject object in GValue of GObject to GValue of TestObjectA 619s # Next: GObject object in GValue of GObject to GValue of TestObjectB 619s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 619s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 619s # Next: TestObjectA object in GValue of GObject to GValue of GObject 619s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 619s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 619s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 619s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 619s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 619s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 619s # Next: TestObjectB object in GValue of GObject to GValue of GObject 619s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 619s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 619s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 619s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 619s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 619s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 619s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 619s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 619s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 619s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 619s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 619s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 619s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 619s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 619s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 619s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 619s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 619s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 619s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 619s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 619s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 619s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 619s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 619s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 619s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 619s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 619s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 619s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 619s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 619s ok 7 /value/transform-object 619s # Start of array tests 619s ok 8 /value/array/basic 619s ok 9 /value/array/sort-with-data 619s # End of array tests 619s # End of value tests 619s ok - glib/value.test 619s # Running test: glib/signals-refcount3.test 619s TAP version 14 619s # random seed: R02S3f30836a15ddcff9ae0b85b603d70db0 619s 1..1 619s # Start of gobject tests 619s # Start of refcount tests 619s # init 0x2aa0faf6420 619s # 619s # init 0x2aa0faf65c0 619s # 619s # Executing: glib/signals-refcount3.test 624s # dispose 0x2aa0faf6420! 624s # 624s # dispose 0x2aa0faf65c0! 624s # 624s ok 1 /gobject/refcount/signals 624s # slow test /gobject/refcount/signals executed in 5.00 secs 624s # End of refcount tests 624s # End of gobject tests 624s ok - glib/signals-refcount3.test 624s # Running test: glib/simple-async-result.test 624s TAP version 14 624s # random seed: R02Sf8d9773189cda9891fad653e6a62ce67 624s 1..2 624s # Start of gio tests 624s # Start of simple-async-result tests 624s ok 1 /gio/simple-async-result/test 624s # GLib-GIO-DEBUG: GTask 0x2aa1bff0720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 624s ok 2 /gio/simple-async-result/valid 624s # End of simple-async-result tests 624s # End of gio tests 624s ok - glib/simple-async-result.test 624s # Running test: glib/null-settings-backend.test 624s TAP version 14 624s # random seed: R02S4566b9cfce7ffc842014e057736ba14e 624s 1..1 624s # Start of null-settings-backend tests 624s ok 1 /null-settings-backend/extension-point-registered 624s # End of null-settings-backend tests 624s ok - glib/null-settings-backend.test 624s # Running test: glib/gdbus-close-pending.test 624s TAP version 14 624s # random seed: R02Sc641311fb68973580cde933834a50ebd 624s 1..2 624s # Start of gdbus tests 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/close-pending/.dirs/runtime 624s ok 1 /gdbus/close-pending 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_BHV7W2/gdbus/unref-pending/.dirs/runtime 624s ok 2 /gdbus/unref-pending 624s # End of gdbus tests 624s ok - glib/gdbus-close-pending.test 624s # Running test: glib/gdbus-addresses.test 624s TAP version 14 624s # random seed: R02S2f9bf9eae53c20ddecb9694ff9ecbd76 624s 1..9 624s # Start of gdbus tests 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/empty-address/.dirs/runtime 624s ok 1 /gdbus/empty-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unsupported-address/.dirs/runtime 624s ok 2 /gdbus/unsupported-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/address-parsing/.dirs/runtime 624s ok 3 /gdbus/address-parsing 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/unix-address/.dirs/runtime 624s ok 4 /gdbus/unix-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/nonce-tcp-address/.dirs/runtime 624s ok 5 /gdbus/nonce-tcp-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/tcp-address/.dirs/runtime 624s ok 6 /gdbus/tcp-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/autolaunch-address/.dirs/runtime 624s ok 7 /gdbus/autolaunch-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/mixed-address/.dirs/runtime 624s ok 8 /gdbus/mixed-address 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NXEHX2/gdbus/escape-address/.dirs/runtime 624s ok 9 /gdbus/escape-address 624s # End of gdbus tests 624s ok - glib/gdbus-addresses.test 624s # Running test: glib/repository.test 624s TAP version 14 624s # random seed: R02Sbed359382b7e9e7bc57ce7cc886854da 624s 1..23 624s # Start of repository tests 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/basic/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/basic/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/basic/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/basic/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/basic/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/basic/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/basic/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/basic/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/basic/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/basic/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 624s ok 1 /repository/basic 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/info/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/info/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/info/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/info/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/info/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/info/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/info/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/info/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/info/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/info/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/info summary: Test retrieving some basic info blobs from a typelib 624s ok 2 /repository/info 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/dependencies/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/dependencies/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/dependencies/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 624s ok 3 /repository/dependencies 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/arg-info/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/arg-info/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/arg-info/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 624s ok 4 /repository/arg-info 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/callable-info/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/callable-info/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/callable-info/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 624s ok 5 /repository/callable-info 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/callback-info/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/callback-info/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/callback-info/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 624s ok 6 /repository/callback-info 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/char-types/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/char-types/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/char-types/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 624s ok 7 /repository/char-types 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/constructor-return-type/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 624s ok 8 /repository/constructor-return-type 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/enum-info-c-identifier/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 624s ok 9 /repository/enum-info-c-identifier 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/enum-info-static-methods/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/enum-info-static-methods summary: Test an enum with methods 624s ok 10 /repository/enum-info-static-methods 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/error-quark/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/error-quark/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/error-quark/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/error-quark summary: Test finding an error quark by error domain 624s ok 11 /repository/error-quark 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/flags-info-c-identifier/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 624s ok 12 /repository/flags-info-c-identifier 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/fundamental-ref-func/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 624s ok 13 /repository/fundamental-ref-func 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/instance-method-ownership-transfer/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 624s ok 14 /repository/instance-method-ownership-transfer 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/object-gtype-interfaces/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 624s ok 15 /repository/object-gtype-interfaces 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/signal-info-with-array-length-arg/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 624s ok 16 /repository/signal-info-with-array-length-arg 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/type-info-name/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 624s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 624s ok 17 /repository/type-info-name 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 624s ok 18 /repository/vfunc-info-with-no-invoker 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 624s ok 19 /repository/vfunc-info-with-invoker-on-interface 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 624s ok 20 /repository/vfunc-info-with-invoker-on-object 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/find-by-gtype/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/find-by-gtype summary: Test finding a GType 624s ok 21 /repository/find-by-gtype 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/loaded-namespaces/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/loaded-namespaces summary: Test listing loaded namespaces 624s ok 22 /repository/loaded-namespaces 624s # Start of base-info tests 624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/home 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/cache 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/system-config2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/config 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/system-data2 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/data 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/state 624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3IWIX2/repository/base-info/clear/.dirs/runtime 624s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 624s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 624s ok 23 /repository/base-info/clear 624s # End of base-info tests 624s # End of repository tests 624s ok - glib/repository.test 624s # Running test: glib/list.test 624s TAP version 14 624s # random seed: R02S10c5e8098aa26001ff4b08537af49e5f 624s 1..20 624s # Start of list tests 624s ok 1 /list/sort 624s ok 2 /list/sort-with-data 624s ok 3 /list/insert-before-link 624s ok 4 /list/insert-sorted 624s ok 5 /list/insert-sorted-with-data 624s ok 6 /list/reverse 624s ok 7 /list/nth 624s ok 8 /list/concat 624s ok 9 /list/remove 624s ok 10 /list/remove-all 624s ok 11 /list/first-last 624s ok 12 /list/insert 624s ok 13 /list/free-full 624s ok 14 /list/copy 624s ok 15 /list/copy-deep 624s ok 16 /list/delete-link 624s ok 17 /list/prepend 624s ok 18 /list/position 624s ok 19 /list/double-free 624s # Start of sort tests 624s ok 20 /list/sort/stable 624s # End of sort tests 624s # End of list tests 624s ok - glib/list.test 624s # Running test: glib/references.test 624s TAP version 14 624s # random seed: R02S924f7e52b50a204cacea8b3ee9a5e13e 624s 1..1 624s # Start of gobject tests 624s ok 1 /gobject/references 624s # End of gobject tests 624s ok - glib/references.test 624s # Running test: glib/logging.test 624s TAP version 14 624s # random seed: R02Sf533f0719bc92071d07b04ef0427d1b2 624s 1..17 624s # Start of logging tests 624s # Executing: glib/logging.test 625s ok 1 /logging/default-handler 625s # slow test /logging/default-handler executed in 0.51 secs 625s ok 2 /logging/warnings 625s ok 3 /logging/fatal-log-mask 625s # bu-DEBUG: message 625s # ba-DEBUG: message 625s # ba-INFO: message 625s ok 4 /logging/set-handler 625s ok 5 /logging/print-handler 625s ok 6 /logging/printerr-handler 625s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 625s # The Log Message Handler 625s # 625s # The Good Fail Message Handler 625s # 625s ok 7 /logging/653052 625s ok 8 /logging/gibberish 625s # Start of default-handler tests 625s # Start of subprocess tests 625s # End of subprocess tests 625s # End of default-handler tests 625s # End of logging tests 625s # Start of structured-logging tests 625s ok 9 /structured-logging/no-state 625s ok 10 /structured-logging/some-state 625s ok 11 /structured-logging/robustness 625s ok 12 /structured-logging/roundtrip1 625s ok 13 /structured-logging/roundtrip2 625s ok 14 /structured-logging/roundtrip3 625s ok 15 /structured-logging/variant1 625s ok 16 /structured-logging/variant2 625s ok 17 /structured-logging/set-writer-func-twice 625s # End of structured-logging tests 625s ok - glib/logging.test 625s # Running test: glib/thread-deprecated.test 625s TAP version 14 625s # random seed: R02S1ed36490c0523b4f8a4e0d4199bfa328 625s 1..6 625s # Start of thread tests 625s ok 1 /thread/mutex 625s ok 2 /thread/static-rec-mutex 629s # Executing: glib/thread-deprecated.test 630s ok 3 /thread/static-private 630s # slow test /thread/static-private executed in 4.40 secs 634s # Executing: glib/thread-deprecated.test 635s ok 4 /thread/static-rw-lock 635s # slow test /thread/static-rw-lock executed in 5.00 secs 635s ok 5 /thread/once 639s # Executing: glib/thread-deprecated.test 644s # Executing: glib/thread-deprecated.test 645s ok 6 /thread/rerun-all 645s # slow test /thread/rerun-all executed in 10.02 secs 645s # End of thread tests 645s ok - glib/thread-deprecated.test 645s # Running test: glib/mappedfile.test 645s TAP version 14 645s # random seed: R02S920ecf90accb9bfa99a8f98bb956851a 645s 1..7 645s # Start of mappedfile tests 645s ok 1 /mappedfile/basic 645s ok 2 /mappedfile/empty 645s ok 3 /mappedfile/device 645s ok 4 /mappedfile/nonexisting 645s ok 5 /mappedfile/writable 645s ok 6 /mappedfile/writable_fd 645s ok 7 /mappedfile/gbytes 645s # End of mappedfile tests 645s ok - glib/mappedfile.test 645s # Running test: glib/dynamictests.test 645s TAP version 14 645s # random seed: R02S7e00682eae409d1eb46a93248abdcff5 645s 1..2 645s # Start of GObject tests 645s ok 1 /GObject/threaded-dynamic-ref-unref-init 645s ok 2 /GObject/dynamic-interface-properties 645s # End of GObject tests 645s ok - glib/dynamictests.test 645s # Running test: glib/gthash.test 645s TAP version 14 645s # random seed: R02Se3299e0f16c12fcf5c9755138f03ce99 645s 1..1 645s # Start of gthash tests 645s ok 1 /gthash/build-retrieve 645s # End of gthash tests 645s ok - glib/gthash.test 645s # Running test: glib/gdbus-connection.test 645s TAP version 14 645s # random seed: R02S7c6de00b7c73efae7cc315fc5cc86e67 645s 1..9 645s # Start of gdbus tests 645s # Start of connection tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/bus-failure/.dirs/runtime 645s ok 1 /gdbus/connection/bus-failure 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/basic/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 2 /gdbus/connection/basic 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/life-cycle/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 3 /gdbus/connection/life-cycle 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/send/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 4 /gdbus/connection/send 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signals/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 5 /gdbus/connection/signals 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/signal-match-rules/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 6 /gdbus/connection/signal-match-rules 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/filter/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 7 /gdbus/connection/filter 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/serials/.dirs/runtime 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 8 /gdbus/connection/serials 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_L5FAX2/gdbus/connection/cancel/.dirs/runtime 645s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 9 /gdbus/connection/cancel 645s # End of connection tests 645s # End of gdbus tests 645s ok - glib/gdbus-connection.test 645s # Running test: glib/gdbus-proxy-well-known-name.test 645s TAP version 14 645s # random seed: R02S8cb21287a951bf80078f885a8af993fa 645s 1..1 645s # Start of gdbus tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_O8W9W2/gdbus/proxy-well-known-name/.dirs/runtime 645s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 645s ok 1 /gdbus/proxy-well-known-name 645s # End of gdbus tests 645s ok - glib/gdbus-proxy-well-known-name.test 645s # Running test: glib/pathbuf.test 645s TAP version 14 645s # random seed: R02S5f1ab3c89e3ba5d980bac31c6a88240e 645s 1..3 645s # Start of pathbuf tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Y8AAX2/pathbuf/init/.dirs/runtime 645s # Initializing empty path buf 645s # Initializing with empty path 645s # Initializing with full path 645s # Initializing with no path 645s # Allocating GPathBuf on the heap 645s ok 1 /pathbuf/init 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Y8AAX2/pathbuf/push-pop/.dirs/runtime 645s # Pushing relative path component 645s # Pushing absolute path component 645s # Popping a path component 645s # Can't pop the last element of a path buffer 645s ok 2 /pathbuf/push-pop 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Y8AAX2/pathbuf/filename-extension/.dirs/runtime 645s ok 3 /pathbuf/filename-extension 645s # End of pathbuf tests 645s ok - glib/pathbuf.test 645s # Running test: glib/spawn-test.test 645s TAP version 14 645s # random seed: R02S33b47608e94b95a4d2337b0f39e25251 645s 1..2 645s # Start of spawn tests 645s ok 1 /spawn/basics 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 645s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 645s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 645s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 645s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 645s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 645s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 645s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 645s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 645s # Fetching GSpawn result output with stdin open, stdout open, stderr open 645s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 645s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 645s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 645s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 645s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 645s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 645s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 645s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 645s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 645s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 645s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 645s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 645s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 645s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 645s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 645s # Fetching GSpawn result with stdin open, stdout open, stderr open 645s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 645s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 645s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 645s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 645s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 645s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 645s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 645s ok 2 /spawn/stdio-overwrite 645s # End of spawn tests 645s ok - glib/spawn-test.test 645s # Running test: glib/performance-threaded.test 645s Running test "liststore-is-a" 646s 14914 runs, min/avg/max = 0.064/0.067/1.003 ms 646s Running test "liststore-interface-peek" 647s 16902 runs, min/avg/max = 0.050/0.059/4.438 ms 647s Running test "liststore-interface-peek-same" 648s 16099 runs, min/avg/max = 0.050/0.062/5.217 ms 648s ok - glib/performance-threaded.test 648s # Running test: glib/gnotification.test 648s TAP version 14 648s # random seed: R02S8135f076cf0d76026240b1b437e97f04 648s 1..2 648s # Start of gnotification tests 648s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 648s ok 1 /gnotification/basic 648s ok 2 /gnotification/properties 648s # End of gnotification tests 648s ok - glib/gnotification.test 648s # Running test: glib/socket-service.test 648s TAP version 14 648s # random seed: R02Sdab52ce387a4dcf4a700594df5b7201b 648s 1..4 648s # Start of socket-service tests 648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2ab46370 and GSocketClientAsyncConnectData 0x2aa2ab3e620 648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 648s ok 1 /socket-service/start-stop 648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2ab47ed0 and GSocketClientAsyncConnectData 0x2aa2ab47c70 648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2ab483e0 for GSocketClientAsyncConnectData 0x2aa2ab3e620 648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2ab49260 for GSocketClientAsyncConnectData 0x2aa2ab47c70 648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 648s ok 2 /socket-service/read_write_async 648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2ab4bfb0 and GSocketClientAsyncConnectData 0x2aa2ab499d0 648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2ab4a190 for GSocketClientAsyncConnectData 0x2aa2ab499d0 648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 648s ok 3 /socket-service/read_writev_async 648s # Start of threaded tests 648s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 648s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2ab4d710 and GSocketClientAsyncConnectData 0x2aa2ab49d50 648s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 648s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 648s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2ab4d940 for GSocketClientAsyncConnectData 0x2aa2ab49d50 648s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 648s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 648s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 648s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 648s ok 4 /socket-service/threaded/712570 648s # End of threaded tests 648s # End of socket-service tests 648s ok - glib/socket-service.test 648s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=177.3s; system=41.7s; maxrss=423876 648s autopkgtest [11:33:02]: test installed-tests: -----------------------] 650s installed-tests PASS 650s autopkgtest [11:33:04]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 651s autopkgtest [11:33:05]: test closure-refcount: preparing testbed 652s Reading package lists... 652s Building dependency tree... 652s Reading state information... 652s Starting pkgProblemResolver with broken count: 0 652s Starting 2 pkgProblemResolver with broken count: 0 652s Done 653s The following NEW packages will be installed: 653s autopkgtest-satdep 653s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 653s Need to get 0 B/776 B of archives. 653s After this operation, 0 B of additional disk space will be used. 653s Get:1 /tmp/autopkgtest.6MOKpm/4-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 653s Selecting previously unselected package autopkgtest-satdep. 653s (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 ... 56974 files and directories currently installed.) 653s Preparing to unpack .../4-autopkgtest-satdep.deb ... 653s Unpacking autopkgtest-satdep (0) ... 653s Setting up autopkgtest-satdep (0) ... 655s (Reading database ... 56974 files and directories currently installed.) 655s Removing autopkgtest-satdep (0) ... 655s autopkgtest [11:33:09]: test closure-refcount: [----------------------- 656s Running test: glib/closure-refcount.test 656s TAP version 14 656s # random seed: R02Sb13a4cbb1a0bba3de2a663e815755210 656s 1..1 656s # Start of closure tests 656s # Init 0x2aa400ee0a0 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread1 656s # Yielding from main thread 656s # Yielding from thread2 656s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from thread2 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from main thread 657s # Yielding from thread2 657s # Yielding from thread1 657s # Yielding from main thread 657s # Yielding from thread2 657s # Stopping 657s # Stopped 657s ok 1 /closure/refcount 657s # slow test /closure/refcount executed in 1.48 secs 657s # End of closure tests 657s PASS: glib/closure-refcount.test 657s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.7s; system=0.0s; maxrss=3600 657s autopkgtest [11:33:11]: test closure-refcount: -----------------------] 658s closure-refcount PASS 658s autopkgtest [11:33:12]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 658s autopkgtest [11:33:12]: test debugcontroller: preparing testbed 660s Reading package lists... 660s Building dependency tree... 660s Reading state information... 660s Starting pkgProblemResolver with broken count: 0 660s Starting 2 pkgProblemResolver with broken count: 0 660s Done 661s The following NEW packages will be installed: 661s autopkgtest-satdep 661s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 661s Need to get 0 B/776 B of archives. 661s After this operation, 0 B of additional disk space will be used. 661s Get:1 /tmp/autopkgtest.6MOKpm/5-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 661s Selecting previously unselected package autopkgtest-satdep. 661s (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 ... 56974 files and directories currently installed.) 661s Preparing to unpack .../5-autopkgtest-satdep.deb ... 661s Unpacking autopkgtest-satdep (0) ... 661s Setting up autopkgtest-satdep (0) ... 662s (Reading database ... 56974 files and directories currently installed.) 662s Removing autopkgtest-satdep (0) ... 663s autopkgtest [11:33:17]: test debugcontroller: [----------------------- 663s Running test: glib/debugcontroller.test 663s TAP version 14 663s # random seed: R02Sc46124e38be542d3dcaa1953c9693b39 663s 1..3 663s # Start of debug-controller tests 663s # Start of dbus tests 663s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 663s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 663s # GLib-GIO-DEBUG: Debug output enabled 663s # GLib-GIO-DEBUG: Debug output disabled 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s ok 1 /debug-controller/dbus/basic 663s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 663s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s ok 2 /debug-controller/dbus/duplicate 663s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 663s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 663s # GLib-GIO-DEBUG: Debug output enabled 663s # GLib-GIO-DEBUG: Debug output disabled 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 663s ok 3 /debug-controller/dbus/properties 663s # End of dbus tests 663s # End of debug-controller tests 663s PASS: glib/debugcontroller.test 663s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6336 664s autopkgtest [11:33:18]: test debugcontroller: -----------------------] 664s debugcontroller PASS 664s autopkgtest [11:33:18]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 665s autopkgtest [11:33:19]: test gdbus-server-auth: preparing testbed 666s Reading package lists... 667s Building dependency tree... 667s Reading state information... 667s Starting pkgProblemResolver with broken count: 0 667s Starting 2 pkgProblemResolver with broken count: 0 667s Done 667s The following NEW packages will be installed: 667s autopkgtest-satdep 667s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 667s Need to get 0 B/776 B of archives. 667s After this operation, 0 B of additional disk space will be used. 667s Get:1 /tmp/autopkgtest.6MOKpm/6-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 667s Selecting previously unselected package autopkgtest-satdep. 667s (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 ... 56974 files and directories currently installed.) 667s Preparing to unpack .../6-autopkgtest-satdep.deb ... 667s Unpacking autopkgtest-satdep (0) ... 667s Setting up autopkgtest-satdep (0) ... 669s (Reading database ... 56974 files and directories currently installed.) 669s Removing autopkgtest-satdep (0) ... 670s autopkgtest [11:33:24]: test gdbus-server-auth: [----------------------- 670s Running test: glib/gdbus-server-auth.test 670s TAP version 14 670s # random seed: R02S8cdf931ba749b96064216a4f47e42d9c 670s 1..9 670s # Start of gdbus tests 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/.dirs/runtime 670s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-6NJAX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 670s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-6NJAX2/dbus-aR2gi9JC 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 670s ok 1 /gdbus/server-auth 670s # Start of server-auth tests 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/abstract/.dirs/runtime 670s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-IWPAX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 670s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-IWPAX2/dbus-3UIvcYoV 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 670s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 670s ok 2 /gdbus/server-auth/abstract 670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/home 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/cache 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/system-config2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/config 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/system-data2 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/data 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/state 670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/tcp/.dirs/runtime 670s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 670s # Connectable address: tcp:host=127.0.0.1,port=43259 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 670s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 670s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 670s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 670s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 670s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 671s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 671s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 671s ok 3 /gdbus/server-auth/tcp 671s # slow test /gdbus/server-auth/tcp executed in 1.05 secs 671s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/home 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/cache 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/system-config2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/config 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/system-data2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/data 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/state 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/.dirs/runtime 671s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-EPO0W2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 671s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-EPO0W2/dbus-yF234xKj 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 671s ok 4 /gdbus/server-auth/anonymous 671s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/home 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/cache 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/system-config2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/config 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/system-data2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/data 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/state 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/.dirs/runtime 671s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-U7U0W2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 671s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-U7U0W2/dbus-rvNWcbjn 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 671s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 671s ok 5 /gdbus/server-auth/external 671s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/home 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/cache 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/system-config2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/config 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/system-data2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/data 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/state 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/.dirs/runtime 671s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-0A30W2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 671s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-0A30W2/dbus-XgAObnUY 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 671s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 671s ok 6 /gdbus/server-auth/sha1 671s # Start of anonymous tests 671s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/home 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/config 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/data 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/state 671s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 671s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 671s # Connectable address: tcp:host=127.0.0.1,port=41293 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 671s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 671s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 671s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 671s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 671s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 672s ok 7 /gdbus/server-auth/anonymous/tcp 672s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.03 secs 672s # End of anonymous tests 672s # Start of external tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 672s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-KAM2W2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 672s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1BKAX2/gdbus-server-auth-KAM2W2/dbus-172bv58H 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16955 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 672s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16955,uid=1000,gid=1000 672s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16955 672s ok 8 /gdbus/server-auth/external/require-same-user 672s # End of external tests 672s # Start of sha1 tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1BKAX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 672s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 672s # Connectable address: tcp:host=127.0.0.1,port=45529 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 672s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 672s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 672s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 672s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 672s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 673s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 673s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 673s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 673s ok 9 /gdbus/server-auth/sha1/tcp 673s # slow test /gdbus/server-auth/sha1/tcp executed in 1.02 secs 673s # End of sha1 tests 673s # End of server-auth tests 673s # End of gdbus tests 673s PASS: glib/gdbus-server-auth.test 673s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=8516 673s autopkgtest [11:33:27]: test gdbus-server-auth: -----------------------] 674s gdbus-server-auth PASS 674s autopkgtest [11:33:28]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 674s autopkgtest [11:33:28]: test gdbus-threading: preparing testbed 676s Reading package lists... 676s Building dependency tree... 676s Reading state information... 676s Starting pkgProblemResolver with broken count: 0 676s Starting 2 pkgProblemResolver with broken count: 0 676s Done 676s The following NEW packages will be installed: 676s autopkgtest-satdep 676s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 676s Need to get 0 B/772 B of archives. 676s After this operation, 0 B of additional disk space will be used. 676s Get:1 /tmp/autopkgtest.6MOKpm/7-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 676s Selecting previously unselected package autopkgtest-satdep. 676s (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 ... 56974 files and directories currently installed.) 676s Preparing to unpack .../7-autopkgtest-satdep.deb ... 676s Unpacking autopkgtest-satdep (0) ... 676s Setting up autopkgtest-satdep (0) ... 678s (Reading database ... 56974 files and directories currently installed.) 678s Removing autopkgtest-satdep (0) ... 679s autopkgtest [11:33:33]: test gdbus-threading: [----------------------- 679s Running test: glib/gdbus-threading.test 679s TAP version 14 679s # random seed: R02S1f860f9fa86f01af3b65651ae48d9bc4 679s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 679s 1..3 679s # Start of gdbus tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P2B4W2/gdbus/delivery-in-thread/.dirs/runtime 679s ok 1 /gdbus/delivery-in-thread 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P2B4W2/gdbus/method-calls-in-thread/.dirs/runtime 680s ok 2 /gdbus/method-calls-in-thread 680s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_P2B4W2/gdbus/threaded-singleton/.dirs/runtime 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98000cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: refcount of 0x3ff98000cc0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98002170 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98004b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98006910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98006910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98004af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98004130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: refcount of 0x3ff98007140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: refcount of 0x3ff98007140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: refcount of 0x3ff98004df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: refcount of 0x3ff98006e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: refcount of 0x3ff98004120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: refcount of 0x3ff98001800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 681s ok 3 /gdbus/threaded-singleton 681s # slow test /gdbus/threaded-singleton executed in 1.25 secs 681s # End of gdbus tests 681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 681s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 681s PASS: glib/gdbus-threading.test 681s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6104 681s autopkgtest [11:33:35]: test gdbus-threading: -----------------------] 682s gdbus-threading PASS 682s autopkgtest [11:33:36]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 682s autopkgtest [11:33:36]: test gmenumodel: preparing testbed 684s Reading package lists... 684s Building dependency tree... 684s Reading state information... 684s Starting pkgProblemResolver with broken count: 0 684s Starting 2 pkgProblemResolver with broken count: 0 684s Done 684s The following NEW packages will be installed: 684s autopkgtest-satdep 684s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 684s Need to get 0 B/772 B of archives. 684s After this operation, 0 B of additional disk space will be used. 684s Get:1 /tmp/autopkgtest.6MOKpm/8-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 685s Selecting previously unselected package autopkgtest-satdep. 685s (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 ... 56974 files and directories currently installed.) 685s Preparing to unpack .../8-autopkgtest-satdep.deb ... 685s Unpacking autopkgtest-satdep (0) ... 685s Setting up autopkgtest-satdep (0) ... 687s (Reading database ... 56974 files and directories currently installed.) 687s Removing autopkgtest-satdep (0) ... 687s autopkgtest [11:33:41]: test gmenumodel: [----------------------- 687s Running test: glib/gmenumodel.test 687s TAP version 14 687s # random seed: R02S77b88667654073dfb6c7a7cc9577d838 687s 1..15 687s # Start of gmenu tests 688s ok 1 /gmenu/equality 688s ok 2 /gmenu/random 688s ok 3 /gmenu/attributes 688s ok 4 /gmenu/links 688s ok 5 /gmenu/mutable 688s ok 6 /gmenu/convenience 688s ok 7 /gmenu/menuitem 688s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 688s ok 8 /gmenu/input-validation 688s # Start of dbus tests 688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 689s ok 9 /gmenu/dbus/roundtrip 689s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 690s ok 10 /gmenu/dbus/subscriptions 690s ok 11 /gmenu/dbus/threaded 690s # slow test /gmenu/dbus/threaded executed in 0.56 secs 690s # Start of peer tests 691s ok 12 /gmenu/dbus/peer/roundtrip 691s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 692s ok 13 /gmenu/dbus/peer/subscriptions 692s # End of peer tests 692s # Start of export tests 692s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 692s ok 14 /gmenu/dbus/export/error-handling 692s # End of export tests 692s # End of dbus tests 692s # Start of attributes tests 692s ok 15 /gmenu/attributes/iterate 692s # End of attributes tests 692s # End of gmenu tests 692s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 692s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 692s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 692s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 692s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 692s PASS: glib/gmenumodel.test 692s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=0.1s; maxrss=29044 692s autopkgtest [11:33:46]: test gmenumodel: -----------------------] 693s gmenumodel PASS 693s autopkgtest [11:33:47]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 693s autopkgtest [11:33:47]: test mainloop: preparing testbed 695s Reading package lists... 695s Building dependency tree... 695s Reading state information... 695s Starting pkgProblemResolver with broken count: 0 695s Starting 2 pkgProblemResolver with broken count: 0 695s Done 695s The following NEW packages will be installed: 695s autopkgtest-satdep 695s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 695s Need to get 0 B/772 B of archives. 695s After this operation, 0 B of additional disk space will be used. 695s Get:1 /tmp/autopkgtest.6MOKpm/9-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 695s Selecting previously unselected package autopkgtest-satdep. 695s (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 ... 56974 files and directories currently installed.) 695s Preparing to unpack .../9-autopkgtest-satdep.deb ... 695s Unpacking autopkgtest-satdep (0) ... 695s Setting up autopkgtest-satdep (0) ... 697s (Reading database ... 56974 files and directories currently installed.) 697s Removing autopkgtest-satdep (0) ... 697s autopkgtest [11:33:51]: test mainloop: [----------------------- 698s Running test: glib/mainloop.test 698s TAP version 14 698s # random seed: R02S013d8d964ba4533f541f0db76aab9aa9 698s 1..45 698s # Start of maincontext tests 698s ok 1 /maincontext/basic 698s # Add same-priority sources: 12 698s # Find each source: 0 698s # Remove in random order: 8 698s ok 2 /maincontext/nsources_same_priority 698s # Add different-priority sources: 12 698s # Find each source: 0 698s # Remove in random order: 12 698s ok 3 /maincontext/nsources_different_priority 698s # Add sources from threads: 18 698s # Remove sources from threads: 9 698s ok 4 /maincontext/nsources_threadpool 698s ok 5 /maincontext/source_finalization 698s # /maincontext/idle-once summary: Test g_idle_add_once() works 698s ok 6 /maincontext/idle-once 698s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 698s ok 7 /maincontext/timeout-once 698s # Start of source_finalization_from_source tests 698s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 8 /maincontext/source_finalization_from_source/0 698s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 9 /maincontext/source_finalization_from_source/1 698s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 10 /maincontext/source_finalization_from_source/2 698s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 11 /maincontext/source_finalization_from_source/3 698s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 12 /maincontext/source_finalization_from_source/4 698s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 13 /maincontext/source_finalization_from_source/5 698s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 14 /maincontext/source_finalization_from_source/6 698s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 15 /maincontext/source_finalization_from_source/7 698s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 16 /maincontext/source_finalization_from_source/8 698s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 698s ok 17 /maincontext/source_finalization_from_source/9 698s # End of source_finalization_from_source tests 698s # Start of source_finalization_from_dispatch tests 698s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 18 /maincontext/source_finalization_from_dispatch/0 698s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 19 /maincontext/source_finalization_from_dispatch/1 698s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 698s ok 20 /maincontext/source_finalization_from_dispatch/2 698s # End of source_finalization_from_dispatch tests 698s # End of maincontext tests 698s # Start of mainloop tests 698s ok 21 /mainloop/basic 698s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 698s ok 23 /mainloop/priorities 698s ok 24 /mainloop/invoke 698s # slow test /mainloop/invoke executed in 0.50 secs 699s ok 25 /mainloop/child_sources 699s # slow test /mainloop/child_sources executed in 1.19 secs 702s ok 26 /mainloop/recursive_child_sources 702s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 702s ok 27 /mainloop/recursive_loop_child_sources 702s ok 28 /mainloop/swapping_child_sources 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 702s ok 29 /mainloop/blocked_child_sources 703s Executing: glib/mainloop.test 703s ok 30 /mainloop/source_time 703s # slow test /mainloop/source_time executed in 1.00 secs 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 703s ok 31 /mainloop/overflow 703s ok 32 /mainloop/ready-time 703s # slow test /mainloop/ready-time executed in 0.50 secs 703s ok 33 /mainloop/wakeup 703s ok 34 /mainloop/remove-invalid 703s ok 35 /mainloop/unref-while-pending 704s ok 36 /mainloop/unix-fd 704s ok 37 /mainloop/unix-fd-source 704s ok 38 /mainloop/source-unix-fd-api 704s ok 39 /mainloop/wait 704s ok 40 /mainloop/unix-file-poll 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 704s ok 41 /mainloop/unix-fd-priority 704s ok 42 /mainloop/nfds 704s ok 43 /mainloop/steal-fd 704s # Start of ownerless-polling tests 704s ok 44 /mainloop/ownerless-polling/attach-first 704s ok 45 /mainloop/ownerless-polling/pop-first 704s # End of ownerless-polling tests 704s # End of mainloop tests 704s PASS: glib/mainloop.test 704s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=15828 704s autopkgtest [11:33:58]: test mainloop: -----------------------] 705s autopkgtest [11:33:59]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 705s mainloop PASS 705s autopkgtest [11:33:59]: test memory-monitor-dbus: preparing testbed 706s Reading package lists... 706s Building dependency tree... 706s Reading state information... 707s Starting pkgProblemResolver with broken count: 0 707s Starting 2 pkgProblemResolver with broken count: 0 707s Done 707s The following NEW packages will be installed: 707s autopkgtest-satdep 707s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 707s Need to get 0 B/772 B of archives. 707s After this operation, 0 B of additional disk space will be used. 707s Get:1 /tmp/autopkgtest.6MOKpm/10-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 707s Selecting previously unselected package autopkgtest-satdep. 707s (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 ... 56974 files and directories currently installed.) 707s Preparing to unpack .../10-autopkgtest-satdep.deb ... 707s Unpacking autopkgtest-satdep (0) ... 707s Setting up autopkgtest-satdep (0) ... 709s (Reading database ... 56974 files and directories currently installed.) 709s Removing autopkgtest-satdep (0) ... 709s autopkgtest [11:34:03]: test memory-monitor-dbus: [----------------------- 709s Running test: glib/memory-monitor-dbus.test 710s TAP version 13 710s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 710s # Received memory warning signal, level 710s # Received memory warning signal, level 710s # Received memory warning signal, level 710s 1..1 710s PASS: glib/memory-monitor-dbus.test 710s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=30204 710s autopkgtest [11:34:04]: test memory-monitor-dbus: -----------------------] 711s memory-monitor-dbus PASS 711s autopkgtest [11:34:05]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 711s autopkgtest [11:34:05]: test socket: preparing testbed 712s Reading package lists... 712s Building dependency tree... 712s Reading state information... 712s Starting pkgProblemResolver with broken count: 0 713s Starting 2 pkgProblemResolver with broken count: 0 713s Done 713s The following NEW packages will be installed: 713s autopkgtest-satdep 713s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 713s Need to get 0 B/772 B of archives. 713s After this operation, 0 B of additional disk space will be used. 713s Get:1 /tmp/autopkgtest.6MOKpm/11-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 713s Selecting previously unselected package autopkgtest-satdep. 713s (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 ... 56974 files and directories currently installed.) 713s Preparing to unpack .../11-autopkgtest-satdep.deb ... 713s Unpacking autopkgtest-satdep (0) ... 713s Setting up autopkgtest-satdep (0) ... 714s (Reading database ... 56974 files and directories currently installed.) 714s Removing autopkgtest-satdep (0) ... 715s autopkgtest [11:34:09]: test socket: [----------------------- 715s Running test: glib/socket.test 715s TAP version 14 715s # random seed: R02S0a42805b178e5d3421752a7855c7160e 715s 1..28 715s # Start of socket tests 716s ok 1 /socket/ipv4_sync 716s # slow test /socket/ipv4_sync executed in 1.00 secs 717s ok 2 /socket/ipv4_async 717s # slow test /socket/ipv4_async executed in 1.00 secs 717s ok 3 /socket/ipv6_sync 717s ok 4 /socket/ipv6_async 717s ok 5 /socket/ipv6_v4mapped 718s ok 6 /socket/close_graceful 718s # slow test /socket/close_graceful executed in 1.00 secs 718s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 718s ok 8 /socket/fd_reuse 718s ok 9 /socket/address 718s ok 10 /socket/unix-from-fd 718s ok 11 /socket/unix-connection 718s ok 12 /socket/unix-connection-ancillary-data 718s ok 13 /socket/source-postmortem 718s ok 14 /socket/read_write 718s ok 15 /socket/read_writev 718s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 718s ok 16 /socket/receive_bytes 718s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 718s ok 17 /socket/receive_bytes_from 718s # Start of ipv4_sync tests 718s ok 18 /socket/ipv4_sync/datagram 718s # Start of datagram tests 719s ok 19 /socket/ipv4_sync/datagram/timeouts 719s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 719s # End of datagram tests 719s # End of ipv4_sync tests 719s # Start of ipv6_sync tests 719s ok 20 /socket/ipv6_sync/datagram 719s # Start of datagram tests 720s ok 21 /socket/ipv6_sync/datagram/timeouts 720s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 720s # End of datagram tests 720s # End of ipv6_sync tests 720s # Start of reuse tests 720s ok 22 /socket/reuse/tcp 720s ok 23 /socket/reuse/udp 720s # End of reuse tests 720s # Start of get_available tests 721s ok 24 /socket/get_available/datagram 721s ok 25 /socket/get_available/stream 721s # End of get_available tests 721s # Start of credentials tests 721s # Supported on this OS: GCredentials:linux-ucred:pid=0 721s ok 26 /socket/credentials/tcp_client 721s # Supported on this OS: GCredentials:linux-ucred:pid=0 721s ok 27 /socket/credentials/tcp_server 721s # Supported on this OS: GCredentials:linux-ucred:pid=19307,uid=1000,gid=1000 721s ok 28 /socket/credentials/unix_socketpair 721s # End of credentials tests 721s # End of socket tests 721s PASS: glib/socket.test 721s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5700 721s autopkgtest [11:34:15]: test socket: -----------------------] 721s autopkgtest [11:34:15]: test socket: - - - - - - - - - - results - - - - - - - - - - 721s socket PASS 722s autopkgtest [11:34:16]: test testfilemonitor: preparing testbed 723s Reading package lists... 723s Building dependency tree... 723s Reading state information... 723s Starting pkgProblemResolver with broken count: 0 723s Starting 2 pkgProblemResolver with broken count: 0 723s Done 724s The following NEW packages will be installed: 724s autopkgtest-satdep 724s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 724s Need to get 0 B/772 B of archives. 724s After this operation, 0 B of additional disk space will be used. 724s Get:1 /tmp/autopkgtest.6MOKpm/12-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 724s Selecting previously unselected package autopkgtest-satdep. 724s (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 ... 56974 files and directories currently installed.) 724s Preparing to unpack .../12-autopkgtest-satdep.deb ... 724s Unpacking autopkgtest-satdep (0) ... 724s Setting up autopkgtest-satdep (0) ... 725s (Reading database ... 56974 files and directories currently installed.) 725s Removing autopkgtest-satdep (0) ... 726s autopkgtest [11:34:20]: test testfilemonitor: [----------------------- 726s Running test: glib/testfilemonitor.test 726s TAP version 14 726s # random seed: R02S7d602dbe0cfe41bfc11193f5face6394 726s 1..8 726s # Start of monitor tests 726s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 726s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZUGDX2 726s # Using GFileMonitor GInotifyFileMonitor 728s ok 1 /monitor/atomic-replace 728s # slow test /monitor/atomic-replace executed in 2.00 secs 728s # Using temporary directory: /tmp/gio-test-testfilemonitor_WNKDX2 728s # Using GFileMonitor GInotifyFileMonitor 731s ok 2 /monitor/file-changes 731s # slow test /monitor/file-changes executed in 2.50 secs 731s # Using temporary directory: /tmp/gio-test-testfilemonitor_DFE1W2 731s # Using GFileMonitor GInotifyFileMonitor 732s Executing: glib/testfilemonitor.test 735s ok 3 /monitor/dir-monitor 735s # slow test /monitor/dir-monitor executed in 3.50 secs 735s # Using temporary directory: /tmp/gio-test-testfilemonitor_G7KDX2 735s # Using GFileMonitor GInotifyFileMonitor 737s Executing: glib/testfilemonitor.test 742s Executing: glib/testfilemonitor.test 747s Executing: glib/testfilemonitor.test 752s Executing: glib/testfilemonitor.test 757s Executing: glib/testfilemonitor.test 759s ok 4 /monitor/dir-not-existent 759s # slow test /monitor/dir-not-existent executed in 25.02 secs 759s # Using temporary directory: /tmp/gio-test-testfilemonitor_6OQCX2 759s # Using GFileMonitor 0 GInotifyFileMonitor 759s # Using GFileMonitor 1 GInotifyFileMonitor 761s ok 5 /monitor/cross-dir-moves 761s # slow test /monitor/cross-dir-moves executed in 2.00 secs 761s # Using temporary directory: /tmp/gio-test-testfilemonitor_99UCX2 761s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 761s ok 6 /monitor/finalize-in-callback 761s # Using temporary directory: /tmp/gio-test-testfilemonitor_B1TCX2 761s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 761s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 761s ok 7 /monitor/root 761s # Start of file tests 761s # Using temporary directory: /tmp/gio-test-testfilemonitor_KZTCX2 761s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 761s # Running with hard link tests 761s # Using GFileMonitor GInotifyFileMonitor 762s Executing: glib/testfilemonitor.test 765s # Event 0 at expected index 7 skipped because it is marked as optional 765s # Event 2 at expected index 11 skipped because it is marked as optional 765s ok 8 /monitor/file/hard-links 765s # slow test /monitor/file/hard-links executed in 3.50 secs 765s # End of file tests 765s # End of monitor tests 765s PASS: glib/testfilemonitor.test 765s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5856 765s autopkgtest [11:34:59]: test testfilemonitor: -----------------------] 766s testfilemonitor PASS 766s autopkgtest [11:35:00]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 766s autopkgtest [11:35:00]: test thread-pool-slow: preparing testbed 768s Reading package lists... 769s Building dependency tree... 769s Reading state information... 769s Starting pkgProblemResolver with broken count: 0 769s Starting 2 pkgProblemResolver with broken count: 0 769s Done 769s The following NEW packages will be installed: 769s autopkgtest-satdep 769s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 769s Need to get 0 B/772 B of archives. 769s After this operation, 0 B of additional disk space will be used. 769s Get:1 /tmp/autopkgtest.6MOKpm/13-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 769s Selecting previously unselected package autopkgtest-satdep. 769s (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 ... 56974 files and directories currently installed.) 769s Preparing to unpack .../13-autopkgtest-satdep.deb ... 769s Unpacking autopkgtest-satdep (0) ... 769s Setting up autopkgtest-satdep (0) ... 771s (Reading database ... 56974 files and directories currently installed.) 771s Removing autopkgtest-satdep (0) ... 772s autopkgtest [11:35:06]: test thread-pool-slow: [----------------------- 772s Running test: glib/thread-pool-slow.test 772s TAP version 14 772s # random seed: R02Sd6af831a7099917d1e0fe9b631fdbfdb 772s 1..7 772s # Start of threadpool tests 772s ok 1 /threadpool/functions 772s ok 2 /threadpool/stop-unused 772s # slow test /threadpool/stop-unused executed in 0.51 secs 772s ok 3 /threadpool/pools 772s # [unsorted] ===> pushed new thread with id:21, number of threads:1, unprocessed:1 772s # [unsorted] ===> pushed new thread with id:17, number of threads:2, unprocessed:2 772s # [unsorted] ===> pushed new thread with id:89, number of threads:3, unprocessed:3 772s # [unsorted] ===> pushed new thread with id:17, number of threads:4, unprocessed:4 772s # [unsorted] ===> pushed new thread with id:71, number of threads:5, unprocessed:5 772s # [unsorted] ===> pushed new thread with id:29, number of threads:6, unprocessed:6 772s # [unsorted] ===> pushed new thread with id:70, number of threads:7, unprocessed:7 772s # [unsorted] ===> pushed new thread with id:14, number of threads:8, unprocessed:8 772s # [unsorted] ===> pushed new thread with id:27, number of threads:9, unprocessed:9 772s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:10 772s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:3 772s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:2 772s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:3 772s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:4 772s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:5 772s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:6 772s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:7 772s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:8 772s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:9 772s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:10 772s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:11 772s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:12 772s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:13 772s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:14 772s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:15 772s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:16 772s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:17 772s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:18 772s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:19 772s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:20 772s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:21 772s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:22 772s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:23 772s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:24 772s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:25 772s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:26 772s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:27 772s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:28 772s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:29 772s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:30 772s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:31 772s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:32 772s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:33 772s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:34 772s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:35 772s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:36 772s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:37 772s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:38 772s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:39 772s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:40 772s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:41 772s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:42 772s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:43 772s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:44 772s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:45 772s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:46 772s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:47 772s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:48 772s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:49 772s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:50 772s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:51 772s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 772s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:53 772s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:54 772s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:55 772s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:56 772s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:57 772s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 772s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:59 772s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:60 772s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:61 772s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:62 772s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:63 772s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:64 772s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:65 772s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:66 772s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:67 772s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:68 772s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:69 772s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:70 772s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:71 772s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:72 772s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:73 772s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:74 772s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:75 772s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:76 772s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:77 772s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:78 772s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:79 772s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:80 772s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:81 772s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:82 772s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:83 772s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:84 772s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:85 772s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:86 772s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:87 772s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:88 772s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:89 772s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:90 772s ok 4 /threadpool/no-sort 772s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:1 772s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:2 772s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:3 772s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:4 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:5 772s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:6 772s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:7 772s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:8 772s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:9 772s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:10 772s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:11 772s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:12 772s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:13 772s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:14 772s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:15 772s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:16 772s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:17 772s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:18 772s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:19 772s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:20 772s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:21 772s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:22 772s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:23 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:24 772s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:25 772s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:26 772s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:27 772s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:28 772s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:29 772s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:30 772s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:31 772s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:32 772s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:33 772s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:34 772s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:35 772s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:36 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:37 772s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:38 772s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:39 772s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:40 772s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:41 772s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:42 772s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:43 772s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:44 772s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:45 772s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:46 772s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:47 772s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:48 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:49 772s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:50 772s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:51 772s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:52 772s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:53 772s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:54 772s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:55 772s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:56 772s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:57 772s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:58 772s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:59 772s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:60 772s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:61 772s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:62 772s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:63 772s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:64 772s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:65 772s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:66 772s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:67 772s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:68 772s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:69 772s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:70 772s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:71 772s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:72 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:73 772s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:74 772s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:75 772s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:76 772s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:77 772s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:78 772s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:79 772s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:80 772s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:81 772s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:82 772s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:83 772s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:84 772s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:85 772s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:86 772s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:87 772s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:88 772s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:89 772s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:90 772s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:91 772s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:92 772s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:93 772s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:94 772s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:95 772s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:96 772s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:97 772s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:98 772s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:99 772s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:100 772s # Starting thread pool processing 772s ok 5 /threadpool/sort 773s ok 6 /threadpool/stop-unused-multiple 773s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs 773s # Pool idle thread count: 0, unprocessed jobs: 40 773s # Pool idle thread count: 0, unprocessed jobs: 0 773s # Pool idle thread count: 0, unprocessed jobs: 0 774s # Pool idle thread count: 10, unprocessed jobs: 0 774s # Pool idle thread count: 10, unprocessed jobs: 0 774s # Pool idle thread count: 10, unprocessed jobs: 0 774s # Pool idle thread count: 10, unprocessed jobs: 0 775s # Pool idle thread count: 10, unprocessed jobs: 0 775s # Pool idle thread count: 10, unprocessed jobs: 0 775s # Pool idle thread count: 10, unprocessed jobs: 0 775s # Pool idle thread count: 10, unprocessed jobs: 0 776s # Pool idle thread count: 10, unprocessed jobs: 0 776s # Pool idle thread count: 10, unprocessed jobs: 0 776s # Pool idle thread count: 10, unprocessed jobs: 0 776s # Pool idle thread count: 10, unprocessed jobs: 0 777s Executing: glib/thread-pool-slow.test 777s # Pool idle thread count: 10, unprocessed jobs: 0 777s # Pool idle thread count: 10, unprocessed jobs: 0 777s # Pool idle thread count: 10, unprocessed jobs: 0 777s # Pool idle thread count: 10, unprocessed jobs: 0 778s # Pool idle thread count: 10, unprocessed jobs: 0 778s # Pool idle thread count: 10, unprocessed jobs: 0 778s # Pool idle thread count: 10, unprocessed jobs: 0 778s # Pool idle thread count: 10, unprocessed jobs: 0 779s # Pool idle thread count: 10, unprocessed jobs: 0 779s # Pool idle thread count: 10, unprocessed jobs: 0 779s # Pool idle thread count: 10, unprocessed jobs: 0 779s # Pool idle thread count: 10, unprocessed jobs: 0 780s # Pool idle thread count: 10, unprocessed jobs: 0 780s # Pool idle thread count: 10, unprocessed jobs: 0 780s # Pool idle thread count: 10, unprocessed jobs: 0 780s # Pool idle thread count: 10, unprocessed jobs: 0 781s # Pool idle thread count: 10, unprocessed jobs: 0 781s # Pool idle thread count: 10, unprocessed jobs: 0 781s # Pool idle thread count: 10, unprocessed jobs: 0 781s # Pool idle thread count: 10, unprocessed jobs: 0 782s Executing: glib/thread-pool-slow.test 782s # Pool idle thread count: 10, unprocessed jobs: 2 782s # Pool idle thread count: 8, unprocessed jobs: 0 782s # Pool idle thread count: 8, unprocessed jobs: 0 782s # Pool idle thread count: 8, unprocessed jobs: 0 782s # Pool idle thread count: 10, unprocessed jobs: 0 782s # Pool idle thread count: 10, unprocessed jobs: 0 783s # Pool idle thread count: 10, unprocessed jobs: 0 783s # Pool idle thread count: 10, unprocessed jobs: 0 783s # Pool idle thread count: 10, unprocessed jobs: 0 783s # Pool idle thread count: 10, unprocessed jobs: 0 784s # Pool idle thread count: 2, unprocessed jobs: 0 784s # Pool idle thread count: 2, unprocessed jobs: 0 784s # Pool idle thread count: 2, unprocessed jobs: 0 784s # Pool idle thread count: 2, unprocessed jobs: 0 785s # Pool idle thread count: 2, unprocessed jobs: 0 785s # Pool idle thread count: 2, unprocessed jobs: 0 785s # Pool idle thread count: 2, unprocessed jobs: 0 785s # Pool idle thread count: 2, unprocessed jobs: 0 786s # Pool idle thread count: 2, unprocessed jobs: 0 786s # Pool idle thread count: 2, unprocessed jobs: 0 786s # Pool idle thread count: 2, unprocessed jobs: 0 786s # Pool idle thread count: 2, unprocessed jobs: 0 787s Executing: glib/thread-pool-slow.test 787s # Pool idle thread count: 2, unprocessed jobs: 0 787s # Pool idle thread count: 2, unprocessed jobs: 0 787s # Pool idle thread count: 2, unprocessed jobs: 0 787s # Pool idle thread count: 2, unprocessed jobs: 0 788s # Pool idle thread count: 2, unprocessed jobs: 0 788s # Pool idle thread count: 2, unprocessed jobs: 0 788s # Pool idle thread count: 2, unprocessed jobs: 0 788s # Pool idle thread count: 2, unprocessed jobs: 0 789s # Pool idle thread count: 2, unprocessed jobs: 0 789s # Pool idle thread count: 2, unprocessed jobs: 0 789s # Pool idle thread count: 2, unprocessed jobs: 0 789s # Pool idle thread count: 2, unprocessed jobs: 0 790s # Pool idle thread count: 2, unprocessed jobs: 0 790s # Pool idle thread count: 2, unprocessed jobs: 0 790s # Pool idle thread count: 2, unprocessed jobs: 0 790s # Pool idle thread count: 2, unprocessed jobs: 0 791s # Pool idle thread count: 2, unprocessed jobs: 0 791s # Pool idle thread count: 2, unprocessed jobs: 0 791s # Pool idle thread count: 2, unprocessed jobs: 0 791s # Pool idle thread count: 2, unprocessed jobs: 0 792s Executing: glib/thread-pool-slow.test 792s # Pool idle thread count: 2, unprocessed jobs: 0 792s # Pool idle thread count: 2, unprocessed jobs: 0 792s ok 7 /threadpool/idle-time 792s # slow test /threadpool/idle-time executed in 19.53 secs 792s # End of threadpool tests 792s PASS: glib/thread-pool-slow.test 792s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3892 793s autopkgtest [11:35:27]: test thread-pool-slow: -----------------------] 793s autopkgtest [11:35:27]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 793s thread-pool-slow PASS 794s autopkgtest [11:35:28]: test threadtests: preparing testbed 795s Reading package lists... 796s Building dependency tree... 796s Reading state information... 796s Starting pkgProblemResolver with broken count: 0 796s Starting 2 pkgProblemResolver with broken count: 0 796s Done 796s The following NEW packages will be installed: 796s autopkgtest-satdep 796s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 796s Need to get 0 B/772 B of archives. 796s After this operation, 0 B of additional disk space will be used. 796s Get:1 /tmp/autopkgtest.6MOKpm/14-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 796s Selecting previously unselected package autopkgtest-satdep. 796s (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 ... 56974 files and directories currently installed.) 796s Preparing to unpack .../14-autopkgtest-satdep.deb ... 796s Unpacking autopkgtest-satdep (0) ... 796s Setting up autopkgtest-satdep (0) ... 798s (Reading database ... 56974 files and directories currently installed.) 798s Removing autopkgtest-satdep (0) ... 799s autopkgtest [11:35:33]: test threadtests: [----------------------- 799s Running test: glib/threadtests.test 799s TAP version 14 799s # random seed: R02S5cb598b431dd1b2af6b71d05eb1917cb 799s 1..5 799s # Start of GObject tests 799s ok 1 /GObject/threaded-object-init 800s ok 2 /GObject/threaded-weak-ref 800s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 800s # /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 800s ok 3 /GObject/threaded-toggle-notify 800s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 800s # Start of threaded-weak-ref tests 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 800s # /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. 800s ok 5 /GObject/threaded-weak-ref/on-finalization 800s # End of threaded-weak-ref tests 800s # End of GObject tests 800s PASS: glib/threadtests.test 800s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=3480 800s autopkgtest [11:35:34]: test threadtests: -----------------------] 801s threadtests PASS 801s autopkgtest [11:35:35]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 801s autopkgtest [11:35:35]: test timeout: preparing testbed 802s Reading package lists... 803s Building dependency tree... 803s Reading state information... 803s Starting pkgProblemResolver with broken count: 0 803s Starting 2 pkgProblemResolver with broken count: 0 803s Done 803s The following NEW packages will be installed: 803s autopkgtest-satdep 803s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 803s Need to get 0 B/772 B of archives. 803s After this operation, 0 B of additional disk space will be used. 803s Get:1 /tmp/autopkgtest.6MOKpm/15-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 803s Selecting previously unselected package autopkgtest-satdep. 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 ... 56974 files and directories currently installed.) 803s Preparing to unpack .../15-autopkgtest-satdep.deb ... 803s Unpacking autopkgtest-satdep (0) ... 803s Setting up autopkgtest-satdep (0) ... 805s (Reading database ... 56974 files and directories currently installed.) 805s Removing autopkgtest-satdep (0) ... 806s autopkgtest [11:35:40]: test timeout: [----------------------- 806s Running test: glib/timeout.test 806s TAP version 14 806s # random seed: R02Sb03d45a118be822f38f842770e3cd4a2 806s 1..5 806s # Start of timeout tests 806s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 808s ok 1 /timeout/seconds 808s # slow test /timeout/seconds executed in 2.10 secs 810s ok 2 /timeout/seconds-once 810s # slow test /timeout/seconds-once executed in 2.10 secs 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 812s Executing: glib/timeout.test 812s ok 3 /timeout/weeks-overflow 812s # slow test /timeout/weeks-overflow executed in 2.10 secs 812s ok 4 /timeout/far-future-ready-time 817s Executing: glib/timeout.test 822s Executing: glib/timeout.test 823s ok 5 /timeout/rounding 823s # slow test /timeout/rounding executed in 10.47 secs 823s # End of timeout tests 823s PASS: glib/timeout.test 823s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3056 823s autopkgtest [11:35:57]: test timeout: -----------------------] 823s timeout PASS 823s autopkgtest [11:35:57]: test timeout: - - - - - - - - - - results - - - - - - - - - - 824s autopkgtest [11:35:58]: test timer: preparing testbed 825s Reading package lists... 825s Building dependency tree... 825s Reading state information... 825s Starting pkgProblemResolver with broken count: 0 825s Starting 2 pkgProblemResolver with broken count: 0 825s Done 826s The following NEW packages will be installed: 826s autopkgtest-satdep 826s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 826s Need to get 0 B/776 B of archives. 826s After this operation, 0 B of additional disk space will be used. 826s Get:1 /tmp/autopkgtest.6MOKpm/16-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 826s Selecting previously unselected package autopkgtest-satdep. 826s (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 ... 56974 files and directories currently installed.) 826s Preparing to unpack .../16-autopkgtest-satdep.deb ... 826s Unpacking autopkgtest-satdep (0) ... 826s Setting up autopkgtest-satdep (0) ... 827s (Reading database ... 56974 files and directories currently installed.) 827s Removing autopkgtest-satdep (0) ... 828s autopkgtest [11:36:02]: test timer: [----------------------- 828s Running test: glib/timer.test 828s TAP version 14 828s # random seed: R02S97a58444d913ce9d55be9b3155cae07e 828s 1..10 828s # Start of timer tests 828s ok 1 /timer/basic 828s ok 2 /timer/stop 828s ok 3 /timer/continue 828s ok 4 /timer/reset 828s ok 5 /timer/is_active 828s # End of timer tests 828s # Start of timeval tests 828s ok 6 /timeval/add 828s ok 7 /timeval/from-iso8601 828s ok 8 /timeval/to-iso8601 828s # Start of to-iso8601 tests 828s ok 9 /timeval/to-iso8601/overflow 828s # End of to-iso8601 tests 828s # End of timeval tests 828s # Start of usleep tests 828s ok 10 /usleep/with-zero-wait 828s # End of usleep tests 828s PASS: glib/timer.test 828s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3064 829s autopkgtest [11:36:03]: test timer: -----------------------] 829s timer PASS 829s autopkgtest [11:36:03]: test timer: - - - - - - - - - - results - - - - - - - - - - 829s autopkgtest [11:36:03]: test 1065022-futureproofing: preparing testbed 973s autopkgtest [11:38:27]: testbed dpkg architecture: s390x 973s autopkgtest [11:38:27]: testbed apt version: 2.9.8 973s autopkgtest [11:38:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 974s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 974s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 974s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 974s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 974s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 974s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [85.8 kB] 974s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [565 kB] 974s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 974s Fetched 1689 kB in 1s (2062 kB/s) 974s Reading package lists... 976s Reading package lists... 977s Building dependency tree... 977s Reading state information... 977s Calculating upgrade... 977s The following NEW packages will be installed: 977s python3.13-gdbm 977s The following packages will be upgraded: 977s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 977s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 977s Need to get 252 kB of archives. 977s After this operation, 98.3 kB of additional disk space will be used. 977s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.7-1 [27.4 kB] 977s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.7-1 [24.0 kB] 977s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.7-1 [10.0 kB] 977s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-gdbm s390x 3.13.0-2 [31.0 kB] 977s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-gdbm s390x 3.12.7-1 [8642 B] 977s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.23.2-5ubuntu4 [151 kB] 978s Fetched 252 kB in 1s (476 kB/s) 978s (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 ... 55510 files and directories currently installed.) 978s Preparing to unpack .../python3-minimal_3.12.7-1_s390x.deb ... 978s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 978s Setting up python3-minimal (3.12.7-1) ... 978s (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 ... 55510 files and directories currently installed.) 978s Preparing to unpack .../python3_3.12.7-1_s390x.deb ... 978s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 978s Preparing to unpack .../libpython3-stdlib_3.12.7-1_s390x.deb ... 978s Unpacking libpython3-stdlib:s390x (3.12.7-1) over (3.12.6-0ubuntu1) ... 978s Selecting previously unselected package python3.13-gdbm. 978s Preparing to unpack .../python3.13-gdbm_3.13.0-2_s390x.deb ... 978s Unpacking python3.13-gdbm (3.13.0-2) ... 978s Preparing to unpack .../python3-gdbm_3.12.7-1_s390x.deb ... 978s Unpacking python3-gdbm:s390x (3.12.7-1) over (3.12.6-1ubuntu1) ... 978s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_s390x.deb ... 978s Unpacking libgpgme11t64:s390x (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 978s Setting up libgpgme11t64:s390x (1.23.2-5ubuntu4) ... 978s Setting up python3.13-gdbm (3.13.0-2) ... 978s Setting up libpython3-stdlib:s390x (3.12.7-1) ... 978s Setting up python3 (3.12.7-1) ... 978s Setting up python3-gdbm:s390x (3.12.7-1) ... 978s Processing triggers for man-db (2.12.1-3) ... 979s Processing triggers for libc-bin (2.40-1ubuntu3) ... 979s Reading package lists... 979s Building dependency tree... 979s Reading state information... 979s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 980s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 980s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 980s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 980s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 981s Reading package lists... 981s Reading package lists... 981s Building dependency tree... 981s Reading state information... 981s Calculating upgrade... 981s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 981s Reading package lists... 981s Building dependency tree... 981s Reading state information... 982s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 985s Reading package lists... 985s Building dependency tree... 985s Reading state information... 986s Starting pkgProblemResolver with broken count: 0 986s Starting 2 pkgProblemResolver with broken count: 0 986s Done 986s The following additional packages will be installed: 986s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 986s libdconf1 986s Suggested packages: 986s fakeroot 986s The following NEW packages will be installed: 986s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 986s gsettings-desktop-schemas libdconf1 986s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 986s Need to get 140 kB/141 kB of archives. 986s After this operation, 636 kB of additional disk space will be used. 986s Get:1 /tmp/autopkgtest.6MOKpm/17-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [752 B] 986s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libdconf1 s390x 0.40.0-4build2 [40.3 kB] 986s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-service s390x 0.40.0-4build2 [28.6 kB] 986s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-gsettings-backend s390x 0.40.0-4build2 [23.2 kB] 986s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x dpkg-repack all 1.54 [11.2 kB] 986s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 986s Fetched 140 kB in 0s (400 kB/s) 986s Selecting previously unselected package libdconf1:s390x. 986s (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 ... 55517 files and directories currently installed.) 986s Preparing to unpack .../0-libdconf1_0.40.0-4build2_s390x.deb ... 986s Unpacking libdconf1:s390x (0.40.0-4build2) ... 986s Selecting previously unselected package dconf-service. 986s Preparing to unpack .../1-dconf-service_0.40.0-4build2_s390x.deb ... 986s Unpacking dconf-service (0.40.0-4build2) ... 986s Selecting previously unselected package dconf-gsettings-backend:s390x. 986s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4build2_s390x.deb ... 986s Unpacking dconf-gsettings-backend:s390x (0.40.0-4build2) ... 986s Selecting previously unselected package dpkg-repack. 986s Preparing to unpack .../3-dpkg-repack_1.54_all.deb ... 986s Unpacking dpkg-repack (1.54) ... 986s Selecting previously unselected package gsettings-desktop-schemas. 986s Preparing to unpack .../4-gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 986s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 986s Selecting previously unselected package autopkgtest-satdep. 987s Preparing to unpack .../5-17-autopkgtest-satdep.deb ... 987s Unpacking autopkgtest-satdep (0) ... 987s Setting up dpkg-repack (1.54) ... 987s Setting up libdconf1:s390x (0.40.0-4build2) ... 987s Setting up dconf-service (0.40.0-4build2) ... 987s Setting up dconf-gsettings-backend:s390x (0.40.0-4build2) ... 987s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 987s Processing triggers for libc-bin (2.40-1ubuntu3) ... 987s Processing triggers for man-db (2.12.1-3) ... 987s Processing triggers for libglib2.0-0t64:s390x (2.82.1-0ubuntu1) ... 987s Setting up autopkgtest-satdep (0) ... 989s (Reading database ... 55585 files and directories currently installed.) 989s Removing autopkgtest-satdep (0) ... 996s autopkgtest [11:38:50]: test 1065022-futureproofing: [----------------------- 996s + export DEBIAN_FRONTEND=noninteractive 996s + n=0 996s + failed=0 996s + binary_package=libglib2.0-0t64 996s + future_binary_package=libglib2.0-0xyz 996s + pwd 996s + srcdir=/tmp/autopkgtest.6MOKpm/build.caQ/src 996s + mktemp -d 996s + tmpdir=/tmp/tmp.uZ3Kmz6B7h 996s + cd /tmp/tmp.uZ3Kmz6B7h 996s + [ -e /tmp/autopkgtest.6MOKpm/build.caQ/src/debian/tests/manual/local-1065022.sources ] 996s + dpkg-query -W dpkg-repack 996s dpkg-repack 1.54 996s + dpkg-repack --generate libglib2.0-0t64 996s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 996s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.wXI6HB for libglib2.0-0t64 996s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.wXI6HB ." 996s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.wXI6HB/DEBIAN/control 996s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.wXI6HB/DEBIAN/control 996s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.wXI6HB/DEBIAN/control 996s + 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.wXI6HB/DEBIAN/control 996s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.wXI6HB libglib2.0-0xyz.deb 996s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 998s + apt-get -y install ./libglib2.0-0xyz.deb 998s Reading package lists... 998s Building dependency tree... 998s Reading state information... 998s The following packages were automatically installed and are no longer required: 998s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 998s libcurl3t64-gnutls libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64 libjq1 998s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 998s python3-apport python3-certifi python3-chardet python3-configobj 998s python3-debconf python3-markdown-it python3-mdurl python3-openssl 998s python3-problem-report python3-pygments python3-requests python3-rich 998s python3-systemd python3-urllib3 s390-tools-data s390-tools-signed 998s Use 'sudo apt autoremove' to remove them. 998s The following additional packages will be installed: 998s xdg-user-dirs 998s Suggested packages: 998s low-memory-monitor 998s Recommended packages: 998s shared-mime-info 998s The following packages will be REMOVED: 998s apport apport-core-dump-handler bolt cloud-init dconf-gsettings-backend 998s dconf-service fwupd gir1.2-girepository-2.0 gir1.2-glib-2.0 998s gsettings-desktop-schemas libblockdev-crypto3 libblockdev-fs3 998s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 999s libblockdev-swap3 libblockdev-utils3 libblockdev3 libdconf1 libfwupd2 999s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libgusb2 libjcat1 999s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 999s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 999s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 999s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 999s s390-tools shared-mime-info sysconfig-hardware ubuntu-minimal udisks2 999s The following NEW packages will be installed: 999s libglib2.0-0xyz xdg-user-dirs 999s 0 upgraded, 2 newly installed, 50 to remove and 0 not upgraded. 999s Need to get 19.3 kB/1592 kB of archives. 999s After this operation, 44.9 MB disk space will be freed. 999s Get:1 /tmp/tmp.uZ3Kmz6B7h/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.82.1-0ubuntu1 [1573 kB] 999s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-user-dirs s390x 0.18-1build1 [19.3 kB] 999s Fetched 19.3 kB in 0s (86.8 kB/s) 999s (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 ... 55585 files and directories currently installed.) 999s Removing bolt (0.9.8-1) ... 999s Removing cloud-init (24.4~3+really24.3.1-0ubuntu4) ... 1000s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1000s Removing dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1000s Removing dconf-service (0.40.0-4build2) ... 1000s Removing fwupd (1.9.26-2) ... 1000s Removing networkd-dispatcher (2.2.4-1.1) ... 1000s Removing udisks2 (2.10.1-11ubuntu1) ... 1001s Removing libblockdev-crypto3:s390x (3.2.1-1) ... 1001s Removing libblockdev-fs3:s390x (3.2.1-1) ... 1001s Removing libblockdev-loop3:s390x (3.2.1-1) ... 1001s Removing libblockdev-mdraid3:s390x (3.2.1-1) ... 1001s Removing libblockdev-nvme3:s390x (3.2.1-1) ... 1001s Removing libblockdev-part3:s390x (3.2.1-1) ... 1001s Removing libblockdev-swap3:s390x (3.2.1-1) ... 1001s Removing libblockdev3:s390x (3.2.1-1) ... 1001s Removing libblockdev-utils3:s390x (3.2.1-1) ... 1001s Removing libdconf1:s390x (0.40.0-4build2) ... 1001s Removing libfwupd2:s390x (1.9.26-2) ... 1001s Removing shared-mime-info (2.4-5) ... 1001s Removing sysconfig-hardware (0.0.14ubuntu3) ... 1001s Removing s390-tools (2.34.0-0ubuntu2) ... 1001s Removing libgudev-1.0-0:s390x (1:238-5ubuntu1) ... 1001s Removing libgusb2:s390x (0.4.9-1) ... 1001s Removing libjcat1:s390x (0.2.0-2build3) ... 1001s Removing libjson-glib-1.0-0:s390x (1.10.0+ds-2) ... 1001s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 1001s Removing libqmi-glib5:s390x (1.35.2-0ubuntu2) ... 1001s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1001s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ... 1001s Removing libmm-glib0:s390x (1.23.4-0ubuntu2) ... 1001s Removing ubuntu-minimal (1.543) ... 1001s Removing netplan.io (1.1.1-1) ... 1001s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1001s Removing python3-netplan (1.1.1-1) ... 1001s Removing netplan-generator (1.1.1-1) ... 1001s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1001s Removing libnetplan1:s390x (1.1.1-1) ... 1002s Removing libpolkit-agent-1-0:s390x (124-2ubuntu1) ... 1002s Removing libpolkit-gobject-1-0:s390x (124-2ubuntu1) ... 1002s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ... 1002s Removing libudisks2-0:s390x (2.10.1-11ubuntu1) ... 1002s Removing libvolume-key1:s390x (0.3.12-8) ... 1002s Removing libxmlb2:s390x (0.3.21-1) ... 1002s Removing python3-dbus (1.3.2-5build3) ... 1002s Removing apport (2.30.0-0ubuntu5) ... 1002s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 1002s Removing python3-gi (3.50.0-3) ... 1002s Removing gir1.2-girepository-2.0:s390x (1.80.1-4) ... 1002s Removing gir1.2-glib-2.0:s390x (2.82.1-0ubuntu1) ... 1002s Removing libgirepository-1.0-1:s390x (1.80.1-4) ... 1002s Removing libglib2.0-0t64:s390x (2.82.1-0ubuntu1) ... 1002s Selecting previously unselected package libglib2.0-0xyz:s390x. 1002s (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 ... 54264 files and directories currently installed.) 1002s Preparing to unpack .../libglib2.0-0xyz.deb ... 1002s Unpacking libglib2.0-0xyz:s390x (2.82.1-0ubuntu1) ... 1002s Selecting previously unselected package xdg-user-dirs. 1002s Preparing to unpack .../xdg-user-dirs_0.18-1build1_s390x.deb ... 1003s Unpacking xdg-user-dirs (0.18-1build1) ... 1003s Setting up xdg-user-dirs (0.18-1build1) ... 1003s Setting up libglib2.0-0xyz:s390x (2.82.1-0ubuntu1) ... 1003s No schema files found: removed existing output file. 1003s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1003s Processing triggers for initramfs-tools (0.142ubuntu34) ... 1003s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 1003s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1005s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1005s Processing triggers for man-db (2.12.1-3) ... 1006s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1006s + n=1 1006s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1006s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1006s + failed=1 1006s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1006s + n=2 1006s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1006s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1006s + failed=1 1006s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1006s + n=3 1006s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1006s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1006s + failed=1 1006s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1006s + n=4 1006s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1006s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1006s + failed=1 1006s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1006s + n=5 1006s + test -e /usr/lib/*/gio/modules/giomodule.cache 1006s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1006s + failed=1 1006s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1006s + n=6 1006s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1006s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1006s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1006s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1006s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1006s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1006s Reading package lists... 1006s Building dependency tree...+ test -s /usr/lib/*/gio/modules/giomodule.cache 1006s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1006s + failed=1 1006s + apt-get -y purge libglib2.0-0t64 1006s 1006s Reading state information... 1006s The following packages were automatically installed and are no longer required: 1006s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 1006s libcurl3t64-gnutls libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64 libjq1 1006s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1006s python3-apport python3-certifi python3-chardet python3-configobj 1006s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1006s python3-problem-report python3-pygments python3-requests python3-rich 1006s python3-systemd python3-urllib3 s390-tools-data s390-tools-signed 1006s Use 'sudo apt autoremove' to remove them. 1006s The following packages will be REMOVED: 1006s libglib2.0-0t64* 1007s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1007s After this operation, 0 B of additional disk space will be used. 1007s (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 ... 54299 files and directories currently installed.) 1007s Purging configuration files for libglib2.0-0t64:s390x (2.82.1-0ubuntu1) ... 1007s + not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1007s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1007s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1007s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1007s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1007s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1007s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1007s + n=7 1007s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1007s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1007s + failed=1 1007s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1007s + n=8 1007s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1007s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1007s + failed=1 1007s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1007s + n=9 1007s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1007s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1007s + failed=1 1007s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1007s + n=10 1007s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1007s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1007s + failed=1 1007s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1007s + n=11 1007s + test -e /usr/lib/*/gio/modules/giomodule.cache 1007s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1007s + failed=1 1007s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1007s + n=12 1007s + test -s /usr/lib/*/gio/modules/giomodule.cache 1007s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1007s + failed=1 1007s + apt-get -y purge libglib2.0-0xyz 1007s Reading package lists... 1007s Building dependency tree... 1007s Reading state information... 1007s The following packages were automatically installed and are no longer required: 1007s apport-symptoms fuse3 jq libatasmart4 libatomic1 libbytesize-common 1007s libbytesize1 libcurl3t64-gnutls libflashrom1 libftdi1-2 libfuse3-3 1007s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1007s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1007s python3-chardet python3-configobj python3-debconf python3-markdown-it 1007s python3-mdurl python3-openssl python3-problem-report python3-pygments 1007s python3-requests python3-rich python3-systemd python3-urllib3 1007s s390-tools-data s390-tools-signed xdg-user-dirs 1007s Use 'sudo apt autoremove' to remove them. 1007s The following packages will be REMOVED: 1007s libglib2.0-0xyz* 1007s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1007s After this operation, 4622 kB disk space will be freed. 1007s (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 ... 54299 files and directories currently installed.) 1007s Removing libglib2.0-0xyz:s390x (2.82.1-0ubuntu1) ... 1007s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1008s (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 ... 54274 files and directories currently installed.) 1008s Purging configuration files for libglib2.0-0xyz:s390x (2.82.1-0ubuntu1) ... 1008s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1008s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1008s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1008s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1008s 1..16 1008s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1008s + n=13 1008s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1008s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1008s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1008s + n=14 1008s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1008s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1008s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1008s + n=15 1008s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1008s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1008s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1008s + n=16 1008s + test -e /usr/lib/*/gio/modules/giomodule.cache 1008s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1008s + echo 1..16 1008s + exit 1 1008s autopkgtest [11:39:02]: test 1065022-futureproofing: -----------------------] 1009s autopkgtest [11:39:03]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1009s 1065022-futureproofing FLAKY non-zero exit status 1 1009s autopkgtest [11:39:03]: @@@@@@@@@@@@@@@@@@@@ summary 1009s build PASS (superficial) 1009s build-static PASS (superficial) 1009s installed-tests PASS 1009s closure-refcount PASS 1009s debugcontroller PASS 1009s gdbus-server-auth PASS 1009s gdbus-threading PASS 1009s gmenumodel PASS 1009s mainloop PASS 1009s memory-monitor-dbus PASS 1009s socket PASS 1009s testfilemonitor PASS 1009s thread-pool-slow PASS 1009s threadtests PASS 1009s timeout PASS 1009s timer PASS 1009s 1065022-futureproofing FLAKY non-zero exit status 1 1022s virt: nova [W] Using flock in prodstack6-s390x 1022s virt: flock: timeout while waiting to get lock 1022s virt: Creating nova instance adt-plucky-s390x-glib2.0-20241113-112213-juju-7f2275-prod-proposed-migration-environment-2-f7a279aa-b58f-4bb6-82c1-fe3191bf7e60 from image adt/ubuntu-plucky-s390x-server-20241113.img (UUID e740277e-1f72-40ae-bfbe-46030537c71c)... 1022s virt: nova [W] Using flock in prodstack6-s390x 1022s virt: Creating nova instance adt-plucky-s390x-glib2.0-20241113-112213-juju-7f2275-prod-proposed-migration-environment-2-f7a279aa-b58f-4bb6-82c1-fe3191bf7e60 from image adt/ubuntu-plucky-s390x-server-20241113.img (UUID e740277e-1f72-40ae-bfbe-46030537c71c)... 1022s virt: nova [W] Using flock in prodstack6-s390x 1022s virt: Creating nova instance adt-plucky-s390x-glib2.0-20241113-112213-juju-7f2275-prod-proposed-migration-environment-2-f7a279aa-b58f-4bb6-82c1-fe3191bf7e60 from image adt/ubuntu-plucky-s390x-server-20241113.img (UUID e740277e-1f72-40ae-bfbe-46030537c71c)...