Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/polkit.spec'], chrootPath='/var/lib/mock/dist-an23-build-213342-61952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/polkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675900800 Wrote: /builddir/build/SRPMS/polkit-122-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/polkit.spec'], chrootPath='/var/lib/mock/dist-an23-build-213342-61952/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/polkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675900800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CJkZLU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf polkit-122 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/polkit-122.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd polkit-122 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3bc9RP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd polkit-122 + export 'CFLAGS=-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'LDFLAGS=-pie -Wl,-z,now -Wl,-z,relro' + LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro' + CFLAGS='-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . anolis-linux-build The Meson build system Version: 1.0.0 Source dir: /builddir/build/BUILD/polkit-122 Build dir: /builddir/build/BUILD/polkit-122/anolis-linux-build Build type: native build Project name: polkit Project version: 122 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20221121 (Anolis OS 12.2.1-1)") C linker for the host machine: gcc ld.bfd 2.39-1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Checking for function "clearenv" : YES Checking for function "fdatasync" : YES Checking for function "setnetgrent" : YES meson.build:124: WARNING: Consider using the built-in option for language standard version instead of using "-std=c99". Found pkg-config: /usr/bin/pkg-config (1.8.1) Run-time dependency gio-2.0 found: YES 2.74.5 Run-time dependency gio-unix-2.0 found: YES 2.74.5 Run-time dependency glib-2.0 found: YES 2.74.5 Run-time dependency gobject-2.0 found: YES 2.74.5 Run-time dependency expat found: YES 2.4.8 Has header "expat.h" with dependency expat: YES Checking for function "XML_ParserCreate" with dependency expat: YES Run-time dependency duktape found: YES 2.6.0 Library m found: YES Run-time dependency threads found: YES Checking for function "pthread_condattr_setclock" : YES Run-time dependency dbus-1 found: YES 1.14.4 Has header "netgroup.h" : NO Checking if "setnetgrent return support" compiles: YES Library pam found: YES Checking for function "pam_start" with dependency -lpam: YES Message: how to call pam_strerror: unknown WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Message: Linux distribution autodetection failed, specify the distribution to target using -Dos_type= Run-time dependency gobject-introspection-1.0 found: YES 1.74.0 Program msgfmt found: YES (/usr/bin/msgfmt) Configuring org.freedesktop.PolicyKit1.service using configuration Configuring org.freedesktop.PolicyKit1.conf using configuration Configuring polkit-1 using configuration Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/polkit-122/src/symbol.map: YES Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached) Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Program perl found: YES (/usr/bin/perl) Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Found pkg-config: /usr/bin/pkg-config (1.8.1) Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Configuring config.h using configuration Message: polkit 122 ============ prefix: /usr datadir: share includedir: include libdir: lib64 sysconfdir: /etc source code location: /builddir/build/BUILD/polkit-122 compiler: gcc c_flags: introspection: true Distribution/OS: Authentication framework: pam Session tracking: ConsoleKit polkitd user: polkitd Javascript engine: duktape PAM support: true PAM file auth: system-auth PAM file acount: system-auth PAM file password: system-auth PAM file session: system-auth Building api docs: false Building man pages: false Building examples: false Building tests: false Build targets in project: 44 NOTICE: Future-deprecated features used: * 0.56.0: {'dependency.get_pkgconfig_variable'} * 0.62.0: {'pkgconfig.generate variable for builtin directories'} polkit 122 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C anolis-linux-build -j 64 --verbose ninja: Entering directory `/builddir/build/BUILD/polkit-122/anolis-linux-build' [1/81] /usr/bin/msgfmt ../po/cs.po -o po/cs/LC_MESSAGES/polkit-1.mo [2/81] /usr/bin/msgfmt ../po/da.po -o po/da/LC_MESSAGES/polkit-1.mo [3/81] /usr/bin/msgfmt ../po/de.po -o po/de/LC_MESSAGES/polkit-1.mo [4/81] /usr/bin/msgfmt ../po/hr.po -o po/hr/LC_MESSAGES/polkit-1.mo [5/81] /usr/bin/msgfmt ../po/hu.po -o po/hu/LC_MESSAGES/polkit-1.mo [6/81] /usr/bin/msgfmt ../po/id.po -o po/id/LC_MESSAGES/polkit-1.mo [7/81] /usr/bin/msgfmt ../po/it.po -o po/it/LC_MESSAGES/polkit-1.mo [8/81] /usr/bin/msgfmt ../po/ka.po -o po/ka/LC_MESSAGES/polkit-1.mo [9/81] /usr/bin/msgfmt ../po/nl.po -o po/nl/LC_MESSAGES/polkit-1.mo [10/81] /usr/bin/msgfmt ../po/pt.po -o po/pt/LC_MESSAGES/polkit-1.mo [11/81] /usr/bin/msgfmt ../po/nn.po -o po/nn/LC_MESSAGES/polkit-1.mo [12/81] /usr/bin/msgfmt ../po/pl.po -o po/pl/LC_MESSAGES/polkit-1.mo [13/81] /usr/bin/msgfmt ../po/sk.po -o po/sk/LC_MESSAGES/polkit-1.mo [14/81] /usr/bin/msgfmt ../po/pt_BR.po -o po/pt_BR/LC_MESSAGES/polkit-1.mo [15/81] /usr/bin/msgfmt ../po/sv.po -o po/sv/LC_MESSAGES/polkit-1.mo [16/81] /usr/bin/msgfmt ../po/ro.po -o po/ro/LC_MESSAGES/polkit-1.mo [17/81] /usr/bin/msgfmt ../po/tr.po -o po/tr/LC_MESSAGES/polkit-1.mo [18/81] /usr/bin/msgfmt ../po/uk.po -o po/uk/LC_MESSAGES/polkit-1.mo [19/81] /usr/bin/msgfmt ../po/zh_CN.po -o po/zh_CN/LC_MESSAGES/polkit-1.mo [20/81] /usr/bin/msgfmt ../po/zh_TW.po -o po/zh_TW/LC_MESSAGES/polkit-1.mo [21/81] /usr/bin/glib-genmarshal --prefix _polkit_agent_marshal --output src/polkitagent/polkitagentmarshal.h --header ../src/polkitagent/polkitagentmarshal.list --pragma-once INFO: Reading ../src/polkitagent/polkitagentmarshal.list... [22/81] /usr/bin/meson --internal exe --capture src/polkitbackend/initjs.h -- /usr/bin/perl /builddir/build/BUILD/polkit-122/src/polkitbackend/toarray.pl ../src/polkitbackend/init.js init_js [23/81] /usr/bin/glib-genmarshal --prefix _polkit_agent_marshal --output src/polkitagent/polkitagentmarshal.c --body ../src/polkitagent/polkitagentmarshal.list --include-header polkitagentmarshal.h INFO: Reading ../src/polkitagent/polkitagentmarshal.list... [24/81] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt --datadirs=/builddir/build/BUILD/polkit-122/gettext ../actions/org.freedesktop.policykit.policy.in actions/org.freedesktop.policykit.policy xml /builddir/build/BUILD/polkit-122/po [25/81] /usr/bin/meson --internal exe --unpickle /builddir/build/BUILD/polkit-122/anolis-linux-build/meson-private/meson_exe_glib-mkenums_d409410c89770dbab39bac5c82546a075c9ee8bc.dat [26/81] /usr/bin/meson --internal exe --unpickle /builddir/build/BUILD/polkit-122/anolis-linux-build/meson-private/meson_exe_glib-mkenums_6c8785fba488d1d6a730dd36938c58a4e905ab52.dat [27/81] /usr/bin/meson --internal exe --unpickle /builddir/build/BUILD/polkit-122/anolis-linux-build/meson-private/meson_exe_glib-mkenums_814a233103b414a9fbe910b7bf7f9ac9f0ec9a98.dat [28/81] /usr/bin/meson --internal exe --unpickle /builddir/build/BUILD/polkit-122/anolis-linux-build/meson-private/meson_exe_glib-mkenums_ccbbf541a9bd01661be1a5fddb7fca6318122080.dat [29/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/meson-generated_.._polkitenumtypes.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/meson-generated_.._polkitenumtypes.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/meson-generated_.._polkitenumtypes.c.o -c src/polkit/polkitenumtypes.c [30/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitcheckauthorizationflags.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitcheckauthorizationflags.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitcheckauthorizationflags.c.o -c ../src/polkit/polkitcheckauthorizationflags.c [31/81] gcc -Isrc/polkitagent/libpolkit-agent-1.so.0.0.0.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_AGENT_COMPILATION '-DPACKAGE_PREFIX="/usr"' -MD -MQ src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentmarshal.c.o -MF src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentmarshal.c.o.d -o src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentmarshal.c.o -c src/polkitagent/polkitagentmarshal.c [32/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkiterror.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkiterror.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkiterror.c.o -c ../src/polkit/polkiterror.c [33/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorityfeatures.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorityfeatures.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorityfeatures.c.o -c ../src/polkit/polkitauthorityfeatures.c [34/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkittemporaryauthorization.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkittemporaryauthorization.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkittemporaryauthorization.c.o -c ../src/polkit/polkittemporaryauthorization.c [35/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitimplicitauthorization.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitimplicitauthorization.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitimplicitauthorization.c.o -c ../src/polkit/polkitimplicitauthorization.c [36/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixnetgroup.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixnetgroup.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixnetgroup.c.o -c ../src/polkit/polkitunixnetgroup.c [37/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixsession.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixsession.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixsession.c.o -c ../src/polkit/polkitunixsession.c ../src/polkit/polkitunixsession.c: In function ‘exists_in_thread_func’: ../src/polkit/polkitunixsession.c:409:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 409 | g_simple_async_result_set_from_error (res, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitunixsession.h:30, from ../src/polkit/polkitunixsession.c:27: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixsession.c: In function ‘polkit_unix_session_exists’: ../src/polkit/polkitunixsession.c:424:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 424 | simple = g_simple_async_result_new (G_OBJECT (subject), | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixsession.c:428:3: warning: ‘g_simple_async_result_run_in_thread’ is deprecated [-Wdeprecated-declarations] 428 | g_simple_async_result_run_in_thread (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here 110 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixsession.c: In function ‘polkit_unix_session_exists_finish’: ../src/polkit/polkitunixsession.c:443:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 443 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixsession.c:447:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 447 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixsession.c:450:3: warning: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated [-Wdeprecated-declarations] 450 | ret = g_simple_async_result_get_op_res_gboolean (simple); | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:93:21: note: declared here 93 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [38/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionlookup.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionlookup.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionlookup.c.o -c ../src/polkitbackend/polkitbackendactionlookup.c In file included from ../src/polkitbackend/polkitbackendactionlookup.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkittypes.h:25, from ../src/polkit/polkit.h:27, from ../src/polkitbackend/polkitbackendactionlookup.c:29: ../src/polkitbackend/polkitbackendactionlookup.c: In function ‘polkit_backend_action_lookup_get_type’: /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’ 262 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionlookup.c:79:7: note: in expansion of macro ‘g_once_init_enter’ 79 | if (g_once_init_enter (&g_define_type_id__volatile)) | ^~~~~~~~~~~~~~~~~ [39/81] gcc -Isrc/polkitagent/libpolkit-agent-1.so.0.0.0.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_AGENT_COMPILATION '-DPACKAGE_PREFIX="/usr"' -MD -MQ src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentenumtypes.c.o -MF src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentenumtypes.c.o.d -o src/polkitagent/libpolkit-agent-1.so.0.0.0.p/meson-generated_.._polkitagentenumtypes.c.o -c src/polkitagent/polkitagentenumtypes.c [40/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorizationresult.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorizationresult.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorizationresult.c.o -c ../src/polkit/polkitauthorizationresult.c [41/81] gcc -Isrc/polkitagent/polkit-agent-helper-1.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkitagent/polkit-agent-helper-1.p/polkitagenthelperprivate.c.o -MF src/polkitagent/polkit-agent-helper-1.p/polkitagenthelperprivate.c.o.d -o src/polkitagent/polkit-agent-helper-1.p/polkitagenthelperprivate.c.o -c ../src/polkitagent/polkitagenthelperprivate.c [42/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixgroup.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixgroup.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixgroup.c.o -c ../src/polkit/polkitunixgroup.c [43/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixuser.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixuser.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixuser.c.o -c ../src/polkit/polkitunixuser.c [44/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitdetails.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitdetails.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitdetails.c.o -c ../src/polkit/polkitdetails.c [45/81] gcc -Isrc/polkitbackend/polkitd.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread '-DG_LOG_DOMAIN="polkitd-1"' -DPOLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/polkitbackend/polkitd.p/polkitd.c.o -MF src/polkitbackend/polkitd.p/polkitd.c.o.d -o src/polkitbackend/polkitd.p/polkitd.c.o -c ../src/polkitbackend/polkitd.c ../src/polkitbackend/polkitd.c: In function ‘become_user’: ../src/polkitbackend/polkitd.c:133:3: warning: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 133 | setregid (pw->pw_gid, pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitd.c:134:3: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 134 | setreuid (pw->pw_uid, pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [46/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendcommon.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendcommon.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendcommon.c.o -c ../src/polkitbackend/polkitbackendcommon.c In file included from ../src/polkitbackend/polkitbackendcommon.h:29, from ../src/polkitbackend/polkitbackendcommon.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../src/polkitbackend/polkitbackendcommon.c: In function ‘utils_on_cancelled’: ../src/polkitbackend/polkitbackendcommon.c:141:3: warning: ‘g_simple_async_result_take_error’ is deprecated [-Wdeprecated-declarations] 141 | g_simple_async_result_take_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitactiondescription.h:30, from ../src/polkit/polkit.h:30, from ../src/polkitbackend/polkitbackendcommon.h:44: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:118:21: note: declared here 118 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:142:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 142 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c: In function ‘utils_timeout_cb’: ../src/polkitbackend/polkitbackendcommon.c:157:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 157 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c: In function ‘utils_child_watch_cb’: ../src/polkitbackend/polkitbackendcommon.c:190:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 190 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c: In function ‘polkit_backend_common_spawn’: ../src/polkitbackend/polkitbackendcommon.c:234:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 234 | data->simple = g_simple_async_result_new (NULL, | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:250:3: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 250 | g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:259:11: warning: ‘g_simple_async_result_take_error’ is deprecated [-Wdeprecated-declarations] 259 | g_simple_async_result_take_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:118:21: note: declared here 118 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:260:11: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 260 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:285:7: warning: ‘g_simple_async_result_take_error’ is deprecated [-Wdeprecated-declarations] 285 | g_simple_async_result_take_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:118:21: note: declared here 118 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:286:7: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 286 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c: In function ‘polkit_backend_common_spawn_finish’: ../src/polkitbackend/polkitbackendcommon.c:372:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 372 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:374:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 374 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendcommon.c:377:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 377 | data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [47/81] gcc -Isrc/programs/pkaction.p -Isrc/programs -I../src/programs -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -MD -MQ src/programs/pkaction.p/pkaction.c.o -MF src/programs/pkaction.p/pkaction.c.o.d -o src/programs/pkaction.p/pkaction.c.o -c ../src/programs/pkaction.c [48/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitidentity.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitidentity.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitidentity.c.o -c ../src/polkit/polkitidentity.c In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkitidentity.h:29, from ../src/polkit/polkitidentity.c:28: ../src/polkit/polkitidentity.c: In function ‘polkit_identity_get_type’: /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’ 262 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitidentity.c:54:7: note: in expansion of macro ‘g_once_init_enter’ 54 | if (g_once_init_enter (&g_define_type_id__volatile)) | ^~~~~~~~~~~~~~~~~ [49/81] gcc -Isrc/programs/pkttyagent.p -Isrc/programs -I../src/programs -I. -I.. -Isrc/polkitagent -I../src/polkitagent -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -MD -MQ src/programs/pkttyagent.p/pkttyagent.c.o -MF src/programs/pkttyagent.p/pkttyagent.c.o.d -o src/programs/pkttyagent.p/pkttyagent.c.o -c ../src/programs/pkttyagent.c [50/81] gcc -Isrc/polkitagent/polkit-agent-helper-1.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkitagent/polkit-agent-helper-1.p/polkitagenthelper-pam.c.o -MF src/polkitagent/polkit-agent-helper-1.p/polkitagenthelper-pam.c.o.d -o src/polkitagent/polkit-agent-helper-1.p/polkitagenthelper-pam.c.o -c ../src/polkitagent/polkitagenthelper-pam.c [51/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitactiondescription.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitactiondescription.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitactiondescription.c.o -c ../src/polkit/polkitactiondescription.c [52/81] gcc -Isrc/polkitagent/libpolkit-agent-1.so.0.0.0.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_AGENT_COMPILATION '-DPACKAGE_PREFIX="/usr"' -MD -MQ src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagenttextlistener.c.o -MF src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagenttextlistener.c.o.d -o src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagenttextlistener.c.o -c ../src/polkitagent/polkitagenttextlistener.c ../src/polkitagent/polkitagenttextlistener.c: In function ‘on_completed’: ../src/polkitagent/polkitagenttextlistener.c:312:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 312 | g_simple_async_result_complete_in_idle (listener->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitactiondescription.h:30, from ../src/polkit/polkitprivate.h:26, from ../src/polkitagent/polkitagenttextlistener.c:34: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c: In function ‘polkit_agent_text_listener_initiate_authentication’: ../src/polkitagent/polkitagenttextlistener.c:556:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 556 | simple = g_simple_async_result_new (G_OBJECT (listener), | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c:562:7: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 562 | g_simple_async_result_set_error (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c:566:7: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 566 | g_simple_async_result_complete_in_idle (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c:598:11: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 598 | g_simple_async_result_set_error (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c:602:11: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 602 | g_simple_async_result_complete_in_idle (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c: In function ‘polkit_agent_text_listener_initiate_authentication_finish’: ../src/polkitagent/polkitagenttextlistener.c:656:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 656 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagenttextlistener.c:661:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 661 | if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [53/81] gcc -Isrc/programs/pkcheck.p -Isrc/programs -I../src/programs -I. -I.. -Isrc/polkitagent -I../src/polkitagent -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -MD -MQ src/programs/pkcheck.p/pkcheck.c.o -MF src/programs/pkcheck.p/pkcheck.c.o.d -o src/programs/pkcheck.p/pkcheck.c.o -c ../src/programs/pkcheck.c ../src/programs/pkcheck.c: In function ‘do_list_or_revoke_temp_authz’: ../src/programs/pkcheck.c:274:11: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 274 | GTimeVal now; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n.h:23, from ../src/programs/pkcheck.c:28: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ ../src/programs/pkcheck.c:290:11: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 290 | g_get_current_time (&now); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ [54/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsubject.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsubject.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsubject.c.o -c ../src/polkit/polkitsubject.c In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkitsubject.h:29, from ../src/polkit/polkitsubject.c:29: ../src/polkit/polkitsubject.c: In function ‘polkit_subject_get_type’: /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’ 262 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsubject.c:55:7: note: in expansion of macro ‘g_once_init_enter’ 55 | if (g_once_init_enter (&g_define_type_id__volatile)) | ^~~~~~~~~~~~~~~~~ [55/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsystembusname.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsystembusname.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsystembusname.c.o -c ../src/polkit/polkitsystembusname.c ../src/polkit/polkitsystembusname.c: In function ‘exists_in_thread_func’: ../src/polkit/polkitsystembusname.c:288:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 288 | g_simple_async_result_set_from_error (res, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitsystembusname.h:32, from ../src/polkit/polkitsystembusname.c:27: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsystembusname.c: In function ‘polkit_system_bus_name_exists’: ../src/polkit/polkitsystembusname.c:303:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 303 | simple = g_simple_async_result_new (G_OBJECT (subject), | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsystembusname.c:307:3: warning: ‘g_simple_async_result_run_in_thread’ is deprecated [-Wdeprecated-declarations] 307 | g_simple_async_result_run_in_thread (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here 110 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsystembusname.c: In function ‘polkit_system_bus_name_exists_finish’: ../src/polkit/polkitsystembusname.c:322:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 322 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsystembusname.c:326:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 326 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitsystembusname.c:329:3: warning: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated [-Wdeprecated-declarations] 329 | ret = g_simple_async_result_get_op_res_gboolean (simple); | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:93:21: note: declared here 93 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [56/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendsessionmonitor.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendsessionmonitor.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendsessionmonitor.c.o -c ../src/polkitbackend/polkitbackendsessionmonitor.c In file included from ../src/polkitbackend/polkitbackendsessionmonitor.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition [57/81] gcc -Isrc/polkitagent/libpolkit-agent-1.so.0.0.0.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_AGENT_COMPILATION '-DPACKAGE_PREFIX="/usr"' -MD -MQ src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentsession.c.o -MF src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentsession.c.o.d -o src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentsession.c.o -c ../src/polkitagent/polkitagentsession.c In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gio-unix-2.0/gio/gunixoutputstream.h:26, from ../src/polkitagent/polkitagentsession.c:58: ../src/polkitagent/polkitagentsession.c: In function ‘_show_debug’: /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’ 262 | (!g_atomic_pointer_get (location) && \ | ^~~~~~~~~~~~~~~~~~~~ ../src/polkitagent/polkitagentsession.c:70:7: note: in expansion of macro ‘g_once_init_enter’ 70 | if (g_once_init_enter (&has_show_debug)) | ^~~~~~~~~~~~~~~~~ [58/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixprocess.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixprocess.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixprocess.c.o -c ../src/polkit/polkitunixprocess.c ../src/polkit/polkitunixprocess.c: In function ‘polkit_unix_process_exists’: ../src/polkit/polkitunixprocess.c:572:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 572 | simple = g_simple_async_result_new (G_OBJECT (subject), | ^~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitunixprocess.h:32, from ../src/polkit/polkitunixprocess.c:44: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixprocess.c:576:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 576 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitunixprocess.c: In function ‘polkit_unix_process_exists_finish’: ../src/polkit/polkitunixprocess.c:587:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 587 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [59/81] gcc -Isrc/polkitagent/libpolkit-agent-1.so.0.0.0.p -Isrc/polkitagent -I../src/polkitagent -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_AGENT_COMPILATION '-DPACKAGE_PREFIX="/usr"' -MD -MQ src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentlistener.c.o -MF src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentlistener.c.o.d -o src/polkitagent/libpolkit-agent-1.so.0.0.0.p/polkitagentlistener.c.o -c ../src/polkitagent/polkitagentlistener.c [60/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitpermission.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitpermission.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitpermission.c.o -c ../src/polkit/polkitpermission.c ../src/polkit/polkitpermission.c: In function ‘acquire_cb’: ../src/polkit/polkitpermission.c:558:15: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 558 | g_simple_async_result_set_error (data->simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitpermission.c:30: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:566:15: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 566 | g_simple_async_result_set_error (data->simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:577:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 577 | g_simple_async_result_set_from_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:583:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 583 | g_simple_async_result_complete (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘acquire_async’: ../src/polkit/polkitpermission.c:598:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 598 | data->simple = g_simple_async_result_new (G_OBJECT (permission), | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘acquire_finish’: ../src/polkit/polkitpermission.c:621:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 621 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:623:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 623 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘release_check_cb’: ../src/polkit/polkitpermission.c:710:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 710 | g_simple_async_result_set_from_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:721:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 721 | g_simple_async_result_complete (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘release_cb’: ../src/polkit/polkitpermission.c:742:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 742 | g_simple_async_result_set_from_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:747:7: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 747 | g_simple_async_result_complete (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘release_async’: ../src/polkit/polkitpermission.c:778:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 778 | data->simple = g_simple_async_result_new (G_OBJECT (permission), | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:785:7: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 785 | g_simple_async_result_set_error (data->simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:790:7: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 790 | g_simple_async_result_complete_in_idle (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c: In function ‘release_finish’: ../src/polkit/polkitpermission.c:812:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 812 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitpermission.c:814:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 814 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [61/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendauthority.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendauthority.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendauthority.c.o -c ../src/polkitbackend/polkitbackendauthority.c In file included from ../src/polkitbackend/polkitbackendauthority.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../src/polkitbackend/polkitbackendauthority.c: In function ‘polkit_backend_authority_check_authorization’: ../src/polkitbackend/polkitbackendauthority.c:216:7: warning: ‘g_simple_async_result_new_error’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 216 | simple = g_simple_async_result_new_error (G_OBJECT (authority), | ^~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitactiondescription.h:30, from ../src/polkit/polkit.h:30, from ../src/polkitbackend/polkitbackendauthority.c:29: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:58:21: note: declared here 58 | GSimpleAsyncResult *g_simple_async_result_new_error (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendauthority.c:222:7: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 222 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendauthority.c: In function ‘polkit_backend_authority_check_authorization_finish’: ../src/polkitbackend/polkitbackendauthority.c:253:7: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 253 | g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendauthority.c: In function ‘polkit_backend_authority_log’: ../src/polkitbackend/polkitbackendauthority.c:1522:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 1522 | GTimeVal now; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkittypes.h:25, from ../src/polkit/polkit.h:27: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ ../src/polkitbackend/polkitbackendauthority.c:1537:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 1537 | g_get_current_time (&now); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ [62/81] gcc -Isrc/programs/pkexec.p -Isrc/programs -I../src/programs -I. -I.. -Isrc/polkitagent -I../src/polkitagent -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -MD -MQ src/programs/pkexec.p/pkexec.c.o -MF src/programs/pkexec.p/pkexec.c.o.d -o src/programs/pkexec.p/pkexec.c.o -c ../src/programs/pkexec.c ../src/programs/pkexec.c: In function ‘main’: ../src/programs/pkexec.c:953:7: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 953 | setreuid (0, 0); | ^~~~~~~~~~~~~~~ ../src/programs/pkexec.c:1006:3: warning: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1006 | setregid (pw->pw_gid, pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/programs/pkexec.c:1007:3: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1007 | setreuid (pw->pw_uid, pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [63/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionpool.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionpool.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendactionpool.c.o -c ../src/polkitbackend/polkitbackendactionpool.c In file included from ../src/polkitbackend/polkitbackendactionpool.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_init’: ../src/polkitbackend/polkitbackendactionpool.c:131:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 131 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_finalize’: ../src/polkitbackend/polkitbackendactionpool.c:151:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 151 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_get_property’: ../src/polkitbackend/polkitbackendactionpool.c:178:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 178 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘dir_monitor_changed’: ../src/polkitbackend/polkitbackendactionpool.c:203:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 203 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_set_property’: ../src/polkitbackend/polkitbackendactionpool.c:251:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 251 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_class_init’: ../src/polkitbackend/polkitbackendactionpool.c:292:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 292 | g_type_class_add_private (klass, sizeof (PolkitBackendActionPoolPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkittypes.h:25, from ../src/polkit/polkit.h:27, from ../src/polkitbackend/polkitbackendactionpool.c:28: /usr/include/glib-2.0/gobject/gtype.h:1356:10: note: declared here 1356 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_get_action’: ../src/polkitbackend/polkitbackendactionpool.c:372:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 372 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘polkit_backend_action_pool_get_all_actions’: ../src/polkitbackend/polkitbackendactionpool.c:430:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 430 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘ensure_file’: ../src/polkitbackend/polkitbackendactionpool.c:465:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 465 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘ensure_all_files’: ../src/polkitbackend/polkitbackendactionpool.c:511:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 511 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendactionpool.c: In function ‘_end’: ../src/polkitbackend/polkitbackendactionpool.c:974:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 974 | priv = POLKIT_BACKEND_ACTION_POOL_GET_PRIVATE (pd->pool); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [64/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendduktapeauthority.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendduktapeauthority.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendduktapeauthority.c.o -c ../src/polkitbackend/polkitbackendduktapeauthority.c In file included from ../src/polkitbackend/polkitbackendcommon.h:29, from ../src/polkitbackend/polkitbackendduktapeauthority.c:26: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../src/polkitbackend/polkitbackendduktapeauthority.c: In function ‘polkit_backend_js_authority_init’: ../src/polkitbackend/polkitbackendduktapeauthority.c:98:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 98 | PolkitBackendJsAuthorityPrivate); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendduktapeauthority.c: In function ‘polkit_backend_js_authority_class_init’: ../src/polkitbackend/polkitbackendduktapeauthority.c:311:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 311 | g_type_class_add_private (klass, sizeof (PolkitBackendJsAuthorityPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkittypes.h:25, from ../src/polkit/polkit.h:27, from ../src/polkitbackend/polkitbackendcommon.h:44: /usr/include/glib-2.0/gobject/gtype.h:1356:10: note: declared here 1356 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ [65/81] gcc -Isrc/polkit/libpolkit-gobject-1.so.0.0.0.p -Isrc/polkit -I../src/polkit -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -MD -MQ src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthority.c.o -MF src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthority.c.o.d -o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthority.c.o -c ../src/polkit/polkitauthority.c ../src/polkit/polkitauthority.c: In function ‘authority_get_async_cb’: ../src/polkit/polkitauthority.c:437:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 437 | g_simple_async_result_set_from_error (simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitauthority.h:30, from ../src/polkit/polkitauthority.c:28: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:443:7: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 443 | g_simple_async_result_set_op_res_gpointer (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:447:3: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 447 | g_simple_async_result_complete_in_idle (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_get_async’: ../src/polkit/polkitauthority.c:477:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 477 | simple = g_simple_async_result_new (NULL, | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:487:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 487 | g_simple_async_result_set_from_error (simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:489:7: warning: ‘g_simple_async_result_complete_in_idle’ is deprecated [-Wdeprecated-declarations] 489 | g_simple_async_result_complete_in_idle (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:108:21: note: declared here 108 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_get_finish’: ../src/polkit/polkitauthority.c:525:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 525 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:529:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 529 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:532:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 532 | object = g_simple_async_result_get_op_res_gpointer (simple); | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘generic_async_cb’: ../src/polkit/polkitauthority.c:631:3: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 631 | g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:632:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 632 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_enumerate_actions’: ../src/polkit/polkitauthority.c:669:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 669 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_enumerate_actions_finish’: ../src/polkit/polkitauthority.c:706:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 706 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:707:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 707 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘check_authorization_cb’: ../src/polkit/polkitauthority.c:821:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 821 | g_simple_async_result_set_from_error (data->simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:832:7: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 832 | g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:835:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 835 | g_simple_async_result_complete (data->simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_check_authorization’: ../src/polkit/polkitauthority.c:899:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 899 | data->simple = g_simple_async_result_new (G_OBJECT (authority), | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_check_authorization_finish’: ../src/polkit/polkitauthority.c:947:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 947 | if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:950:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 950 | ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:950:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 950 | ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_register_authentication_agent’: ../src/polkit/polkitauthority.c:1068:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1068 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_register_authentication_agent_finish’: ../src/polkit/polkitauthority.c:1099:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1099 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1100:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1100 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_register_authentication_agent_with_options’: ../src/polkit/polkitauthority.c:1221:26: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1221 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1238:26: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1238 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_register_authentication_agent_with_options_finish’: ../src/polkit/polkitauthority.c:1271:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1271 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1272:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1272 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_unregister_authentication_agent’: ../src/polkit/polkitauthority.c:1378:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1378 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_unregister_authentication_agent_finish’: ../src/polkit/polkitauthority.c:1409:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1409 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1410:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1410 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_authentication_agent_response’: ../src/polkit/polkitauthority.c:1519:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1519 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_authentication_agent_response_finish’: ../src/polkit/polkitauthority.c:1550:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1550 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1551:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1551 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_enumerate_temporary_authorizations’: ../src/polkit/polkitauthority.c:1645:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1645 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_enumerate_temporary_authorizations_finish’: ../src/polkit/polkitauthority.c:1682:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1682 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1683:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1683 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_revoke_temporary_authorizations’: ../src/polkit/polkitauthority.c:1794:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1794 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_revoke_temporary_authorizations_finish’: ../src/polkit/polkitauthority.c:1825:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1825 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1826:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1826 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_revoke_temporary_authorization_by_id’: ../src/polkit/polkitauthority.c:1914:22: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 1914 | g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c: In function ‘polkit_authority_revoke_temporary_authorization_by_id_finish’: ../src/polkit/polkitauthority.c:1945:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 1945 | g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkit/polkitauthority.c:1946:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1946 | _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res))); | ^~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [66/81] gcc -o src/polkit/libpolkit-gobject-1.so.0.0.0 src/polkit/libpolkit-gobject-1.so.0.0.0.p/meson-generated_.._polkitenumtypes.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitactiondescription.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthority.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorityfeatures.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorizationresult.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitcheckauthorizationflags.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitdetails.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkiterror.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitidentity.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitimplicitauthorization.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitpermission.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsubject.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsystembusname.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkittemporaryauthorization.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixgroup.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixnetgroup.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixprocess.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixuser.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixsession.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libpolkit-gobject-1.so.0 -pie -Wl,-z,now -Wl,-z,relro -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script,/builddir/build/BUILD/polkit-122/src/symbol.map /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group FAILED: src/polkit/libpolkit-gobject-1.so.0.0.0 gcc -o src/polkit/libpolkit-gobject-1.so.0.0.0 src/polkit/libpolkit-gobject-1.so.0.0.0.p/meson-generated_.._polkitenumtypes.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitactiondescription.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthority.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorityfeatures.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitauthorizationresult.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitcheckauthorizationflags.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitdetails.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkiterror.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitidentity.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitimplicitauthorization.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitpermission.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsubject.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitsystembusname.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkittemporaryauthorization.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixgroup.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixnetgroup.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixprocess.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixuser.c.o src/polkit/libpolkit-gobject-1.so.0.0.0.p/polkitunixsession.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libpolkit-gobject-1.so.0 -pie -Wl,-z,now -Wl,-z,relro -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script,/builddir/build/BUILD/polkit-122/src/symbol.map /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group /usr/bin/ld: /usr/lib/gcc/x86_64-anolis-linux/12/../../../../lib64/Scrt1.o: in function `_start': (.text+0x1b): undefined reference to `main' collect2: error: ld returned 1 exit status [67/81] gcc -Isrc/polkitbackend/libpolkit-backend-1.a.p -Isrc/polkitbackend -I../src/polkitbackend -I. -I.. -Isrc -I../src -Isrc/polkit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION '-DPACKAGE_DATA_DIR="/usr/share"' '-DPACKAGE_SYSCONF_DIR="/etc"' -D_XOPEN_SOURCE=700 -D_GNU_SOURCE=1 -MD -MQ src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendinteractiveauthority.c.o -MF src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendinteractiveauthority.c.o.d -o src/polkitbackend/libpolkit-backend-1.a.p/polkitbackendinteractiveauthority.c.o -c ../src/polkitbackend/polkitbackendinteractiveauthority.c In file included from ../src/polkitbackend/polkitbackendinteractiveauthority.c:22: ./config.h:40: warning: "_GNU_SOURCE" redefined 40 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_init’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:300:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 300 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_finalize’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:354:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 354 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_class_init’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:419:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] 419 | g_type_class_add_private (klass, sizeof (PolkitBackendInteractiveAuthorityPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from ../src/polkit/polkittypes.h:25, from ../src/polkit/polkit.h:27, from ../src/polkitbackend/polkitbackendinteractiveauthority.c:35: /usr/include/glib-2.0/gobject/gtype.h:1356:10: note: declared here 1356 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_enumerate_actions’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:435:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 435 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘log_result’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:572:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 572 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘check_authorization_challenge_cb’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:639:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 639 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:741:3: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 741 | g_simple_async_result_set_op_res_gpointer (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/gio.h:141, from ../src/polkit/polkitactiondescription.h:30, from ../src/polkit/polkit.h:30: /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:744:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 744 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_check_authorization_finish’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:764:3: warning: ‘g_simple_async_result_get_source_tag’ is deprecated [-Wdeprecated-declarations] 764 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here 101 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:768:3: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations] 768 | if (g_simple_async_result_propagate_error (simple, error)) | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here 121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:771:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 771 | result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple)); | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:771:3: warning: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 771 | result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple)); | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:81:21: note: declared here 81 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘may_identity_check_authorization’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:782:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 782 | PolkitBackendInteractiveAuthorityPrivate *priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_check_authorization’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:861:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 861 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:872:3: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations] 872 | simple = g_simple_async_result_new (G_OBJECT (authority), | ^~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here 53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:900:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 900 | g_simple_async_result_set_from_error (simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:901:7: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 901 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:915:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 915 | g_simple_async_result_set_from_error (simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:916:7: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 916 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:960:15: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 960 | g_simple_async_result_set_error (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:968:15: warning: ‘g_simple_async_result_set_error’ is deprecated [-Wdeprecated-declarations] 968 | g_simple_async_result_set_error (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:124:21: note: declared here 124 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:974:11: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 974 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:992:7: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations] 992 | g_simple_async_result_set_from_error (simple, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here 115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:993:7: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 993 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:1033:3: warning: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated [-Wdeprecated-declarations] 1033 | g_simple_async_result_set_op_res_gpointer (simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:77:21: note: declared here 77 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:1036:3: warning: ‘g_simple_async_result_complete’ is deprecated [-Wdeprecated-declarations] 1036 | g_simple_async_result_complete (simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:106:21: note: declared here 106 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘check_authorization_sync’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1085:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1085 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_authentication_agent_for_subject’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1701:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1701 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_authentication_session_for_uid_and_cookie’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1774:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1774 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_authentication_sessions_initiated_by_system_bus_unique_name’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1827:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1827 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_authentication_sessions_for_system_bus_unique_name_subject’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1861:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1861 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_authentication_agent_by_unique_system_bus_name’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:1893:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1893 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘get_localized_data_for_challenge’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2057:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2057 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘authentication_agent_initiate_challenge’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2320:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2320 | PolkitBackendInteractiveAuthorityPrivate *priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_register_authentication_agent’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2523:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2523 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_unregister_authentication_agent’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2678:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2678 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_authentication_agent_response’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2838:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2838 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_system_bus_name_owner_changed’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:2922:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 2922 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_enumerate_temporary_authorizations’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:3347:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 3347 | GTimeVal real_now; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gprintf.h:23, from /usr/include/glib-2.0/glib/gstdio.h:24, from ../src/polkitbackend/polkitbackendinteractiveauthority.c:32: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:3350:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 3350 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c:3386:3: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 3386 | g_get_current_time (&real_now); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_revoke_temporary_authorizations’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:3434:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 3434 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/polkitbackend/polkitbackendinteractiveauthority.c: In function ‘polkit_backend_interactive_authority_revoke_temporary_authorization_by_id’: ../src/polkitbackend/polkitbackendinteractiveauthority.c:3514:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 3514 | priv = POLKIT_BACKEND_INTERACTIVE_AUTHORITY_GET_PRIVATE (interactive_authority); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/polkit-122/anolis-linux-build -j 64 -v error: Bad exit status from /var/tmp/rpm-tmp.3bc9RP (%build) Bad exit status from /var/tmp/rpm-tmp.3bc9RP (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/polkit.spec