>>> obex-data-server: Building main/obex-data-server 0.4.6-r6 (using abuild 3.14.0-r0) started Thu, 17 Oct 2024 07:20:06 +0000
>>> obex-data-server: Validating /home/buildozer/aports/main/obex-data-server/APKBUILD...
>>> WARNING: obex-data-server: Setting the maintainer with a comment is deprecated. Use maintainer="Natanael Copa <ncopa@alpinelinux.org>" instead
>>> obex-data-server: Analyzing dependencies...
>>> obex-data-server: Installing for build: build-base dbus-glib-dev openobex-dev libusb-compat-dev bluez-dev gdk-pixbuf-dev
(1/115) Installing dbus-libs (1.14.10-r4)
(2/115) Installing libffi (3.4.6-r0)
(3/115) Installing libintl (0.22.5-r0)
(4/115) Installing libeconf (0.6.3-r0)
(5/115) Installing libblkid (2.40.2-r3)
(6/115) Installing libmount (2.40.2-r3)
(7/115) Installing glib (2.82.1-r1)
(8/115) Installing dbus-glib (0.112-r6)
(9/115) Installing dbus-dev (1.14.10-r4)
(10/115) Installing libbz2 (1.0.8-r6)
(11/115) Installing bzip2-dev (1.0.8-r6)
(12/115) Installing xz-libs (5.6.3-r0)
(13/115) Installing libxml2 (2.13.4-r1)
(14/115) Installing libxml2-utils (2.13.4-r1)
(15/115) Installing docbook-xml (4.5-r9)
Executing docbook-xml-4.5-r9.post-install
(16/115) Installing libgpg-error (1.50-r0)
(17/115) Installing libgcrypt (1.10.3-r1)
(18/115) Installing libxslt (1.1.42-r0)
(19/115) Installing docbook-xsl (1.79.2-r9)
Executing docbook-xsl-1.79.2-r9.post-install
(20/115) Installing xz (5.6.3-r0)
(21/115) Installing gettext-asprintf (0.22.5-r0)
(22/115) Installing gettext-libs (0.22.5-r0)
(23/115) Installing gettext-envsubst (0.22.5-r0)
(24/115) Installing gettext (0.22.5-r0)
(25/115) Installing gettext-dev (0.22.5-r0)
(26/115) Installing gdbm (1.24-r0)
(27/115) Installing mpdecimal (4.0.0-r0)
(28/115) Installing libpanelw (6.5_p20241006-r0)
(29/115) Installing sqlite-libs (3.46.1-r0)
(30/115) Installing python3 (3.12.7-r0)
(31/115) Installing python3-pycache-pyc0 (3.12.7-r0)
(32/115) Installing pyc (3.12.7-r0)
(33/115) Installing python3-pyc (3.12.7-r0)
(34/115) Installing py3-parsing (3.1.4-r0)
(35/115) Installing py3-parsing-pyc (3.1.4-r0)
(36/115) Installing py3-packaging (24.1-r0)
(37/115) Installing py3-packaging-pyc (24.1-r0)
(38/115) Installing linux-headers (6.6-r1)
(39/115) Installing libffi-dev (3.4.6-r0)
(40/115) Installing bsd-compat-headers (0.7.2-r6)
(41/115) Installing libformw (6.5_p20241006-r0)
(42/115) Installing libmenuw (6.5_p20241006-r0)
(43/115) Installing libncurses++ (6.5_p20241006-r0)
(44/115) Installing ncurses-dev (6.5_p20241006-r0)
(45/115) Installing libedit (20240808.3.1-r0)
(46/115) Installing libedit-dev (20240808.3.1-r0)
(47/115) Installing zlib-dev (1.3.1-r2)
(48/115) Installing libpcre2-16 (10.43-r0)
(49/115) Installing libpcre2-32 (10.43-r0)
(50/115) Installing pcre2-dev (10.43-r0)
(51/115) Installing libuuid (2.40.2-r3)
(52/115) Installing libfdisk (2.40.2-r3)
(53/115) Installing libsmartcols (2.40.2-r3)
(54/115) Installing sqlite (3.46.1-r0)
(55/115) Installing sqlite-dev (3.46.1-r0)
(56/115) Installing util-linux (2.40.2-r3)
(57/115) Installing dmesg (2.40.2-r3)
(58/115) Installing setarch (2.40.2-r3)
(59/115) Installing util-linux-misc (2.40.2-r3)
(60/115) Installing utmps-libs (0.1.2.3-r1)
(61/115) Installing linux-pam (1.6.1-r1)
(62/115) Installing runuser (2.40.2-r3)
(63/115) Installing mount (2.40.2-r3)
(64/115) Installing losetup (2.40.2-r3)
(65/115) Installing hexdump (2.40.2-r3)
(66/115) Installing uuidgen (2.40.2-r3)
(67/115) Installing blkid (2.40.2-r3)
(68/115) Installing sfdisk (2.40.2-r3)
(69/115) Installing mcookie (2.40.2-r3)
(70/115) Installing agetty (2.40.2-r3)
(71/115) Installing wipefs (2.40.2-r3)
(72/115) Installing cfdisk (2.40.2-r3)
(73/115) Installing umount (2.40.2-r3)
(74/115) Installing flock (2.40.2-r3)
(75/115) Installing lsblk (2.40.2-r3)
(76/115) Installing libcap-ng (0.8.5-r0)
(77/115) Installing setpriv (2.40.2-r3)
(78/115) Installing lscpu (2.40.2-r3)
(79/115) Installing logger (2.40.2-r3)
(80/115) Installing partx (2.40.2-r3)
(81/115) Installing fstrim (2.40.2-r3)
(82/115) Installing findmnt (2.40.2-r3)
(83/115) Installing util-linux-dev (2.40.2-r3)
(84/115) Installing glib-dev (2.82.1-r1)
(85/115) Installing dbus-glib-dev (0.112-r6)
(86/115) Installing libusb (1.0.27-r0)
(87/115) Installing libusb-dev (1.0.27-r0)
(88/115) Installing openobex (1.7.2-r6)
(89/115) Installing openobex-dev (1.7.2-r6)
(90/115) Installing libusb-compat (0.1.8-r2)
(91/115) Installing libusb-compat-dev (0.1.8-r2)
(92/115) Installing bluez-libs (5.78-r3)
(93/115) Installing bluez-dev (5.78-r3)
(94/115) Installing shared-mime-info (2.4-r0)
(95/115) Installing libjpeg-turbo (3.0.4-r0)
(96/115) Installing libpng (1.6.44-r0)
(97/115) Installing libsharpyuv (1.4.0-r0)
(98/115) Installing libwebp (1.4.0-r0)
(99/115) Installing tiff (4.7.0-r0)
(100/115) Installing gdk-pixbuf (2.42.12-r1)
(101/115) Installing libturbojpeg (3.0.4-r0)
(102/115) Installing libjpeg-turbo-dev (3.0.4-r0)
(103/115) Installing libpng-dev (1.6.44-r0)
(104/115) Installing libtiffxx (4.7.0-r0)
(105/115) Installing libwebpdecoder (1.4.0-r0)
(106/115) Installing libwebpdemux (1.4.0-r0)
(107/115) Installing libwebpmux (1.4.0-r0)
(108/115) Installing libwebp-dev (1.4.0-r0)
(109/115) Installing zstd (1.5.6-r1)
(110/115) Installing zstd-dev (1.5.6-r1)
(111/115) Installing tiff-dev (4.7.0-r0)
(112/115) Installing gdk-pixbuf-dev (2.42.12-r1)
(113/115) Installing .makedepends-obex-data-server (20241017.072007)
(114/115) Installing util-linux-openrc (2.40.2-r3)
(115/115) Installing agetty-openrc (0.55.1-r2)
Executing busybox-1.36.1-r32.trigger
Executing glib-2.82.1-r1.trigger
No schema files found: removed existing output file.
Executing shared-mime-info-2.4-r0.trigger
Executing gdk-pixbuf-2.42.12-r1.trigger
OK: 365 MiB in 215 packages
>>> obex-data-server: Cleaning up srcdir
>>> obex-data-server: Cleaning up pkgdir
>>> obex-data-server: Cleaning up tmpdir
>>> obex-data-server: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/obex-data-server-0.4.6.tar.gz
Connecting to distfiles.alpinelinux.org (172.105.82.32:443)
saving to '/var/cache/distfiles/v3.21/obex-data-server-0.4.6.tar.gz.part'
obex-data-server-0.4  16% |*****                           | 32522  0:00:05 ETA
obex-data-server-0.4 100% |********************************|  194k  0:00:00 ETA
'/var/cache/distfiles/v3.21/obex-data-server-0.4.6.tar.gz.part' saved
>>> obex-data-server: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/obex-data-server-0.4.6.tar.gz
>>> obex-data-server: Checking sha512sums...
obex-data-server-0.4.6.tar.gz: OK
obex-data-server-0.4.6-build-fixes-1.patch: OK
>>> obex-data-server: Unpacking /var/cache/distfiles/v3.21/obex-data-server-0.4.6.tar.gz...
>>> obex-data-server: obex-data-server-0.4.6-build-fixes-1.patch
patching file src/ods-obex.c
patching file src/ods-session.c
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for armv7-alpine-linux-musleabihf-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for armv7-alpine-linux-musleabihf-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking for BIP... yes
checking for USB... yes
checking for more warnings... no
checking for GLIB... yes
checking for DBUS... yes
checking for BLUEZ... yes
checking for sdp_extract_seqtype_safe in -lbluetooth... no
checking for OPENOBEX... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

                    obex-data-server 0.4.6
                  =============================

        prefix:                    /usr
        compiler:                  gcc
        cflags:                    -Os -fstack-clash-protection -Wformat -Werror=format-security
        BIP imaging support:       gdk-pixbuf
        USB support:               yes

  GEN    src/ods-manager-dbus-glue.h
  GEN    src/ods-server-dbus-glue.h
  GEN    src/ods-server-session-dbus-glue.h
  GEN    src/ods-session-dbus-glue.h
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
INFO: Reading /tmp/dbus-binding-tool-c-marshallers.W3O2V2...
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
INFO: Reading /tmp/dbus-binding-tool-c-marshallers.WIO2V2...
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
INFO: Reading /tmp/dbus-binding-tool-c-marshallers.78O2V2...
INFO: Reading /tmp/dbus-binding-tool-c-marshallers.K6O2V2...
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
WARNING: The token "NONE" is deprecated; use "VOID" instead
make --no-print-directory all-am
  GEN    data/obex-data-server.service
  CC     src/ods-bluez.o
  CC     src/ods-usb.o
  CC     src/ods-capabilities.o
  CC     src/ods-common.o
  CC     src/ods-error.o
  CC     src/ods-folder-listing.o
  CC     src/ods-imaging-helpers.o
  CC     src/ods-main.o
  CC     src/ods-marshal.o
  CC     src/ods-manager.o
  CC     src/ods-logging.o
  CC     src/ods-obex.o
  CC     src/ods-server.o
  CC     src/ods-server-session.o
  CC     src/ods-session.o
  CC     test/ods-dbus-test.o
