>>> quaternion: Building community/quaternion 0.0.95.1_git20221221-r1 (using abuild 3.11.0-r1) started Fri, 12 May 2023 18:29:02 +0000 >>> quaternion: Checking sanity of /home/buildozer/aports/community/quaternion/APKBUILD... >>> quaternion: Analyzing dependencies... >>> quaternion: Installing for build: build-base qt5-qtquickcontrols cmake libquotient-dev libsecret-dev qtkeychain-dev qt5-qtmultimedia-dev qt5-qtquickcontrols2-dev qt5-qttools-dev (1/227) Installing icu-data-full (73.1-r1) (2/227) Installing dbus-libs (1.14.6-r3) (3/227) Installing libffi (3.4.4-r2) (4/227) Installing libintl (0.21.1-r5) (5/227) Installing libblkid (2.38.1-r7) (6/227) Installing libmount (2.38.1-r7) (7/227) Installing glib (2.76.2-r0) (8/227) Installing icu-libs (73.1-r1) (9/227) Installing libpcre2-16 (10.42-r1) (10/227) Installing qt5-qtbase (5.15.9_git20230407-r1) (11/227) Installing hicolor-icon-theme (0.17-r2) (12/227) Installing libxau (1.0.11-r2) (13/227) Installing libmd (1.0.4-r2) (14/227) Installing libbsd (0.11.7-r1) (15/227) Installing libxdmcp (1.1.4-r2) (16/227) Installing libxcb (1.15-r1) (17/227) Installing libx11 (1.8.4-r3) (18/227) Installing libxext (1.3.5-r2) (19/227) Installing libice (1.1.1-r2) (20/227) Installing libuuid (2.38.1-r7) (21/227) Installing libsm (1.2.4-r1) (22/227) Installing libxt (1.3.0-r2) (23/227) Installing libxmu (1.1.4-r2) (24/227) Installing xset (1.2.5-r1) (25/227) Installing xprop (1.2.6-r0) (26/227) Installing xdg-utils (1.1.3-r4) (27/227) Installing mesa (23.1.0-r1) (28/227) Installing hwdata-pci (0.370-r0) (29/227) Installing libpciaccess (0.17-r2) (30/227) Installing libdrm (2.4.115-r6) (31/227) Installing wayland-libs-server (1.22.0-r2) (32/227) Installing libxfixes (6.0.1-r2) (33/227) Installing libxxf86vm (1.1.5-r3) (34/227) Installing mesa-glapi (23.1.0-r1) (35/227) Installing libxshmfence (1.3.2-r2) (36/227) Installing mesa-gl (23.1.0-r1) (37/227) Installing qt5-qtdeclarative (5.15.9_git20230504-r0) (38/227) Installing libxcomposite (0.4.6-r3) (39/227) Installing libbz2 (1.0.8-r5) (40/227) Installing libpng (1.6.39-r3) (41/227) Installing freetype (2.13.0-r5) (42/227) Installing fontconfig (2.14.2-r3) (43/227) Installing wayland-libs-client (1.22.0-r2) (44/227) Installing wayland-libs-cursor (1.22.0-r2) (45/227) Installing wayland-libs-egl (1.22.0-r2) (46/227) Installing xkeyboard-config (2.38-r0) (47/227) Installing xz-libs (5.4.3-r0) (48/227) Installing libxml2 (2.11.3-r0) (49/227) Installing libxkbcommon (1.5.0-r2) (50/227) Installing qt5-qtwayland (5.15.9_git20230407-r1) (51/227) Installing mesa-gbm (23.1.0-r1) (52/227) Installing mesa-egl (23.1.0-r1) (53/227) Installing avahi-libs (0.8-r13) (54/227) Installing nettle (3.8.1-r2) (55/227) Installing p11-kit (0.24.1-r2) (56/227) Installing libtasn1 (4.19.0-r1) (57/227) Installing gnutls (3.8.0-r2) (58/227) Installing cups-libs (2.4.2-r5) (59/227) Installing shared-mime-info (2.2-r5) (60/227) Installing libjpeg-turbo (2.1.5.1-r2) (61/227) Installing libwebp (1.3.0-r1) (62/227) Installing tiff (4.5.0-r6) (63/227) Installing gdk-pixbuf (2.42.10-r5) (64/227) Installing gtk-update-icon-cache (3.24.37-r1) (65/227) Installing libxrender (0.9.11-r3) (66/227) Installing libxcursor (1.2.1-r2) (67/227) Installing libxdamage (1.1.6-r2) (68/227) Installing libxi (1.8.1-r0) (69/227) Installing libxinerama (1.1.5-r2) (70/227) Installing libxrandr (1.5.3-r2) (71/227) Installing libatk-1.0 (2.48.2-r0) (72/227) Installing libxtst (1.2.4-r2) (73/227) Installing at-spi2-core (2.48.2-r0) (74/227) Installing libatk-bridge-2.0 (2.48.2-r0) (75/227) Installing pixman (0.42.2-r1) (76/227) Installing cairo (1.17.8-r1) (77/227) Installing cairo-gobject (1.17.8-r1) (78/227) Installing libepoxy (1.5.10-r1) (79/227) Installing fribidi (1.0.12-r2) (80/227) Installing graphite2 (1.3.14-r5) (81/227) Installing harfbuzz (7.3.0-r0) (82/227) Installing libxft (2.3.8-r1) (83/227) Installing pango (1.50.14-r1) (84/227) Installing gtk+3.0 (3.24.37-r1) Executing gtk+3.0-3.24.37-r1.post-install (85/227) Installing libevdev (1.13.1-r0) (86/227) Installing mtdev (1.1.6-r2) (87/227) Installing eudev-libs (3.2.11-r8) (88/227) Installing libinput-libs (1.23.0-r0) (89/227) Installing xcb-util-wm (0.4.2-r0) (90/227) Installing xcb-util (0.4.1-r2) (91/227) Installing xcb-util-image (0.4.1-r0) (92/227) Installing xcb-util-keysyms (0.4.1-r0) (93/227) Installing xcb-util-renderutil (0.3.10-r0) (94/227) Installing libxkbcommon-x11 (1.5.0-r2) (95/227) Installing qt5-qtbase-x11 (5.15.9_git20230407-r1) (96/227) Installing qt5-qtquickcontrols (5.15.9_git20230323-r1) (97/227) Installing libarchive (3.6.2-r2) (98/227) Installing libformw (6.4_p20230506-r1) (99/227) Installing rhash-libs (1.4.3-r2) (100/227) Installing libuv (1.44.2-r2) (101/227) Installing cmake (3.26.3-r1) (102/227) Installing olm (3.2.15-r0) (103/227) Installing olm-dev (3.2.15-r0) (104/227) Installing sqlite-libs (3.41.2-r2) (105/227) Installing qt5-qtbase-sqlite (5.15.9_git20230407-r1) (106/227) Installing readline (8.2.1-r1) (107/227) Installing unixodbc (2.3.11-r2) (108/227) Installing qt5-qtbase-odbc (5.15.9_git20230407-r1) (109/227) Installing libpq (15.3-r0) (110/227) Installing qt5-qtbase-postgresql (5.15.9_git20230407-r1) (111/227) Installing mariadb-connector-c (3.3.4-r1) (112/227) Installing qt5-qtbase-mysql (5.15.9_git20230407-r1) (113/227) Installing freetds (1.3.18-r1) (114/227) Installing qt5-qtbase-tds (5.15.9_git20230407-r1) (115/227) Installing libfdisk (2.38.1-r7) (116/227) Installing libsmartcols (2.38.1-r7) (117/227) Installing util-linux-dev (2.38.1-r7) (118/227) Installing dbus-dev (1.14.6-r3) (119/227) Installing expat (2.5.0-r1) (120/227) Installing expat-dev (2.5.0-r1) (121/227) Installing brotli (1.0.9-r14) (122/227) Installing brotli-dev (1.0.9-r14) (123/227) Installing zlib-dev (1.2.13-r1) (124/227) Installing libpng-dev (1.6.39-r3) (125/227) Installing freetype-dev (2.13.0-r5) (126/227) Installing fontconfig-dev (2.14.2-r3) (127/227) Installing bzip2-dev (1.0.8-r5) (128/227) Installing libxml2-utils (2.11.3-r0) (129/227) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (130/227) Installing libgpg-error (1.47-r1) (131/227) Installing libgcrypt (1.10.2-r1) (132/227) Installing libxslt (1.1.38-r0) (133/227) Installing docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-install (134/227) Installing xz (5.4.3-r0) (135/227) Installing gettext-asprintf (0.21.1-r5) (136/227) Installing gettext-libs (0.21.1-r5) (137/227) Installing gettext (0.21.1-r5) (138/227) Installing gettext-dev (0.21.1-r5) (139/227) Installing gdbm (1.23-r1) (140/227) Installing mpdecimal (2.5.1-r2) (141/227) Installing libpanelw (6.4_p20230506-r1) (142/227) Installing python3 (3.11.3-r11) (143/227) Installing python3-pycache-pyc0 (3.11.3-r11) (144/227) Installing pyc (0.1-r0) (145/227) Installing python3-pyc (3.11.3-r11) (146/227) Installing linux-headers (6.3-r0) (147/227) Installing libffi-dev (3.4.4-r2) (148/227) Installing bsd-compat-headers (0.7.2-r5) (149/227) Installing libmenuw (6.4_p20230506-r1) (150/227) Installing libncurses++ (6.4_p20230506-r1) (151/227) Installing ncurses-dev (6.4_p20230506-r1) (152/227) Installing libedit-dev (20221030.3.1-r1) (153/227) Installing libpcre2-32 (10.42-r1) (154/227) Installing pcre2-dev (10.42-r1) (155/227) Installing glib-dev (2.76.2-r0) (156/227) Installing xorgproto (2022.2-r0) (157/227) Installing libice-dev (1.1.1-r2) (158/227) Installing libsm-dev (1.2.4-r1) (159/227) Installing libxau-dev (1.0.11-r2) (160/227) Installing xcb-proto (1.15.2-r2) (161/227) Installing xcb-proto-pyc (1.15.2-r2) (162/227) Installing libxdmcp-dev (1.1.4-r2) (163/227) Installing libxcb-dev (1.15-r1) (164/227) Installing xtrans (1.4.0-r3) (165/227) Installing libx11-dev (1.8.4-r3) (166/227) Installing libxext-dev (1.3.5-r2) (167/227) Installing libpciaccess-dev (0.17-r2) (168/227) Installing libdrm-dev (2.4.115-r6) (169/227) Installing libxfixes-dev (6.0.1-r2) (170/227) Installing libxdamage-dev (1.1.6-r2) (171/227) Installing libxshmfence-dev (1.3.2-r2) (172/227) Installing mesa-gles (23.1.0-r1) (173/227) Installing llvm15-libs (15.0.7-r6) (174/227) Installing mesa-osmesa (23.1.0-r1) (175/227) Installing mesa-xatracker (23.1.0-r1) (176/227) Installing libxxf86vm-dev (1.1.5-r3) (177/227) Installing mesa-dev (23.1.0-r1) (178/227) Installing openssl-dev (3.1.0-r4) (179/227) Installing perl (5.36.1-r1) (180/227) Installing sqlite (3.41.2-r2) (181/227) Installing sqlite-dev (3.41.2-r2) (182/227) Installing qt5-qtbase-dev (5.15.9_git20230407-r1) (183/227) Installing gcr-base (3.41.1-r3) (184/227) Installing libsecret (0.20.5-r3) (185/227) Installing gcr-ssh-agent (3.41.1-r3) (186/227) Installing gcr (3.41.1-r3) (187/227) Installing linux-pam (1.5.3-r1) (188/227) Installing gnome-keyring (42.1-r1) (189/227) Installing qt5-qtkeychain (0.14.0-r0) (190/227) Installing libb2 (0.98.1-r2) (191/227) Installing double-conversion (3.2.1-r1) (192/227) Installing qt6-qtbase (6.5.0-r4) (193/227) Installing qt6-qtkeychain (0.14.0-r0) (194/227) Installing qtkeychain-dev (0.14.0-r0) (195/227) Installing alsa-lib (1.2.9-r2) (196/227) Installing libxv (1.0.12-r3) (197/227) Installing cdparanoia-libs (10.2-r14) (198/227) Installing graphene (1.10.8-r2) (199/227) Installing gstreamer (1.22.2-r1) (200/227) Installing libogg (1.3.5-r4) (201/227) Installing opus (1.4-r0) (202/227) Installing orc (0.4.33-r1) (203/227) Installing libtheora (1.1.1-r17) (204/227) Installing libvorbis (1.3.7-r1) (205/227) Installing gst-plugins-base (1.22.2-r0) (206/227) Installing qt5-qtmultimedia (5.15.9_git20230407-r1) (207/227) Installing qt5-qtmultimedia-dev (5.15.9_git20230407-r1) (208/227) Installing libquotient (0.7.2-r2) (209/227) Installing libquotient-dev (0.7.2-r2) (210/227) Installing libgpg-error-dev (1.47-r1) (211/227) Installing libgcrypt-dev (1.10.2-r1) (212/227) Installing libsecret-dev (0.20.5-r3) (213/227) Installing qt5-qtdeclarative-dev (5.15.9_git20230504-r0) (214/227) Installing qt5-qtgraphicaleffects (5.15.9_git20230323-r1) (215/227) Installing qt5-qtquickcontrols2 (5.15.9_git20230504-r0) (216/227) Installing qt5-qtquickcontrols2-dev (5.15.9_git20230504-r0) (217/227) Installing qt5-qttools (5.15.9_git20230407-r1) (218/227) Installing libqt5designer (5.15.9_git20230407-r1) (219/227) Installing libqt5designercomponents (5.15.9_git20230407-r1) (220/227) Installing libqt5help (5.15.9_git20230407-r1) (221/227) Installing llvm16-libs (16.0.3-r1) (222/227) Installing clang16-libclang (16.0.3-r0) (223/227) Installing qt5-qttools-dev (5.15.9_git20230407-r1) (224/227) Installing .makedepends-quaternion (20230512.182903) (225/227) Installing perl-error (0.17029-r1) (226/227) Installing perl-git (2.40.1-r0) (227/227) Installing git-perl (2.40.1-r0) Executing busybox-1.36.0-r9.trigger Executing glib-2.76.2-r0.trigger Executing shared-mime-info-2.2-r5.trigger Executing gdk-pixbuf-2.42.10-r5.trigger Executing gtk-update-icon-cache-3.24.37-r1.trigger OK: 1157 MiB in 329 packages >>> quaternion: Cleaning up srcdir >>> quaternion: Cleaning up pkgdir >>> quaternion: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604k 100 1604k 0 0 10.8M 0 --:--:-- --:--:-- --:--:-- 10.8M >>> quaternion: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c.tar.gz >>> quaternion: Checking sha512sums... Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c.tar.gz: OK >>> quaternion: Unpacking /var/cache/distfiles/edge/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c.tar.gz... -- The CXX compiler identification is GNU 12.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test Wall_SUPPORTED -- Performing Test Wall_SUPPORTED - Success -- Performing Test Wpedantic_SUPPORTED -- Performing Test Wpedantic_SUPPORTED - Success -- Performing Test Wextra_SUPPORTED -- Performing Test Wextra_SUPPORTED - Success -- Performing Test Werror=return-void_SUPPORTED -- Performing Test Werror=return-void_SUPPORTED - Failed -- Performing Test Wno-unused-parameter_SUPPORTED -- Performing Test Wno-unused-parameter_SUPPORTED - Success -- Performing Test Wno-subobject-linkage_SUPPORTED -- Performing Test Wno-subobject-linkage_SUPPORTED - Success -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.1.0") -- -- ============================================================================= -- Quaternion 0.0.95.50 Build Information -- ============================================================================= -- Build type: None -- Quaternion install prefix: /usr -- Found Git: /usr/bin/git (found version "2.40.1") fatal: not a git repository (or any of the parent directories): .git -- Git SHA1: -- Using compiler: GNU 12.2.1 -- Using Qt 5.15.9 at / -- Using libQuotient 0.7.2 at /usr/lib/cmake/Quotient -- Using Qt Keychain 0.14.0 at /usr/lib/cmake/Qt5Keychain -- ============================================================================= -- -- Configuring done (1.6s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/build [ 3%] Automatic MOC for target quaternion [ 3%] Built target quaternion_autogen [ 6%] Automatic RCC for client/resources.qrc [ 10%] Building CXX object CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o [ 13%] Building CXX object CMakeFiles/quaternion.dir/client/accountregistry.cpp.o [ 20%] Building CXX object CMakeFiles/quaternion.dir/client/quaternionroom.cpp.o [ 20%] Building CXX object CMakeFiles/quaternion.dir/client/htmlfilter.cpp.o [ 23%] Building CXX object CMakeFiles/quaternion.dir/client/activitydetector.cpp.o [ 26%] Building CXX object CMakeFiles/quaternion.dir/client/imageprovider.cpp.o [ 30%] Building CXX object CMakeFiles/quaternion.dir/client/logindialog.cpp.o [ 33%] Building CXX object CMakeFiles/quaternion.dir/client/dialog.cpp.o [ 36%] Building CXX object CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o [ 40%] Building CXX object CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o [ 43%] Building CXX object CMakeFiles/quaternion.dir/client/roomlistdock.cpp.o [ 46%] Building CXX object CMakeFiles/quaternion.dir/client/mainwindow.cpp.o [ 50%] Building CXX object CMakeFiles/quaternion.dir/client/kchatedit.cpp.o [ 53%] Building CXX object CMakeFiles/quaternion.dir/client/accountselector.cpp.o [ 56%] Building CXX object CMakeFiles/quaternion.dir/client/userlistdock.cpp.o [ 60%] Building CXX object CMakeFiles/quaternion.dir/client/chatedit.cpp.o [ 63%] Building CXX object CMakeFiles/quaternion.dir/client/chatroomwidget.cpp.o [ 66%] Building CXX object CMakeFiles/quaternion.dir/client/models/userlistmodel.cpp.o [ 73%] Building CXX object CMakeFiles/quaternion.dir/client/timelinewidget.cpp.o [ 73%] Building CXX object CMakeFiles/quaternion.dir/client/profiledialog.cpp.o [ 76%] Building CXX object CMakeFiles/quaternion.dir/client/systemtrayicon.cpp.o [ 80%] Building CXX object CMakeFiles/quaternion.dir/client/models/messageeventmodel.cpp.o [ 83%] Building CXX object CMakeFiles/quaternion.dir/client/models/roomlistmodel.cpp.o [ 86%] Building CXX object CMakeFiles/quaternion.dir/client/models/abstractroomordering.cpp.o [ 90%] Building CXX object CMakeFiles/quaternion.dir/client/main.cpp.o [ 93%] Building CXX object CMakeFiles/quaternion.dir/client/models/orderbytag.cpp.o [ 96%] Building CXX object CMakeFiles/quaternion.dir/quaternion_autogen/7EM65HM6UG/qrc_resources.cpp.o /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp: In member function 'void TimelineWidget::setRoom(QuaternionRoom*)': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp:94:43: warning: 'void Quotient::Room::readMarkerMoved(QString, QString)' is deprecated: Since 0.7, use fullyReadMarkerMoved [-Wdeprecated-declarations] 94 | connect(newRoom, &Quotient::Room::readMarkerMoved, this, [this] { | ^~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/../quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp:4: /usr/include/Quotient/room.h:990:10: note: declared here 990 | void readMarkerMoved(QString fromEventId, QString toEventId); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp: In member function 'void TimelineWidget::reactionButtonClicked(const QString&, const QString&)': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp:275:40: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 275 | e != nullptr && e->relation().key == key | ~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/timelinewidget.cpp:9: /usr/include/Quotient/events/reactionevent.h:32:19: note: declared here 32 | EventRelation relation() const { return content().value; } | ^~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp: In member function 'void MessageEventModel::changeRoom(QuaternionRoom*)': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:169:39: warning: 'void Quotient::Room::readMarkerMoved(QString, QString)' is deprecated: Since 0.7, use fullyReadMarkerMoved [-Wdeprecated-declarations] 169 | connect(m_currentRoom, &Room::readMarkerMoved, | ^~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/../quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:20: /usr/include/Quotient/room.h:990:10: note: declared here 990 | void readMarkerMoved(QString fromEventId, QString toEventId); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp: In member function 'virtual QVariant MessageEventModel::data(const QModelIndex&, int) const': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:631:42: warning: 'using StateEventBase = class Quotient::StateEvent' is deprecated: StateEventBase is StateEvent now [-Wdeprecated-declarations] 631 | , [] (const StateEventBase& e) { | ^ In file included from /usr/include/Quotient/roomstateview.h:6, from /usr/include/Quotient/room.h:13: /usr/include/Quotient/events/stateevent.h:47:7: note: declared here 47 | using StateEventBase | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:470:21: warning: 'auto Quotient::visit(const BaseT&, FnTs&& ...) [with BaseT = RoomEvent; FnTs = {MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::, QString}]' is deprecated: The new name for visit() is switchOnType() [-Wdeprecated-declarations] 470 | return visit(evt | ~~~~~^~~~ 471 | , [this] (const RoomMessageEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 472 | // clang-format on | ~~~~~~~~~~~~~~~~~~ 473 | using namespace MessageEventContent; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | | 475 | if (e.hasTextContent() && e.mimeType().name() != "text/plain") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | // Naïvely assume that it's HTML | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 477 | auto htmlBody = | ~~~~~~~~~~~~~~~ 478 | static_cast(e.content())->body; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | auto [cleanHtml, errorPos, errorString] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 480 | HtmlFilter::fromMatrixHtml(htmlBody, m_currentRoom); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 481 | // If HTML is bad (or it's not HTML at all), fall back | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 482 | // to returning the prettified plain text | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 483 | if (errorPos != -1) { | ~~~~~~~~~~~~~~~~~~~~~ 484 | cleanHtml = m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | // A manhole to visualise HTML errors | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | if (settings.get("Debug/html")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | cleanHtml += | ~~~~~~~~~~~~ 488 | QStringLiteral("
" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | "At pos %1: %2") | ~~~~~~~~~~~~~~~~~~~~~~~ 490 | .arg(QString::number(errorPos), errorString); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | } | ~ 492 | return cleanHtml; | ~~~~~~~~~~~~~~~~~ 493 | } | ~ 494 | if (e.hasFileContent()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ 495 | auto fileCaption = | ~~~~~~~~~~~~~~~~~~ 496 | e.content()->fileInfo()->originalName.toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | if (fileCaption.isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | fileCaption = m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 499 | return !fileCaption.isEmpty() ? fileCaption : tr("a file"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 500 | } | ~ 501 | return m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 502 | // clang-format off | ~~~~~~~~~~~~~~~~~~~ 503 | } | ~ 504 | , [this] (const RoomMemberEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 505 | // clang-format on | ~~~~~~~~~~~~~~~~~~ 506 | // FIXME: Rewind to the name that was at the time of this event | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | const auto subjectName = | ~~~~~~~~~~~~~~~~~~~~~~~~ 508 | m_currentRoom->safeMemberName(e.userId()).toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | // The below code assumes senderName output in AuthorRole | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | switch( e.membership() ) | ~~~~~~~~~~~~~~~~~~~~~~~~ 511 | { | ~ 512 | case Membership::Invite: | ~~~~~~~~~~~~~~~~~~~~~~~~ 513 | case Membership::Join: { | ~~~~~~~~~~~~~~~~~~~~~~~~ 514 | QString text {}; | ~~~~~~~~~~~~~~~~ 515 | // Part 1: invites and joins | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | if (e.membership() == Membership::Invite) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 517 | text = tr("invited %1 to the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 518 | .arg(subjectName); | ~~~~~~~~~~~~~~~~~~ 519 | else if (e.changesMembership()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | text = tr("joined the room"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | | 522 | if (!text.isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~ 523 | if (e.repeatsState()) | ~~~~~~~~~~~~~~~~~~~~~ 524 | text += ' ' | ~~~~~~~~~~~ 525 | //: State event that doesn't change the state | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | % tr("(repeated)"); | ~~~~~~~~~~~~~~~~~~~ 527 | if (!e.reason().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 528 | text += ": " + e.reason().toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 529 | return text; | ~~~~~~~~~~~~ 530 | } | ~ 531 | | 532 | // Part 2: profile changes of joined members | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 533 | if (e.isRename() | ~~~~~~~~~~~~~~~~ 534 | && settings.get("UI/show_rename", true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 535 | const auto& newDisplayName = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 536 | e.newDisplayName().value_or(QString()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 537 | if (newDisplayName.isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 538 | text = tr("cleared the display name"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 539 | else | ~~~~ 540 | text = tr("changed the display name to %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 541 | .arg(newDisplayName.toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | } | ~ 543 | if (e.isAvatarUpdate() | ~~~~~~~~~~~~~~~~~~~~~~ 544 | && settings.get("UI/show_avatar_update", true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | if (!text.isEmpty()) | ~~~~~~~~~~~~~~~~~~~~ 546 | //: Joiner for member profile updates; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 547 | //: mind the leading and trailing spaces! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 548 | text += tr(" and "); | ~~~~~~~~~~~~~~~~~~~~ 549 | text += !e.newAvatarUrl() | ~~~~~~~~~~~~~~~~~~~~~~~~~ 550 | || e.newAvatarUrl()->isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 551 | ? tr("cleared the avatar") | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | : tr("updated the avatar"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | } | ~ 554 | return text; | ~~~~~~~~~~~~ 555 | } | ~ 556 | case Membership::Leave: | ~~~~~~~~~~~~~~~~~~~~~~~ 557 | if (e.prevContent() && | ~~~~~~~~~~~~~~~~~~~~~~ 558 | e.prevContent()->membership == Membership::Invite) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | { | ~ 560 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | ? tr("withdrew %1's invitation").arg(subjectName) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 562 | : tr("rejected the invitation"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 563 | } | ~ 564 | | 565 | if (e.prevContent() && | ~~~~~~~~~~~~~~~~~~~~~~ 566 | e.prevContent()->membership == Membership::Ban) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 567 | { | ~ 568 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 569 | ? tr("unbanned %1").arg(subjectName) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 570 | : tr("self-unbanned"); | ~~~~~~~~~~~~~~~~~~~~~~ 571 | } | ~ 572 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 573 | ? e.reason().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~ 574 | ? tr("kicked %1 from the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 575 | .arg(subjectName) | ~~~~~~~~~~~~~~~~~ 576 | : tr("kicked %1 from the room: %2") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 577 | .arg(subjectName, | ~~~~~~~~~~~~~~~~~ 578 | e.reason().toHtmlEscaped()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 579 | : tr("left the room"); | ~~~~~~~~~~~~~~~~~~~~~~ 580 | case Membership::Ban: | ~~~~~~~~~~~~~~~~~~~~~ 581 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 582 | ? e.reason().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~ 583 | ? tr("banned %1 from the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | .arg(subjectName) | ~~~~~~~~~~~~~~~~~ 585 | : tr("banned %1 from the room: %2") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | .arg(subjectName, | ~~~~~~~~~~~~~~~~~ 587 | e.reason().toHtmlEscaped()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | : tr("self-banned from the room"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | case Membership::Knock: | ~~~~~~~~~~~~~~~~~~~~~~~ 590 | return tr("knocked"); | ~~~~~~~~~~~~~~~~~~~~~ 591 | default: | ~~~~~~~~ 592 | ; | ~ 593 | } | ~ 594 | return tr("made something unknown"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 595 | // clang-format off | ~~~~~~~~~~~~~~~~~~~ 596 | } | ~ 597 | , [] (const RoomCanonicalAliasEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 598 | return (e.alias().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | ? tr("cleared the room main alias") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | : tr("set the room main alias to: %1").arg(e.alias()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 601 | } | ~ 602 | , [] (const RoomNameEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 | return (e.name().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 604 | ? tr("cleared the room name") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | : tr("set the room name to: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | .arg(e.name().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | } | ~ 608 | , [this] (const RoomTopicEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 609 | return (e.topic().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 610 | ? tr("cleared the topic") | ~~~~~~~~~~~~~~~~~~~~~~~~~ 611 | : tr("set the topic to: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 612 | .arg(m_currentRoom->prettyPrint(e.topic())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 613 | } | ~ 614 | , [] (const RoomAvatarEvent&) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 615 | return tr("changed the room avatar"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 616 | } | ~ 617 | , [] (const EncryptionEvent&) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | return tr("activated End-to-End Encryption"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | } | ~ 620 | , [] (const RoomCreateEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | return (e.isUpgrade() | ~~~~~~~~~~~~~~~~~~~~~ 622 | ? tr("upgraded the room to version %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 623 | : tr("created the room, version %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 624 | ).arg(e.version().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | ? "1" : e.version().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 626 | } | ~ 627 | , [] (const RoomTombstoneEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 628 | return tr("upgraded the room: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 629 | .arg(e.serverMessage().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 630 | } | ~ 631 | , [] (const StateEventBase& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 632 | // A small hack for state events from TWIM bot | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 633 | return e.stateKey() == "twim" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 634 | ? tr("updated the database", "TWIM bot updated the database") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | : e.stateKey().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~~ 636 | ? tr("updated %1 state", "%1 - Matrix event type") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 637 | .arg(e.matrixType()) | ~~~~~~~~~~~~~~~~~~~~ 638 | : tr("updated %1 state for %2", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "%1 - Matrix event type, %2 - state key") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 640 | .arg(e.matrixType(), e.stateKey().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | } | ~ 642 | , tr("Unknown event") | ~~~~~~~~~~~~~~~~~~~~~ 643 | ); | ~ In file included from /usr/include/Quotient/events/accountdataevents.h:6, from /usr/include/Quotient/connection.h:15, from /usr/include/Quotient/room.h:12: /usr/include/Quotient/events/event.h:626:13: note: declared here 626 | inline auto visit(const BaseT& event, FnTs&&... fns) | ^~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:712:48: warning: 'static QString Quotient::EventTypeRegistry::getMatrixType(Quotient::event_type_t)' is deprecated: event_type_t is a string since libQuotient 0.7, use it directly instead [-Wdeprecated-declarations] 712 | return EventTypeRegistry::getMatrixType(evt.type()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/Quotient/events/event.h:56:20: note: declared here 56 | static QString getMatrixType(event_type_t typeId); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:823:48: warning: 'using StateEventBase = class Quotient::StateEvent' is deprecated: StateEventBase is StateEvent now [-Wdeprecated-declarations] 823 | && static_cast(evt).repeatsState() | ^ /usr/include/Quotient/events/stateevent.h:47:7: note: declared here 47 | using StateEventBase | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:858:72: warning: 'static constexpr auto Quotient::EventRelation::Annotation()' is deprecated: Use AnnotationType variable instead [-Wdeprecated-declarations] 858 | m_currentRoom->relatedEvents(evt, EventRelation::Annotation()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/Quotient/events/roommessageevent.h:9, from /usr/include/Quotient/room.h:22: /usr/include/Quotient/events/eventrelation.h:40:27: note: declared here 40 | static constexpr auto Annotation() { return AnnotationType; } | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:863:72: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 863 | return r.key == e->relation().key; | ~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:39: /usr/include/Quotient/events/reactionevent.h:32:19: note: declared here 32 | EventRelation relation() const { return content().value; } | ^~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp: In member function 'virtual QVariant MessageEventModel::data(const QModelIndex&, int) const': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:866:73: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 866 | rIt = reactions.insert(reactions.end(), {e->relation().key}); | ~~~~~~~~~~~^~ /usr/include/Quotient/events/reactionevent.h:32:19: note: declared here 32 | EventRelation relation() const { return content().value; } | ^~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/models/messageeventmodel.cpp:918:21: warning: 'auto Quotient::visit(const BaseT&, FnTs&& ...) [with BaseT = RoomEvent; FnTs = {MessageEventModel::data(const QModelIndex&, int) const::, MessageEventModel::data(const QModelIndex&, int) const::}]' is deprecated: The new name for visit() is switchOnType() [-Wdeprecated-declarations] 918 | return visit( | ~~~~~^ 919 | evt, [](const RoomCreateEvent& e) { return e.predecessor().roomId; }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 920 | [](const RoomTombstoneEvent& e) { return e.successorRoomId(); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Quotient/events/event.h:626:13: note: declared here 626 | inline auto visit(const BaseT& event, FnTs&&... fns) | ^~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/chatroomwidget.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/chatroomwidget.cpp:146:13: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 146 | [=](const QString& localPath) { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/chatroomwidget.cpp:146:13: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp: In member function 'void MainWindow::createMenu()': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp:202:66: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion] 202 | ? QKeySequence(Qt::CTRL | Qt::Key_Q) | ~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp:351:38: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion] 351 | joinAction->setShortcut(Qt::CTRL | Qt::Key_J); | ~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp: In member function 'void MainWindow::invokeLogin()': /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp:1103:30: warning: 'void Quotient::Connection::assumeIdentity(const QString&, const QString&, const QString&)' is deprecated: Device id is now resolved from accessToken; use assumeIdentity(QString, QString) instead of this overload [-Wdeprecated-declarations] 1103 | c->assumeIdentity(account.userId(), accessToken, account.deviceId()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/Quotient/room.h:12, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-3c5ca954296dce0d1e4db3f3467697a83598270c/client/mainwindow.cpp:26: /usr/include/Quotient/connection.h:576:10: note: declared here 576 | void assumeIdentity(const QString& mxId, const QString& accessToken, | ^~~~~~~~~~~~~~ [100%] Linking CXX executable quaternion [100%] Built target quaternion >>> quaternion: Entering fakeroot... -- Install configuration: "None" -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/bin/quaternion -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/applications/com.github.quaternion.desktop -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/metainfo/com.github.quaternion.appdata.xml -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/128x128/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/16x16/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/22x22/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/32x32/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/48x48/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/64x64/apps/quaternion.png -- Installing: /home/buildozer/aports/community/quaternion/pkg/quaternion/usr/share/icons/hicolor/scalable/apps/quaternion.svg >>> quaternion*: Running postcheck for quaternion >>> quaternion*: Preparing package quaternion... >>> quaternion*: Stripping binaries >>> quaternion*: Scanning shared objects >>> quaternion*: Tracing dependencies... qt5-qtquickcontrols so:libQt5Core.so.5 so:libQt5Gui.so.5 so:libQt5Network.so.5 so:libQt5Qml.so.5 so:libQt5Quick.so.5 so:libQt5QuickControls2.so.5 so:libQt5QuickWidgets.so.5 so:libQt5Widgets.so.5 so:libQuotient.so.0.7 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libqt5keychain.so.1 so:libstdc++.so.6 >>> quaternion*: Package size: 1.0 MB >>> quaternion*: Compressing data... >>> quaternion*: Create checksum... >>> quaternion*: Create quaternion-0.0.95.1_git20221221-r1.apk >>> quaternion: Build complete at Fri, 12 May 2023 18:29:29 +0000 elapsed time 0h 0m 27s >>> quaternion: Cleaning up srcdir >>> quaternion: Cleaning up pkgdir >>> quaternion: Uninstalling dependencies... (1/227) Purging .makedepends-quaternion (20230512.182903) (2/227) Purging qt5-qtquickcontrols (5.15.9_git20230323-r1) (3/227) Purging cmake (3.26.3-r1) (4/227) Purging libquotient-dev (0.7.2-r2) (5/227) Purging olm-dev (3.2.15-r0) (6/227) Purging libquotient (0.7.2-r2) (7/227) Purging libsecret-dev (0.20.5-r3) (8/227) Purging qtkeychain-dev (0.14.0-r0) (9/227) Purging qt5-qtkeychain (0.14.0-r0) (10/227) Purging qt6-qtkeychain (0.14.0-r0) (11/227) Purging qt5-qtmultimedia-dev (5.15.9_git20230407-r1) (12/227) Purging qt5-qtmultimedia (5.15.9_git20230407-r1) (13/227) Purging qt5-qtquickcontrols2-dev (5.15.9_git20230504-r0) (14/227) Purging qt5-qtquickcontrols2 (5.15.9_git20230504-r0) (15/227) Purging qt5-qtgraphicaleffects (5.15.9_git20230323-r1) (16/227) Purging qt5-qttools-dev (5.15.9_git20230407-r1) (17/227) Purging qt5-qttools (5.15.9_git20230407-r1) (18/227) Purging clang16-libclang (16.0.3-r0) (19/227) Purging git-perl (2.40.1-r0) (20/227) Purging perl-git (2.40.1-r0) (21/227) Purging perl-error (0.17029-r1) (22/227) Purging gnome-keyring (42.1-r1) (23/227) Purging gcr (3.41.1-r3) (24/227) Purging gcr-ssh-agent (3.41.1-r3) (25/227) Purging gst-plugins-base (1.22.2-r0) (26/227) Purging gstreamer (1.22.2-r1) (27/227) Purging libarchive (3.6.2-r2) (28/227) Purging libgcrypt-dev (1.10.2-r1) (29/227) Purging libgpg-error-dev (1.47-r1) (30/227) Purging libqt5designercomponents (5.15.9_git20230407-r1) (31/227) Purging libqt5help (5.15.9_git20230407-r1) (32/227) Purging libsecret (0.20.5-r3) (33/227) Purging libtheora (1.1.1-r17) (34/227) Purging libuv (1.44.2-r2) (35/227) Purging libvorbis (1.3.7-r1) (36/227) Purging libxv (1.0.12-r3) (37/227) Purging linux-pam (1.5.3-r1) (38/227) Purging llvm16-libs (16.0.3-r1) (39/227) Purging olm (3.2.15-r0) (40/227) Purging opus (1.4-r0) (41/227) Purging orc (0.4.33-r1) (42/227) Purging python3-pyc (3.11.3-r11) (43/227) Purging python3-pycache-pyc0 (3.11.3-r11) (44/227) Purging xcb-proto-pyc (1.15.2-r2) (45/227) Purging pyc (0.1-r0) (46/227) Purging qt5-qtdeclarative-dev (5.15.9_git20230504-r0) (47/227) Purging qt5-qtwayland (5.15.9_git20230407-r1) (48/227) Purging qt6-qtbase (6.5.0-r4) (49/227) Purging rhash-libs (1.4.3-r2) (50/227) Purging alsa-lib (1.2.9-r2) (51/227) Purging qt5-qtbase-dev (5.15.9_git20230407-r1) (52/227) Purging qt5-qtbase-sqlite (5.15.9_git20230407-r1) (53/227) Purging qt5-qtbase-odbc (5.15.9_git20230407-r1) (54/227) Purging qt5-qtbase-postgresql (5.15.9_git20230407-r1) (55/227) Purging qt5-qtbase-mysql (5.15.9_git20230407-r1) (56/227) Purging qt5-qtbase-tds (5.15.9_git20230407-r1) (57/227) Purging dbus-dev (1.14.6-r3) (58/227) Purging fontconfig-dev (2.14.2-r3) (59/227) Purging freetype-dev (2.13.0-r5) (60/227) Purging glib-dev (2.76.2-r0) (61/227) Purging bzip2-dev (1.0.8-r5) (62/227) Purging docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-deinstall (63/227) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (64/227) Purging gettext-dev (0.21.1-r5) (65/227) Purging xz (5.4.3-r0) (66/227) Purging gettext-asprintf (0.21.1-r5) (67/227) Purging gettext (0.21.1-r5) (68/227) Purging libxml2-utils (2.11.3-r0) (69/227) Purging libxslt (1.1.38-r0) (70/227) Purging libpng-dev (1.6.39-r3) (71/227) Purging libsm-dev (1.2.4-r1) (72/227) Purging mesa-dev (23.1.0-r1) (73/227) Purging libxdamage-dev (1.1.6-r2) (74/227) Purging libxshmfence-dev (1.3.2-r2) (75/227) Purging mesa-gles (23.1.0-r1) (76/227) Purging mesa-osmesa (23.1.0-r1) (77/227) Purging mesa-xatracker (23.1.0-r1) (78/227) Purging openssl-dev (3.1.0-r4) (79/227) Purging perl (5.36.1-r1) (80/227) Purging sqlite-dev (3.41.2-r2) (81/227) Purging sqlite (3.41.2-r2) (82/227) Purging qt5-qtdeclarative (5.15.9_git20230504-r0) (83/227) Purging libqt5designer (5.15.9_git20230407-r1) (84/227) Purging qt5-qtbase-x11 (5.15.9_git20230407-r1) (85/227) Purging xdg-utils (1.1.3-r4) (86/227) Purging xset (1.2.5-r1) (87/227) Purging xprop (1.2.6-r0) (88/227) Purging gtk+3.0 (3.24.37-r1) Executing gtk+3.0-3.24.37-r1.post-deinstall (89/227) Purging gtk-update-icon-cache (3.24.37-r1) (90/227) Purging hicolor-icon-theme (0.17-r2) (91/227) Purging libatk-bridge-2.0 (2.48.2-r0) (92/227) Purging at-spi2-core (2.48.2-r0) (93/227) Purging cups-libs (2.4.2-r5) (94/227) Purging avahi-libs (0.8-r13) (95/227) Purging brotli-dev (1.0.9-r14) (96/227) Purging brotli (1.0.9-r14) (97/227) Purging pcre2-dev (10.42-r1) (98/227) Purging zlib-dev (1.2.13-r1) (99/227) Purging libpcre2-32 (10.42-r1) (100/227) Purging libedit-dev (20221030.3.1-r1) (101/227) Purging ncurses-dev (6.4_p20230506-r1) (102/227) Purging libncurses++ (6.4_p20230506-r1) (103/227) Purging bsd-compat-headers (0.7.2-r5) (104/227) Purging pango (1.50.14-r1) Executing pango-1.50.14-r1.pre-deinstall (105/227) Purging cairo-gobject (1.17.8-r1) (106/227) Purging cairo (1.17.8-r1) (107/227) Purging cdparanoia-libs (10.2-r14) (108/227) Purging qt5-qtbase (5.15.9_git20230407-r1) (109/227) Purging dbus-libs (1.14.6-r3) (110/227) Purging double-conversion (3.2.1-r1) (111/227) Purging libinput-libs (1.23.0-r0) (112/227) Purging eudev-libs (3.2.11-r8) (113/227) Purging expat-dev (2.5.0-r1) (114/227) Purging expat (2.5.0-r1) (115/227) Purging libxft (2.3.8-r1) (116/227) Purging fontconfig (2.14.2-r3) (117/227) Purging freetds (1.3.18-r1) (118/227) Purging harfbuzz (7.3.0-r0) (119/227) Purging freetype (2.13.0-r5) (120/227) Purging fribidi (1.0.12-r2) (121/227) Purging gcr-base (3.41.1-r3) (122/227) Purging libxxf86vm-dev (1.1.5-r3) (123/227) Purging libxfixes-dev (6.0.1-r2) (124/227) Purging libxext-dev (1.3.5-r2) (125/227) Purging libx11-dev (1.8.4-r3) (126/227) Purging xtrans (1.4.0-r3) (127/227) Purging libxcb-dev (1.15-r1) (128/227) Purging xcb-proto (1.15.2-r2) (129/227) Purging python3 (3.11.3-r11) (130/227) Purging gdbm (1.23-r1) (131/227) Purging gdk-pixbuf (2.42.10-r5) Executing gdk-pixbuf-2.42.10-r5.pre-deinstall (132/227) Purging shared-mime-info (2.2-r5) Executing shared-mime-info-2.2-r5.post-deinstall (133/227) Purging gettext-libs (0.21.1-r5) (134/227) Purging graphene (1.10.8-r2) (135/227) Purging libatk-1.0 (2.48.2-r0) (136/227) Purging glib (2.76.2-r0) (137/227) Purging gnutls (3.8.0-r2) (138/227) Purging graphite2 (1.3.14-r5) (139/227) Purging libdrm-dev (2.4.115-r6) (140/227) Purging libpciaccess-dev (0.17-r2) (141/227) Purging mesa-gl (23.1.0-r1) (142/227) Purging mesa-egl (23.1.0-r1) (143/227) Purging mesa-gbm (23.1.0-r1) (144/227) Purging mesa (23.1.0-r1) (145/227) Purging libdrm (2.4.115-r6) (146/227) Purging libpciaccess (0.17-r2) (147/227) Purging hwdata-pci (0.370-r0) (148/227) Purging icu-libs (73.1-r1) (149/227) Purging icu-data-full (73.1-r1) (150/227) Purging libb2 (0.98.1-r2) (151/227) Purging util-linux-dev (2.38.1-r7) (152/227) Purging libfdisk (2.38.1-r7) (153/227) Purging libmount (2.38.1-r7) (154/227) Purging libsmartcols (2.38.1-r7) (155/227) Purging libblkid (2.38.1-r7) (156/227) Purging libxdmcp-dev (1.1.4-r2) (157/227) Purging xcb-util-renderutil (0.3.10-r0) (158/227) Purging xcb-util-image (0.4.1-r0) (159/227) Purging libxkbcommon-x11 (1.5.0-r2) (160/227) Purging xcb-util-wm (0.4.2-r0) (161/227) Purging libxmu (1.1.4-r2) (162/227) Purging libxi (1.8.1-r0) (163/227) Purging libxrandr (1.5.3-r2) (164/227) Purging libxinerama (1.1.5-r2) (165/227) Purging libxtst (1.2.4-r2) (166/227) Purging libxxf86vm (1.1.5-r3) (167/227) Purging libxext (1.3.5-r2) (168/227) Purging libxcursor (1.2.1-r2) (169/227) Purging libxdamage (1.1.6-r2) (170/227) Purging libxrender (0.9.11-r3) (171/227) Purging libxt (1.3.0-r2) (172/227) Purging libxcomposite (0.4.6-r3) (173/227) Purging libxfixes (6.0.1-r2) (174/227) Purging libx11 (1.8.4-r3) (175/227) Purging xcb-util-keysyms (0.4.1-r0) (176/227) Purging xcb-util (0.4.1-r2) (177/227) Purging libxcb (1.15-r1) (178/227) Purging libxdmcp (1.1.4-r2) (179/227) Purging libbsd (0.11.7-r1) (180/227) Purging libbz2 (1.0.8-r5) (181/227) Purging libepoxy (1.5.10-r1) (182/227) Purging libevdev (1.13.1-r0) (183/227) Purging libffi-dev (3.4.4-r2) (184/227) Purging linux-headers (6.3-r0) (185/227) Purging llvm15-libs (15.0.7-r6) (186/227) Purging wayland-libs-cursor (1.22.0-r2) (187/227) Purging wayland-libs-client (1.22.0-r2) (188/227) Purging p11-kit (0.24.1-r2) (189/227) Purging wayland-libs-server (1.22.0-r2) (190/227) Purging libffi (3.4.4-r2) (191/227) Purging libformw (6.4_p20230506-r1) (192/227) Purging libgcrypt (1.10.2-r1) (193/227) Purging libgpg-error (1.47-r1) (194/227) Purging libice-dev (1.1.1-r2) (195/227) Purging libsm (1.2.4-r1) (196/227) Purging libice (1.1.1-r2) (197/227) Purging libintl (0.21.1-r5) (198/227) Purging tiff (4.5.0-r6) (199/227) Purging libjpeg-turbo (2.1.5.1-r2) (200/227) Purging libmd (1.0.4-r2) (201/227) Purging libmenuw (6.4_p20230506-r1) (202/227) Purging libogg (1.3.5-r4) (203/227) Purging libpanelw (6.4_p20230506-r1) (204/227) Purging libpcre2-16 (10.42-r1) (205/227) Purging libpng (1.6.39-r3) (206/227) Purging libpq (15.3-r0) (207/227) Purging libtasn1 (4.19.0-r1) (208/227) Purging libuuid (2.38.1-r7) (209/227) Purging libwebp (1.3.0-r1) (210/227) Purging libxau-dev (1.0.11-r2) (211/227) Purging libxau (1.0.11-r2) (212/227) Purging libxkbcommon (1.5.0-r2) (213/227) Purging xkeyboard-config (2.38-r0) (214/227) Purging libxml2 (2.11.3-r0) (215/227) Purging libxshmfence (1.3.2-r2) (216/227) Purging mariadb-connector-c (3.3.4-r1) (217/227) Purging mesa-glapi (23.1.0-r1) (218/227) Purging mpdecimal (2.5.1-r2) (219/227) Purging mtdev (1.1.6-r2) (220/227) Purging nettle (3.8.1-r2) (221/227) Purging pixman (0.42.2-r1) (222/227) Purging unixodbc (2.3.11-r2) (223/227) Purging readline (8.2.1-r1) (224/227) Purging sqlite-libs (3.41.2-r2) (225/227) Purging wayland-libs-egl (1.22.0-r2) (226/227) Purging xorgproto (2022.2-r0) (227/227) Purging xz-libs (5.4.3-r0) Executing busybox-1.36.0-r9.trigger OK: 393 MiB in 102 packages >>> quaternion: Updating the community/x86_64 repository index... >>> quaternion: Signing the index...