src/ods-main.c: In function 'main':
src/ods-main.c:127:9: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
  127 |         g_thread_init (NULL);
      |         ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:115,
                 from src/ods-main.c:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here
  271 | void     g_thread_init                   (gpointer vtable);
      |          ^~~~~~~~~~~~~
src/ods-main.c:138:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
  138 |         g_type_init ();
      |         ^~~~~~~~~~~
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from src/ods-main.c:31:
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
  737 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
In file included from src/ods-obex.c:47:
src/ods-obex.h:33:9: warning: "OBEX_HDR_ACTION_ID" redefined
   33 | #define OBEX_HDR_ACTION_ID   0x94
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openobex/obex.h:65,
                 from src/ods-obex.c:40:
/usr/include/openobex/obex_const.h:315:9: note: this is the location of the previous definition
  315 | #define OBEX_HDR_ACTION_ID      (OBEX_HDR_ID_ACTION_ID    | OBEX_HDR_TYPE_UINT8  )
      |         ^~~~~~~~~~~~~~~~~~
src/ods-obex.h:34:9: warning: "OBEX_HDR_DESTNAME" redefined
   34 | #define OBEX_HDR_DESTNAME    0x15
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:316:9: note: this is the location of the previous definition
  316 | #define OBEX_HDR_DESTNAME       (OBEX_HDR_ID_DESTNAME     | OBEX_HDR_TYPE_UNICODE)
      |         ^~~~~~~~~~~~~~~~~
src/ods-obex.h:35:9: warning: "OBEX_HDR_PERMISSIONS" redefined
   35 | #define OBEX_HDR_PERMISSIONS 0xD6
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:317:9: note: this is the location of the previous definition
  317 | #define OBEX_HDR_PERMISSIONS    (OBEX_HDR_ID_PERMISSIONS  | OBEX_HDR_TYPE_UINT32 )
      |         ^~~~~~~~~~~~~~~~~~~~
test/ods-dbus-test.c: In function 'main':
test/ods-dbus-test.c:496:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
  496 |         g_type_init ();
      |         ^~~~~~~~~~~
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from test/ods-dbus-test.c:28:
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
  737 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
src/ods-server.c: In function 'ods_server_class_init':
src/ods-server.c:540:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  540 |         g_type_class_add_private (klass, sizeof (OdsServerPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from src/ods-server.c:41:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server.c: In function 'ods_server_init':
src/ods-server.c:565:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  565 |         server->priv = ODS_SERVER_GET_PRIVATE (server);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
In file included from src/ods-session.c:55:
src/ods-obex.h:33:9: warning: "OBEX_HDR_ACTION_ID" redefined
   33 | #define OBEX_HDR_ACTION_ID   0x94
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openobex/obex.h:65,
                 from src/ods-session.c:42:
/usr/include/openobex/obex_const.h:315:9: note: this is the location of the previous definition
  315 | #define OBEX_HDR_ACTION_ID      (OBEX_HDR_ID_ACTION_ID    | OBEX_HDR_TYPE_UINT8  )
      |         ^~~~~~~~~~~~~~~~~~
src/ods-obex.h:34:9: warning: "OBEX_HDR_DESTNAME" redefined
   34 | #define OBEX_HDR_DESTNAME    0x15
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:316:9: note: this is the location of the previous definition
  316 | #define OBEX_HDR_DESTNAME       (OBEX_HDR_ID_DESTNAME     | OBEX_HDR_TYPE_UNICODE)
      |         ^~~~~~~~~~~~~~~~~
src/ods-obex.h:35:9: warning: "OBEX_HDR_PERMISSIONS" redefined
   35 | #define OBEX_HDR_PERMISSIONS 0xD6
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:317:9: note: this is the location of the previous definition
  317 | #define OBEX_HDR_PERMISSIONS    (OBEX_HDR_ID_PERMISSIONS  | OBEX_HDR_TYPE_UINT32 )
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from src/ods-server-session.c:48:
src/ods-obex.h:33:9: warning: "OBEX_HDR_ACTION_ID" redefined
   33 | #define OBEX_HDR_ACTION_ID   0x94
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openobex/obex.h:65,
                 from src/ods-server-session.c:38:
/usr/include/openobex/obex_const.h:315:9: note: this is the location of the previous definition
  315 | #define OBEX_HDR_ACTION_ID      (OBEX_HDR_ID_ACTION_ID    | OBEX_HDR_TYPE_UINT8  )
      |         ^~~~~~~~~~~~~~~~~~
src/ods-obex.h:34:9: warning: "OBEX_HDR_DESTNAME" redefined
   34 | #define OBEX_HDR_DESTNAME    0x15
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:316:9: note: this is the location of the previous definition
  316 | #define OBEX_HDR_DESTNAME       (OBEX_HDR_ID_DESTNAME     | OBEX_HDR_TYPE_UNICODE)
      |         ^~~~~~~~~~~~~~~~~
src/ods-obex.h:35:9: warning: "OBEX_HDR_PERMISSIONS" redefined
   35 | #define OBEX_HDR_PERMISSIONS 0xD6
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openobex/obex_const.h:317:9: note: this is the location of the previous definition
  317 | #define OBEX_HDR_PERMISSIONS    (OBEX_HDR_ID_PERMISSIONS  | OBEX_HDR_TYPE_UINT32 )
      |         ^~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:87:9: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   87 |         GStaticMutex                    mutex;
      |         ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:115,
                 from src/ods-server-session.c:33:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here
  135 | typedef struct
      |         ^~~~~~
src/ods-session.c:96:9: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   96 |         GStaticMutex                    mutex;
      |         ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:115,
                 from src/ods-session.c:37:
/usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here
  135 | typedef struct
      |         ^~~~~~
src/ods-server-session.c: In function 'obex_request_cancelled':
src/ods-server-session.c:322:27: warning: Deprecated pre-processor symbol
  322 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:322:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  322 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:322:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  322 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c: In function 'obex_io_callback':
src/ods-session.c:244:34: warning: Deprecated pre-processor symbol
  244 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~             
src/ods-session.c:244:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  244 |                         ODS_SESSION_UNLOCK (session);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:244:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  244 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~                                              
src/ods-session.c: In function 'obex_request_done':
src/ods-session.c:456:34: warning: Deprecated pre-processor symbol
  456 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~             
src/ods-session.c:456:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  456 |                         ODS_SESSION_UNLOCK (session);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:456:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  456 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~                                              
src/ods-session.c:471:34: warning: Deprecated pre-processor symbol
  471 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~             
src/ods-session.c:471:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  471 |                         ODS_SESSION_UNLOCK (session);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:471:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  471 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~                                              
src/ods-session.c:489:48: warning: Deprecated pre-processor symbol
  489 |                                         ODS_SESSION_UNLOCK (session);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~           
src/ods-session.c:489:41: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  489 |                                         ODS_SESSION_UNLOCK (session);
      |                                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:489:48: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  489 |                                         ODS_SESSION_UNLOCK (session);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~                                            
src/ods-server-session.c: In function 'ods_server_session_class_init':
src/ods-session.c:558:48: warning: Deprecated pre-processor symbol
  558 |                                         ODS_SESSION_UNLOCK (session);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~           
src/ods-server-session.c:872:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  872 |         g_type_class_add_private (klass, sizeof (OdsServerSessionPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:558:41: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  558 |                                         ODS_SESSION_UNLOCK (session);
      |                                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:558:48: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  558 |                                         ODS_SESSION_UNLOCK (session);
      |                                                ^~~~~~~~~~~~~~~~~~~~~~                                            
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from src/ods-server-session.c:41:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c: In function 'obex_request_cancelled':
src/ods-server-session.c: In function 'ods_server_session_init':
src/ods-session.c:599:27: warning: Deprecated pre-processor symbol
  599 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:897:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  897 |         server_session->priv = ODS_SERVER_SESSION_GET_PRIVATE (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
src/ods-session.c:599:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  599 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:599:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  599 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:910:9: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations]
  910 |         g_static_mutex_init (&server_session->priv->mutex);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | void    g_static_mutex_init           (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~
src/ods-server-session.c: In function 'ods_server_session_finalize':
src/ods-server-session.c:956:9: warning: 'g_static_mutex_free' is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations]
  956 |         g_static_mutex_free (&server_session->priv->mutex);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here
  156 | void    g_static_mutex_free           (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~
src/ods-server-session.c: In function 'ods_server_session_accept':
src/ods-server-session.c:991:20: warning: Deprecated pre-processor symbol
  991 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
src/ods-server-session.c:991:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  991 |         ODS_SERVER_SESSION_LOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:991:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  991 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c: In function 'ods_session_class_init':
src/ods-session.c:979:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
  979 |         g_type_class_add_private (klass, sizeof (OdsSessionPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:994:27: warning: Deprecated pre-processor symbol
  994 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from src/ods-session.c:45:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-manager.c: In function 'ods_manager_class_init':
src/ods-server-session.c:994:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  994 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c: In function 'ods_session_init':
src/ods-session.c:1004:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
 1004 |         session->priv = ODS_SESSION_GET_PRIVATE (session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
src/ods-server-session.c:994:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  994 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-manager.c:1397:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
 1397 |         g_type_class_add_private (klass, sizeof (OdsManagerPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
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 /usr/include/dbus-1.0/dbus/dbus-glib.h:29,
                 from src/ods-manager.c:42:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1021:9: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations]
 1021 |         g_static_mutex_init (&session->priv->mutex);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | void    g_static_mutex_init           (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1002:27: warning: Deprecated pre-processor symbol
 1002 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-manager.c: In function 'ods_manager_init':
src/ods-manager.c:1425:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
 1425 |         manager->priv = ODS_MANAGER_GET_PRIVATE (manager);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
src/ods-server-session.c:1002:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1002 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1002:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1002 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c: In function 'ods_session_finalize':
src/ods-server-session.c:1010:20: warning: Deprecated pre-processor symbol
 1010 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
src/ods-session.c:1064:9: warning: 'g_static_mutex_free' is deprecated: Use 'g_mutex_clear' instead [-Wdeprecated-declarations]
 1064 |         g_static_mutex_free (&session->priv->mutex);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here
  156 | void    g_static_mutex_free           (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1010:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1010 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c: In function 'ods_session_disconnect':
src/ods-server-session.c:1010:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1010 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c:1144:20: warning: Deprecated pre-processor symbol
 1144 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-server-session.c: In function 'ods_server_session_reject':
src/ods-session.c:1144:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1144 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1020:20: warning: Deprecated pre-processor symbol
 1020 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
src/ods-server-session.c:1020:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1020 |         ODS_SERVER_SESSION_LOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1144:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1144 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1147:27: warning: Deprecated pre-processor symbol
 1147 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1020:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1020 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c:1147:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1147 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1023:27: warning: Deprecated pre-processor symbol
 1023 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1147:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1147 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1023:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1023 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1023:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1023 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1159:27: warning: Deprecated pre-processor symbol
 1159 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1159:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1159 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1031:27: warning: Deprecated pre-processor symbol
 1031 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1031:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1031 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1159:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1159 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1031:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1031 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1167:27: warning: Deprecated pre-processor symbol
 1167 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1039:20: warning: Deprecated pre-processor symbol
 1039 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
src/ods-session.c:1167:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1167 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1039:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1039 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1167:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1167 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1039:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1039 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c:1170:27: warning: Deprecated pre-processor symbol
 1170 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c: In function 'ods_server_session_disconnect':
src/ods-server-session.c:1059:20: warning: Deprecated pre-processor symbol
 1059 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
src/ods-session.c:1170:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1170 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1059:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1059 |         ODS_SERVER_SESSION_LOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1170:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1170 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_close':
src/ods-server-session.c:1059:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1059 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c:1181:20: warning: Deprecated pre-processor symbol
 1181 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-server-session.c:1062:27: warning: Deprecated pre-processor symbol
 1062 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1181:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1181 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1062:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1062 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1181:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1181 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-server-session.c:1062:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1062 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1184:27: warning: Deprecated pre-processor symbol
 1184 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1070:27: warning: Deprecated pre-processor symbol
 1070 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1184:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1184 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1070:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1070 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1184:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1184 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1070:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1070 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1196:27: warning: Deprecated pre-processor symbol
 1196 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1077:20: warning: Deprecated pre-processor symbol
 1077 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
src/ods-session.c:1196:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1196 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1077:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1077 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1196:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1196 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1077:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1077 |         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-server-session.c: In function 'ods_server_session_cancel':
src/ods-session.c:1201:20: warning: Deprecated pre-processor symbol
 1201 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~               
src/ods-server-session.c:1116:20: warning: Deprecated pre-processor symbol
 1116 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
src/ods-session.c:1201:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1201 |         ODS_SESSION_UNLOCK (session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1116:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1116 |         ODS_SERVER_SESSION_LOCK (server_session);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1201:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1201 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~                                                
src/ods-session.c: In function 'ods_session_setpath':
src/ods-server-session.c:1116:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1116 |         ODS_SERVER_SESSION_LOCK (server_session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  
src/ods-session.c:1215:20: warning: Deprecated pre-processor symbol
 1215 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-server-session.c:1119:27: warning: Deprecated pre-processor symbol
 1119 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1215:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1215 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1119:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1119 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1215:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1215 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-server-session.c:1119:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1119 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1218:27: warning: Deprecated pre-processor symbol
 1218 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1131:34: warning: Deprecated pre-processor symbol
 1131 |                         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1218:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1218 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1131:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1131 |                         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1218:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1218 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1131:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1131 |                         ODS_SERVER_SESSION_UNLOCK (server_session);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                
src/ods-session.c:1227:27: warning: Deprecated pre-processor symbol
 1227 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-server-session.c:1139:27: warning: Deprecated pre-processor symbol
 1139 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1227:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1227 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-server-session.c:1139:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1139 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1227:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1227 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-server-session.c:1139:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1139 |                 ODS_SERVER_SESSION_UNLOCK (server_session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                 
src/ods-session.c:1231:27: warning: Deprecated pre-processor symbol
 1231 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1231:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1231 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1231:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1231 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1240:27: warning: Deprecated pre-processor symbol
 1240 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1240:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1240 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1240:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1240 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1249:27: warning: Deprecated pre-processor symbol
 1249 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1249:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1249 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1249:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1249 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1267:27: warning: Deprecated pre-processor symbol
 1267 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1267:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1267 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1267:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1267 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_copy_remote_file_full':
src/ods-session.c:1311:20: warning: Deprecated pre-processor symbol
 1311 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1311:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1311 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1311:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1311 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1314:27: warning: Deprecated pre-processor symbol
 1314 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1314:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1314 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1314:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1314 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1324:27: warning: Deprecated pre-processor symbol
 1324 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1324:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1324 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1324:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1324 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1328:27: warning: Deprecated pre-processor symbol
 1328 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1328:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1328 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1328:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1328 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1367:27: warning: Deprecated pre-processor symbol
 1367 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1367:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1367 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1367:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1367 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1373:20: warning: Deprecated pre-processor symbol
 1373 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~               
src/ods-session.c:1373:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1373 |         ODS_SESSION_UNLOCK (session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1373:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1373 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~                                                
src/ods-session.c: In function 'ods_session_get_by_type':
src/ods-session.c:1412:20: warning: Deprecated pre-processor symbol
 1412 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
  CCLD   test/ods-dbus-test
src/ods-session.c:1412:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1412 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1412:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1412 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1415:27: warning: Deprecated pre-processor symbol
 1415 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1415:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1415 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1415:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1415 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1419:27: warning: Deprecated pre-processor symbol
 1419 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1419:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1419 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1419:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1419 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1427:27: warning: Deprecated pre-processor symbol
 1427 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1427:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1427 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1427:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1427 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1442:27: warning: Deprecated pre-processor symbol
 1442 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1442:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1442 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1442:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1442 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_send_file_ext':
src/ods-session.c:1507:20: warning: Deprecated pre-processor symbol
 1507 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1507:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1507 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1507:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1507 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1510:27: warning: Deprecated pre-processor symbol
 1510 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1510:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1510 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1510:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1510 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1520:27: warning: Deprecated pre-processor symbol
 1520 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1520:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1520 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1520:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1520 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1524:27: warning: Deprecated pre-processor symbol
 1524 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1524:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1524 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1524:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1524 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1568:27: warning: Deprecated pre-processor symbol
 1568 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1568:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1568 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1568:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1568 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1574:20: warning: Deprecated pre-processor symbol
 1574 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~               
src/ods-session.c:1574:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1574 |         ODS_SESSION_UNLOCK (session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1574:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1574 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~                                                
src/ods-session.c: In function 'ods_session_set_transfer_hints':
src/ods-session.c:1596:20: warning: Deprecated pre-processor symbol
 1596 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1596:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1596 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1596:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1596 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1599:27: warning: Deprecated pre-processor symbol
 1599 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1599:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1599 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1599:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1599 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1614:34: warning: Deprecated pre-processor symbol
 1614 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~             
src/ods-session.c:1614:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1614 |                         ODS_SESSION_UNLOCK (session);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1614:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1614 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~                                              
src/ods-session.c:1627:20: warning: Deprecated pre-processor symbol
 1627 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~               
src/ods-session.c:1627:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1627 |         ODS_SESSION_UNLOCK (session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1627:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1627 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~                                                
src/ods-session.c: In function 'ods_session_delete_remote_file':
src/ods-session.c:1639:20: warning: Deprecated pre-processor symbol
 1639 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1639:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1639 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1639:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1639 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1642:27: warning: Deprecated pre-processor symbol
 1642 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1642:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1642 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1642:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1642 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1650:27: warning: Deprecated pre-processor symbol
 1650 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1650:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1650 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1650:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1650 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1654:27: warning: Deprecated pre-processor symbol
 1654 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1654:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1654 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1654:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1654 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1662:27: warning: Deprecated pre-processor symbol
 1662 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1662:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1662 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1662:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1662 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1670:27: warning: Deprecated pre-processor symbol
 1670 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1670:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1670 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1670:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1670 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1686:27: warning: Deprecated pre-processor symbol
 1686 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1686:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1686 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1686:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1686 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_remote_action':
src/ods-session.c:1702:20: warning: Deprecated pre-processor symbol
 1702 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1702:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1702 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1702:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1702 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1705:27: warning: Deprecated pre-processor symbol
 1705 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1705:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1705 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1705:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1705 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1714:27: warning: Deprecated pre-processor symbol
 1714 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1714:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1714 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1714:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1714 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1718:27: warning: Deprecated pre-processor symbol
 1718 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1718:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1718 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1718:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1718 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1727:27: warning: Deprecated pre-processor symbol
 1727 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1727:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1727 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1727:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1727 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1736:27: warning: Deprecated pre-processor symbol
 1736 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1736:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1736 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-imaging-helpers.c: In function 'ods_imaging_pixbuf_new_with_format':
src/ods-imaging-helpers.c:550:17: warning: 'g_mapped_file_free' is deprecated: Use 'g_mapped_file_unref' instead [-Wdeprecated-declarations]
  550 |                 g_mapped_file_free (file);
      |                 ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:61,
                 from src/ods-imaging-helpers.c:24:
/usr/include/glib-2.0/glib/gmappedfile.h:56:14: note: declared here
   56 | void         g_mapped_file_free         (GMappedFile  *file);
      |              ^~~~~~~~~~~~~~~~~~
src/ods-imaging-helpers.c:554:9: warning: 'g_mapped_file_free' is deprecated: Use 'g_mapped_file_unref' instead [-Wdeprecated-declarations]
  554 |         g_mapped_file_free (file);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmappedfile.h:56:14: note: declared here
   56 | void         g_mapped_file_free         (GMappedFile  *file);
      |              ^~~~~~~~~~~~~~~~~~
src/ods-session.c:1736:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1736 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-imaging-helpers.c: In function 'ods_imaging_get_image_info':
src/ods-imaging-helpers.c:577:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
  577 |         g_type_init ();
      |         ^~~~~~~~~~~
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 /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:32,
                 from src/ods-imaging-helpers.c:32:
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
  737 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
src/ods-imaging-helpers.c: In function 'ods_imaging_resize_image':
src/ods-imaging-helpers.c:610:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
  610 |         g_type_init ();
      |         ^~~~~~~~~~~
src/ods-session.c:1751:27: warning: Deprecated pre-processor symbol
 1751 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
  737 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
src/ods-session.c:1751:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1751 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-imaging-helpers.c: In function 'ods_imaging_get_image_info_async':
src/ods-imaging-helpers.c:720:9: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
  720 |         if (!g_thread_create ((GThreadFunc)ods_imaging_get_image_info,
      |         ^~
In file included from /usr/include/glib-2.0/glib.h:115:
/usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here
  102 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
src/ods-session.c:1751:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1751 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'get_image_info_cb':
src/ods-imaging-helpers.c: In function 'ods_imaging_resize_image_async':
src/ods-imaging-helpers.c:759:9: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
  759 |         if (!g_thread_create ((GThreadFunc)ods_imaging_resize_image,
      |         ^~
/usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here
  102 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
src/ods-session.c:1794:27: warning: Deprecated pre-processor symbol
 1794 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~        
src/ods-session.c:1794:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1794 |                 ODS_SESSION_UNLOCK (data->session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1794:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1794 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~                                         
src/ods-session.c:1800:27: warning: Deprecated pre-processor symbol
 1800 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~        
src/ods-session.c:1800:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1800 |                 ODS_SESSION_UNLOCK (data->session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1800:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1800 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~                                         
src/ods-session.c:1818:27: warning: Deprecated pre-processor symbol
 1818 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~        
src/ods-session.c:1818:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1818 |                 ODS_SESSION_UNLOCK (data->session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1818:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1818 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~                                         
src/ods-session.c:1823:20: warning: Deprecated pre-processor symbol
 1823 |         ODS_SESSION_UNLOCK (data->session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~         
src/ods-session.c:1823:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1823 |         ODS_SESSION_UNLOCK (data->session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1823:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1823 |         ODS_SESSION_UNLOCK (data->session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~                                          
src/ods-session.c: In function 'ods_session_get_image_info':
src/ods-session.c:1837:20: warning: Deprecated pre-processor symbol
 1837 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1837:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1837 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1837:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1837 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1840:27: warning: Deprecated pre-processor symbol
 1840 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1840:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1840 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1840:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1840 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1848:27: warning: Deprecated pre-processor symbol
 1848 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1848:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1848 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1848:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1848 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1868:27: warning: Deprecated pre-processor symbol
 1868 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1868:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1868 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1868:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1868 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_put_image':
src/ods-session.c:1882:20: warning: Deprecated pre-processor symbol
 1882 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:1882:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1882 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1882:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 1882 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:1885:27: warning: Deprecated pre-processor symbol
 1885 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1885:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1885 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1885:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1885 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1893:27: warning: Deprecated pre-processor symbol
 1893 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1893:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1893 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1893:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1893 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1902:27: warning: Deprecated pre-processor symbol
 1902 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1902:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1902 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1902:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1902 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1906:27: warning: Deprecated pre-processor symbol
 1906 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1906:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1906 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1906:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1906 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1914:27: warning: Deprecated pre-processor symbol
 1914 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1914:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1914 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1914:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1914 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:1936:27: warning: Deprecated pre-processor symbol
 1936 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:1936:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1936 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1936:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1936 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'resize_image_cb':
src/ods-session.c:1958:27: warning: Deprecated pre-processor symbol
 1958 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~        
src/ods-session.c:1958:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1958 |                 ODS_SESSION_UNLOCK (data->session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1958:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1958 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~                                         
src/ods-session.c:1977:27: warning: Deprecated pre-processor symbol
 1977 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~        
src/ods-session.c:1977:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1977 |                 ODS_SESSION_UNLOCK (data->session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1977:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1977 |                 ODS_SESSION_UNLOCK (data->session);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~                                         
src/ods-session.c:1982:20: warning: Deprecated pre-processor symbol
 1982 |         ODS_SESSION_UNLOCK (data->session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~         
src/ods-session.c:1982:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 1982 |         ODS_SESSION_UNLOCK (data->session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:1982:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 1982 |         ODS_SESSION_UNLOCK (data->session);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~                                          
src/ods-session.c: In function 'ods_session_put_image_resized':
src/ods-session.c:2000:20: warning: Deprecated pre-processor symbol
 2000 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:2000:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2000 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2000:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 2000 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:2003:27: warning: Deprecated pre-processor symbol
 2003 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2003:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2003 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2003:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2003 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2011:27: warning: Deprecated pre-processor symbol
 2011 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2011:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2011 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2011:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2011 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2020:27: warning: Deprecated pre-processor symbol
 2020 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2020:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2020 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2020:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2020 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2024:27: warning: Deprecated pre-processor symbol
 2024 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2024:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2024 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2024:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2024 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2032:27: warning: Deprecated pre-processor symbol
 2032 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2032:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2032 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2032:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2032 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2059:27: warning: Deprecated pre-processor symbol
 2059 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2059:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2059 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2059:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2059 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_put_linked_attachment':
src/ods-session.c:2078:20: warning: Deprecated pre-processor symbol
 2078 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:2078:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2078 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2078:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 2078 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:2081:27: warning: Deprecated pre-processor symbol
 2081 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2081:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2081 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2081:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2081 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2089:27: warning: Deprecated pre-processor symbol
 2089 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2089:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2089 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2089:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2089 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2097:27: warning: Deprecated pre-processor symbol
 2097 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2097:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2097 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2097:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2097 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2106:27: warning: Deprecated pre-processor symbol
 2106 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2106:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2106 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2106:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2106 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2110:27: warning: Deprecated pre-processor symbol
 2110 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2110:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2110 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2110:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2110 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2118:27: warning: Deprecated pre-processor symbol
 2118 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2118:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2118 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2118:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2118 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2126:27: warning: Deprecated pre-processor symbol
 2126 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2126:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2126 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2126:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2126 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2149:27: warning: Deprecated pre-processor symbol
 2149 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2149:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2149 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2149:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2149 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2154:20: warning: Deprecated pre-processor symbol
 2154 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~               
src/ods-session.c:2154:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2154 |         ODS_SESSION_UNLOCK (session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2154:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2154 |         ODS_SESSION_UNLOCK (session);
      |                    ^~~~~~~~~~~~~~~~~~                                                
src/ods-session.c: In function 'ods_session_remote_display_full':
src/ods-session.c:2167:20: warning: Deprecated pre-processor symbol
 2167 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:2167:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2167 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2167:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 2167 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:2170:27: warning: Deprecated pre-processor symbol
 2170 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2170:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2170 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2170:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2170 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2178:27: warning: Deprecated pre-processor symbol
 2178 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2178:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2178 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2178:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2178 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2186:27: warning: Deprecated pre-processor symbol
 2186 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2186:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2186 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2186:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2186 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2190:27: warning: Deprecated pre-processor symbol
 2190 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2190:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2190 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2190:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2190 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2198:27: warning: Deprecated pre-processor symbol
 2198 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2198:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2198 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2198:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2198 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2206:27: warning: Deprecated pre-processor symbol
 2206 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2206:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2206 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2206:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2206 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2222:27: warning: Deprecated pre-processor symbol
 2222 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2222:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2222 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2222:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2222 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c: In function 'ods_session_is_busy':
src/ods-session.c:2276:20: warning: Deprecated pre-processor symbol
 2276 |         if (!g_static_mutex_trylock (&session->priv->mutex))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2276:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2276 |         if (!g_static_mutex_trylock (&session->priv->mutex))
      |         ^~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2276:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_trylock"
 2276 |         if (!g_static_mutex_trylock (&session->priv->mutex))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                          
src/ods-session.c:2279:27: warning: Deprecated pre-processor symbol
 2279 |                 g_static_mutex_unlock (&session->priv->mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2279:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2279 |                 g_static_mutex_unlock (&session->priv->mutex);
      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2279:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2279 |                 g_static_mutex_unlock (&session->priv->mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              
src/ods-session.c: In function 'ods_session_cancel':
src/ods-session.c:2309:20: warning: Deprecated pre-processor symbol
 2309 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                 
src/ods-session.c:2309:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2309 |         ODS_SESSION_LOCK (session);
      |         ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2309:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
 2309 |         ODS_SESSION_LOCK (session);
      |                    ^~~~~~~~~~~~~~~~                                                
src/ods-session.c:2312:27: warning: Deprecated pre-processor symbol
 2312 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2312:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2312 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2312:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2312 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
src/ods-session.c:2324:34: warning: Deprecated pre-processor symbol
 2324 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~             
src/ods-session.c:2324:25: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2324 |                         ODS_SESSION_UNLOCK (session);
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2324:34: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2324 |                         ODS_SESSION_UNLOCK (session);
      |                                  ^~~~~~~~~~~~~~~~~~~~                                              
src/ods-session.c:2332:27: warning: Deprecated pre-processor symbol
 2332 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~              
src/ods-session.c:2332:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
 2332 |                 ODS_SESSION_UNLOCK (session);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/deprecated/gthread.h:158:9: note: declared here
  158 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ods-session.c:2332:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
 2332 |                 ODS_SESSION_UNLOCK (session);
      |                           ^~~~~~~~~~~~~~~~~~~                                               
  CCLD   src/obex-data-server
>>> obex-data-server: Entering fakeroot...
make --no-print-directory install-am
test -z "/etc/obex-data-server" || ./install-sh -c -d "/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/etc/obex-data-server"
test -z "" || ./install-sh -c -d "/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server"
test -z "/usr/share/man/man1" || ./install-sh -c -d "/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/share/man/man1"
test -z "/usr/share/dbus-1/services" || ./install-sh -c -d "/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/share/dbus-1/services"
test -z "/usr/bin" || ./install-sh -c -d "/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/bin"
 /usr/bin/install -c -m 644 data/capability.xml data/imaging_capabilities.xml '/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/etc/obex-data-server'
 /usr/bin/install -c -m 644 data/obex-data-server.service '/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/share/dbus-1/services'
  /usr/bin/install -c src/obex-data-server '/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/bin'
 /usr/bin/install -c -m 644 data/obex-data-server.1 '/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server/usr/share/man/man1'
>>> obex-data-server-doc*: Running split function doc...
'usr/share/man' -> '/home/buildozer/aports/main/obex-data-server/pkg/obex-data-server-doc/usr/share/man'
>>> obex-data-server-doc*: Preparing subpackage obex-data-server-doc...
>>> obex-data-server-doc*: Running postcheck for obex-data-server-doc
>>> obex-data-server*: Running postcheck for obex-data-server
>>> obex-data-server*: Preparing package obex-data-server...
>>> obex-data-server*: Stripping binaries
>>> obex-data-server-doc*: Scanning shared objects
>>> obex-data-server*: Scanning shared objects
>>> obex-data-server-doc*: Tracing dependencies...
>>> obex-data-server-doc*: Package size: 588.0 B
>>> obex-data-server-doc*: Compressing data...
>>> obex-data-server-doc*: Create checksum...
>>> obex-data-server-doc*: Create obex-data-server-doc-0.4.6-r6.apk
>>> obex-data-server*: Tracing dependencies...
	so:libbluetooth.so.3
	so:libc.musl-armv7.so.1
	so:libdbus-glib-1.so.2
	so:libgdk_pixbuf-2.0.so.0
	so:libglib-2.0.so.0
	so:libgobject-2.0.so.0
	so:libgthread-2.0.so.0
	so:libopenobex.so.2
	so:libusb-0.1.so.4
>>> obex-data-server*: Package size: 105.9 KB
>>> obex-data-server*: Compressing data...
>>> obex-data-server*: Create checksum...
>>> obex-data-server*: Create obex-data-server-0.4.6-r6.apk
>>> obex-data-server: Build complete at Thu, 17 Oct 2024 07:20:12 +0000 elapsed time 0h 0m 6s
>>> obex-data-server: Cleaning up srcdir
>>> obex-data-server: Cleaning up pkgdir
>>> obex-data-server: Uninstalling dependencies...
(1/115) Purging .makedepends-obex-data-server (20241017.072007)
(2/115) Purging dbus-glib-dev (0.112-r6)
(3/115) Purging openobex-dev (1.7.2-r6)
(4/115) Purging openobex (1.7.2-r6)
(5/115) Purging libusb-compat-dev (0.1.8-r2)
(6/115) Purging libusb-compat (0.1.8-r2)
(7/115) Purging bluez-dev (5.78-r3)
(8/115) Purging bluez-libs (5.78-r3)
(9/115) Purging gdk-pixbuf-dev (2.42.12-r1)
(10/115) Purging gdk-pixbuf (2.42.12-r1)
Executing gdk-pixbuf-2.42.12-r1.pre-deinstall
(11/115) Purging agetty-openrc (0.55.1-r2)
(12/115) Purging agetty (2.40.2-r3)
(13/115) Purging blkid (2.40.2-r3)
(14/115) Purging cfdisk (2.40.2-r3)
(15/115) Purging dbus-dev (1.14.10-r4)
(16/115) Purging dbus-glib (0.112-r6)
(17/115) Purging dbus-libs (1.14.10-r4)
(18/115) Purging dmesg (2.40.2-r3)
(19/115) Purging findmnt (2.40.2-r3)
(20/115) Purging flock (2.40.2-r3)
(21/115) Purging fstrim (2.40.2-r3)
(22/115) Purging glib-dev (2.82.1-r1)
(23/115) Purging bzip2-dev (1.0.8-r6)
(24/115) Purging docbook-xsl (1.79.2-r9)
Executing docbook-xsl-1.79.2-r9.pre-deinstall
(25/115) Purging docbook-xml (4.5-r9)
Executing docbook-xml-4.5-r9.pre-deinstall
(26/115) Purging gettext-dev (0.22.5-r0)
(27/115) Purging xz (5.6.3-r0)
(28/115) Purging gettext-asprintf (0.22.5-r0)
(29/115) Purging gettext (0.22.5-r0)
(30/115) Purging gettext-envsubst (0.22.5-r0)
(31/115) Purging libxml2-utils (2.13.4-r1)
(32/115) Purging libxslt (1.1.42-r0)
(33/115) Purging py3-packaging-pyc (24.1-r0)
(34/115) Purging py3-packaging (24.1-r0)
(35/115) Purging py3-parsing-pyc (3.1.4-r0)
(36/115) Purging py3-parsing (3.1.4-r0)
(37/115) Purging python3-pyc (3.12.7-r0)
(38/115) Purging python3-pycache-pyc0 (3.12.7-r0)
(39/115) Purging pyc (3.12.7-r0)
(40/115) Purging python3 (3.12.7-r0)
(41/115) Purging hexdump (2.40.2-r3)
(42/115) Purging libbz2 (1.0.8-r6)
(43/115) Purging libffi-dev (3.4.6-r0)
(44/115) Purging linux-headers (6.6-r1)
(45/115) Purging libgcrypt (1.10.3-r1)
(46/115) Purging libgpg-error (1.50-r0)
(47/115) Purging libpng-dev (1.6.44-r0)
(48/115) Purging libpng (1.6.44-r0)
(49/115) Purging libusb-dev (1.0.27-r0)
(50/115) Purging libusb (1.0.27-r0)
(51/115) Purging logger (2.40.2-r3)
(52/115) Purging losetup (2.40.2-r3)
(53/115) Purging lsblk (2.40.2-r3)
(54/115) Purging lscpu (2.40.2-r3)
(55/115) Purging mcookie (2.40.2-r3)
(56/115) Purging mount (2.40.2-r3)
(57/115) Purging mpdecimal (4.0.0-r0)
(58/115) Purging partx (2.40.2-r3)
(59/115) Purging pcre2-dev (10.43-r0)
(60/115) Purging libedit-dev (20240808.3.1-r0)
(61/115) Purging bsd-compat-headers (0.7.2-r6)
(62/115) Purging ncurses-dev (6.5_p20241006-r0)
(63/115) Purging libncurses++ (6.5_p20241006-r0)
(64/115) Purging libpanelw (6.5_p20241006-r0)
(65/115) Purging libedit (20240808.3.1-r0)
(66/115) Purging libpcre2-16 (10.43-r0)
(67/115) Purging libpcre2-32 (10.43-r0)
(68/115) Purging runuser (2.40.2-r3)
(69/115) Purging setpriv (2.40.2-r3)
(70/115) Purging sfdisk (2.40.2-r3)
(71/115) Purging shared-mime-info (2.4-r0)
Executing shared-mime-info-2.4-r0.post-deinstall
(72/115) Purging tiff-dev (4.7.0-r0)
(73/115) Purging libtiffxx (4.7.0-r0)
(74/115) Purging tiff (4.7.0-r0)
(75/115) Purging umount (2.40.2-r3)
(76/115) Purging util-linux-dev (2.40.2-r3)
(77/115) Purging util-linux-misc (2.40.2-r3)
(78/115) Purging setarch (2.40.2-r3)
(79/115) Purging util-linux-openrc (2.40.2-r3)
(80/115) Purging uuidgen (2.40.2-r3)
(81/115) Purging wipefs (2.40.2-r3)
(82/115) Purging zlib-dev (1.3.1-r2)
(83/115) Purging zstd-dev (1.5.6-r1)
(84/115) Purging zstd (1.5.6-r1)
(85/115) Purging gdbm (1.24-r0)
(86/115) Purging gettext-libs (0.22.5-r0)
(87/115) Purging glib (2.82.1-r1)
(88/115) Purging libfdisk (2.40.2-r3)
(89/115) Purging libmount (2.40.2-r3)
(90/115) Purging libblkid (2.40.2-r3)
(91/115) Purging libcap-ng (0.8.5-r0)
(92/115) Purging libeconf (0.6.3-r0)
(93/115) Purging libffi (3.4.6-r0)
(94/115) Purging libformw (6.5_p20241006-r0)
(95/115) Purging libintl (0.22.5-r0)
(96/115) Purging libjpeg-turbo-dev (3.0.4-r0)
(97/115) Purging libturbojpeg (3.0.4-r0)
(98/115) Purging libjpeg-turbo (3.0.4-r0)
(99/115) Purging libmenuw (6.5_p20241006-r0)
(100/115) Purging libwebp-dev (1.4.0-r0)
(101/115) Purging libwebpdecoder (1.4.0-r0)
(102/115) Purging libwebpdemux (1.4.0-r0)
(103/115) Purging libwebpmux (1.4.0-r0)
(104/115) Purging libwebp (1.4.0-r0)
(105/115) Purging libsharpyuv (1.4.0-r0)
(106/115) Purging libsmartcols (2.40.2-r3)
(107/115) Purging libuuid (2.40.2-r3)
(108/115) Purging libxml2 (2.13.4-r1)
(109/115) Purging linux-pam (1.6.1-r1)
(110/115) Purging sqlite-dev (3.46.1-r0)
(111/115) Purging sqlite (3.46.1-r0)
(112/115) Purging util-linux (2.40.2-r3)
(113/115) Purging sqlite-libs (3.46.1-r0)
(114/115) Purging utmps-libs (0.1.2.3-r1)
(115/115) Purging xz-libs (5.6.3-r0)
Executing busybox-1.36.1-r32.trigger
OK: 271 MiB in 100 packages
>>> obex-data-server: Updating the main/armv7 repository index...
>>> obex-data-server: Signing the index...