>>> quaternion: Building community/quaternion 0.0.95.1-r2 (using abuild 3.10.0-r0) started Tue, 20 Dec 2022 22:28:17 +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 qt5-qtkeychain-dev qt5-qtmultimedia-dev qt5-qtquickcontrols2-dev qt5-qttools-dev (1/208) Installing icu-data-full (72.1-r1) (2/208) Installing dbus-libs (1.14.4-r0) (3/208) Installing libffi (3.4.4-r0) (4/208) Installing libintl (0.21.1-r1) (5/208) Installing libblkid (2.38.1-r1) (6/208) Installing libmount (2.38.1-r1) (7/208) Installing glib (2.74.3-r2) (8/208) Installing icu-libs (72.1-r1) (9/208) Installing libpcre2-16 (10.42-r0) (10/208) Installing qt5-qtbase (5.15.6_git20221010-r1) (11/208) Installing hicolor-icon-theme (0.17-r2) (12/208) Installing libxau (1.0.11-r0) (13/208) Installing libmd (1.0.4-r0) (14/208) Installing libbsd (0.11.7-r0) (15/208) Installing libxdmcp (1.1.4-r0) (16/208) Installing libxcb (1.15-r0) (17/208) Installing libx11 (1.8.2-r1) (18/208) Installing libxext (1.3.5-r0) (19/208) Installing libice (1.1.1-r0) (20/208) Installing libuuid (2.38.1-r1) (21/208) Installing libsm (1.2.4-r0) (22/208) Installing libxt (1.2.1-r1) (23/208) Installing libxmu (1.1.4-r0) (24/208) Installing xset (1.2.5-r0) (25/208) Installing xprop (1.2.6-r0) (26/208) Installing xdg-utils (1.1.3-r4) (27/208) Installing mesa (22.3.1-r0) (28/208) Installing hwdata-pci (0.365-r0) (29/208) Installing libpciaccess (0.17-r0) (30/208) Installing libdrm (2.4.114-r0) (31/208) Installing wayland-libs-server (1.21.0-r1) (32/208) Installing mesa-gbm (22.3.1-r0) (33/208) Installing mesa-glapi (22.3.1-r0) (34/208) Installing wayland-libs-client (1.21.0-r1) (35/208) Installing libxshmfence (1.3.2-r0) (36/208) Installing mesa-egl (22.3.1-r0) (37/208) Installing libxfixes (6.0.0-r0) (38/208) Installing libxxf86vm (1.1.5-r0) (39/208) Installing mesa-gl (22.3.1-r0) (40/208) Installing avahi-libs (0.8-r6) (41/208) Installing nettle (3.8.1-r0) (42/208) Installing p11-kit (0.24.1-r1) (43/208) Installing libtasn1 (4.19.0-r0) (44/208) Installing libunistring (1.1-r0) (45/208) Installing gnutls (3.7.8-r2) (46/208) Installing cups-libs (2.4.2-r1) (47/208) Installing libbz2 (1.0.8-r4) (48/208) Installing libpng (1.6.39-r2) (49/208) Installing freetype (2.12.1-r0) (50/208) Installing fontconfig (2.14.1-r0) (51/208) Installing xz-libs (5.4.0-r0) (52/208) Installing libxml2 (2.10.3-r2) (53/208) Installing shared-mime-info (2.2-r2) (54/208) Installing libjpeg-turbo (2.1.4-r0) (55/208) Installing libwebp (1.2.4-r1) (56/208) Installing tiff (4.5.0-r1) (57/208) Installing gdk-pixbuf (2.42.10-r2) (58/208) Installing gtk-update-icon-cache (3.24.35-r2) (59/208) Installing libxcomposite (0.4.6-r0) (60/208) Installing libxrender (0.9.11-r0) (61/208) Installing libxcursor (1.2.1-r1) (62/208) Installing libxdamage (1.1.6-r0) (63/208) Installing libxi (1.8-r0) (64/208) Installing libxinerama (1.1.5-r0) (65/208) Installing libxrandr (1.5.3-r0) (66/208) Installing libatk-1.0 (2.46.0-r0) (67/208) Installing libxtst (1.2.4-r0) (68/208) Installing at-spi2-core (2.46.0-r0) (69/208) Installing libatk-bridge-2.0 (2.46.0-r0) (70/208) Installing pixman (0.42.2-r0) (71/208) Installing cairo (1.17.6-r3) (72/208) Installing cairo-gobject (1.17.6-r3) (73/208) Installing libepoxy (1.5.10-r0) (74/208) Installing fribidi (1.0.12-r0) (75/208) Installing graphite2 (1.3.14-r2) (76/208) Installing harfbuzz (6.0.0-r0) (77/208) Installing libxft (2.3.7-r0) (78/208) Installing pango (1.50.12-r0) (79/208) Installing wayland-libs-egl (1.21.0-r1) (80/208) Installing xkeyboard-config (2.37-r0) (81/208) Installing libxkbcommon (1.4.1-r0) (82/208) Installing gtk+3.0 (3.24.35-r2) Executing gtk+3.0-3.24.35-r2.post-install (83/208) Installing libevdev (1.13.0-r0) (84/208) Installing mtdev (1.1.6-r1) (85/208) Installing eudev-libs (3.2.11-r6) (86/208) Installing libinput-libs (1.22.0-r0) (87/208) Installing xcb-util-wm (0.4.2-r0) (88/208) Installing xcb-util (0.4.1-r0) (89/208) Installing xcb-util-image (0.4.1-r0) (90/208) Installing xcb-util-keysyms (0.4.1-r0) (91/208) Installing xcb-util-renderutil (0.3.10-r0) (92/208) Installing libxkbcommon-x11 (1.4.1-r0) (93/208) Installing qt5-qtbase-x11 (5.15.6_git20221010-r1) (94/208) Installing qt5-qtdeclarative (5.15.6_git20220908-r0) (95/208) Installing qt5-qtquickcontrols (5.15.6_git20220816-r0) (96/208) Installing libarchive (3.6.2-r1) (97/208) Installing rhash-libs (1.4.3-r1) (98/208) Installing libuv (1.44.2-r0) (99/208) Installing cmake (3.25.1-r0) (100/208) Installing olm (3.2.13-r1) (101/208) Installing olm-dev (3.2.13-r1) (102/208) Installing sqlite-libs (3.40.0-r0) (103/208) Installing qt5-qtbase-sqlite (5.15.6_git20221010-r1) (104/208) Installing readline (8.2.0-r0) (105/208) Installing unixodbc (2.3.11-r0) (106/208) Installing qt5-qtbase-odbc (5.15.6_git20221010-r1) (107/208) Installing libpq (15.1-r1) (108/208) Installing qt5-qtbase-postgresql (5.15.6_git20221010-r1) (109/208) Installing mariadb-connector-c (3.3.3-r0) (110/208) Installing qt5-qtbase-mysql (5.15.6_git20221010-r1) (111/208) Installing freetds (1.3.16-r0) (112/208) Installing qt5-qtbase-tds (5.15.6_git20221010-r1) (113/208) Installing libfdisk (2.38.1-r1) (114/208) Installing libsmartcols (2.38.1-r1) (115/208) Installing util-linux-dev (2.38.1-r1) (116/208) Installing dbus-dev (1.14.4-r0) (117/208) Installing expat (2.5.0-r0) (118/208) Installing expat-dev (2.5.0-r0) (119/208) Installing brotli (1.0.9-r10) (120/208) Installing brotli-dev (1.0.9-r10) (121/208) Installing zlib-dev (1.2.13-r0) (122/208) Installing libpng-dev (1.6.39-r2) (123/208) Installing freetype-dev (2.12.1-r0) (124/208) Installing fontconfig-dev (2.14.1-r0) (125/208) Installing bzip2-dev (1.0.8-r4) (126/208) Installing libxml2-utils (2.10.3-r2) (127/208) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (128/208) Installing libgpg-error (1.46-r1) (129/208) Installing libgcrypt (1.10.1-r0) (130/208) Installing libxslt (1.1.37-r0) (131/208) Installing docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-install (132/208) Installing gettext-asprintf (0.21.1-r1) (133/208) Installing gettext-libs (0.21.1-r1) (134/208) Installing gettext (0.21.1-r1) (135/208) Installing gettext-dev (0.21.1-r1) (136/208) Installing gdbm (1.23-r0) (137/208) Installing mpdecimal (2.5.1-r1) (138/208) Installing python3 (3.11.1-r1) (139/208) Installing linux-headers (6.1.0-r0) (140/208) Installing libffi-dev (3.4.4-r0) (141/208) Installing bsd-compat-headers (0.7.2-r3) (142/208) Installing ncurses-dev (6.3_p20221217-r0) (143/208) Installing libedit-dev (20221030.3.1-r0) (144/208) Installing libpcre2-32 (10.42-r0) (145/208) Installing pcre2-dev (10.42-r0) (146/208) Installing glib-dev (2.74.3-r2) (147/208) Installing xorgproto (2022.2-r0) (148/208) Installing libice-dev (1.1.1-r0) (149/208) Installing libsm-dev (1.2.4-r0) (150/208) Installing libxau-dev (1.0.11-r0) (151/208) Installing xcb-proto (1.15.2-r1) (152/208) Installing libxdmcp-dev (1.1.4-r0) (153/208) Installing libxcb-dev (1.15-r0) (154/208) Installing xtrans (1.4.0-r2) (155/208) Installing libx11-dev (1.8.2-r1) (156/208) Installing libxext-dev (1.3.5-r0) (157/208) Installing libpciaccess-dev (0.17-r0) (158/208) Installing libdrm-dev (2.4.114-r0) (159/208) Installing libxfixes-dev (6.0.0-r0) (160/208) Installing libxdamage-dev (1.1.6-r0) (161/208) Installing libxshmfence-dev (1.3.2-r0) (162/208) Installing mesa-gles (22.3.1-r0) (163/208) Installing llvm15-libs (15.0.6-r1) (164/208) Installing mesa-osmesa (22.3.1-r0) (165/208) Installing mesa-xatracker (22.3.1-r0) (166/208) Installing libxxf86vm-dev (1.1.5-r0) (167/208) Installing mesa-dev (22.3.1-r0) (168/208) Installing openssl-dev (3.0.7-r1) (169/208) Installing perl (5.36.0-r0) (170/208) Installing sqlite-dev (3.40.0-r0) (171/208) Installing qt5-qtbase-dev (5.15.6_git20221010-r1) (172/208) Installing gcr-base (3.41.1-r1) (173/208) Installing linux-pam (1.5.2-r1) (174/208) Installing gnome-keyring (42.1-r0) (175/208) Installing qt5-qtkeychain (0.13.2-r0) (176/208) Installing qt5-qtkeychain-dev (0.13.2-r0) (177/208) Installing alsa-lib (1.2.8-r0) (178/208) Installing libxv (1.0.12-r0) (179/208) Installing cdparanoia-libs (10.2-r11) (180/208) Installing graphene (1.10.8-r1) (181/208) Installing gstreamer (1.20.5-r0) (182/208) Installing libogg (1.3.5-r2) (183/208) Installing opus (1.3.1-r1) (184/208) Installing orc (0.4.33-r0) (185/208) Installing libtheora (1.1.1-r16) (186/208) Installing libvorbis (1.3.7-r0) (187/208) Installing wayland-libs-cursor (1.21.0-r1) (188/208) Installing gst-plugins-base (1.20.5-r0) (189/208) Installing qt5-qtmultimedia (5.15.6_git20220907-r0) (190/208) Installing qt5-qtmultimedia-dev (5.15.6_git20220907-r0) (191/208) Installing libquotient (0.7.0-r0) (192/208) Installing libquotient-dev (0.7.0-r0) (193/208) Installing libsecret (0.20.5-r0) (194/208) Installing libgpg-error-dev (1.46-r1) (195/208) Installing libgcrypt-dev (1.10.1-r0) (196/208) Installing libsecret-dev (0.20.5-r0) (197/208) Installing qt5-qtdeclarative-dev (5.15.6_git20220908-r0) (198/208) Installing qt5-qtgraphicaleffects (5.15.6_git20220816-r0) (199/208) Installing qt5-qtquickcontrols2 (5.15.6_git20220907-r0) (200/208) Installing qt5-qtquickcontrols2-dev (5.15.6_git20220907-r0) (201/208) Installing clang15-libclang (15.0.6-r2) (202/208) Installing qt5-qttools (5.15.6_git20220907-r1) (203/208) Installing qt5-qttools-dev (5.15.6_git20220907-r1) (204/208) Installing .makedepends-quaternion (20221220.222819) (205/208) Installing qt5-qtwayland (5.15.6_git20220927-r1) (206/208) Installing perl-error (0.17029-r1) (207/208) Installing perl-git (2.39.0-r0) (208/208) Installing git-perl (2.39.0-r0) Executing busybox-1.35.0-r29.trigger Executing glib-2.74.3-r2.trigger Executing shared-mime-info-2.2-r2.trigger Executing gdk-pixbuf-2.42.10-r2.trigger Executing gtk-update-icon-cache-3.24.35-r2.trigger OK: 1045 MiB in 306 packages >>> quaternion: Cleaning up srcdir >>> quaternion: Cleaning up pkgdir >>> quaternion: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Quaternion-0.0.95.1.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 1195k 100 1195k 0 0 5664k 0 --:--:-- --:--:-- --:--:-- 5694k >>> quaternion: Fetching https://distfiles.alpinelinux.org/distfiles/edge/Quaternion-0.0.95.1.tar.gz >>> quaternion: Checking sha512sums... Quaternion-0.0.95.1.tar.gz: OK >>> quaternion: Unpacking /var/cache/distfiles/edge/Quaternion-0.0.95.1.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 WARN__SUPPORTED -- Performing Test WARN__SUPPORTED - Success -- Performing Test WARN_all_SUPPORTED -- Performing Test WARN_all_SUPPORTED - Success -- Performing Test WARN_pedantic_SUPPORTED -- Performing Test WARN_pedantic_SUPPORTED - Success -- Performing Test WARN_extra_SUPPORTED -- Performing Test WARN_extra_SUPPORTED - Success -- Performing Test WARN_no-unused-parameter_SUPPORTED -- Performing Test WARN_no-unused-parameter_SUPPORTED - Success -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.0.7") -- -- ============================================================================= -- Quaternion 0.0.95.1 Build Information -- ============================================================================= -- Build type: None -- Quaternion install prefix: /usr -- Found Git: /usr/bin/git (found version "2.39.0") fatal: not a git repository (or any of the parent directories): .git -- Git SHA1: -- Using compiler: GNU 12.2.1 -- Using Qt 5.15.6 at / -- Using libQuotient 0.7.0 at /usr/lib/cmake/Quotient -- Using QQuickWidget to render QML -- Using Qt Keychain 0.13.2 at /usr/lib/cmake/Qt5Keychain -- ============================================================================= -- -- Configuring done -- Generating done -- Build files have been written to: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build [ 2%] Automatic MOC for target quaternion [ 2%] Built target quaternion_autogen [ 5%] Generating qrc_resources.cpp [ 8%] Generating quaternion_de.qm [ 10%] Generating quaternion_en.qm [ 13%] Generating quaternion_en_GB.qm Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_de.qm'... Generated 410 translation(s) (410 finished and 0 unfinished) [ 16%] Generating quaternion_es.qm Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_en_GB.qm'... Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_en.qm'... Generated 411 translation(s) (411 finished and 0 unfinished) Ignored 1 untranslated source text(s) [ 18%] Generating quaternion_pl.qm Generated 410 translation(s) (410 finished and 0 unfinished) Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_es.qm'... Generated 314 translation(s) (314 finished and 0 unfinished) [ 21%] Generating quaternion_ru.qm Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_pl.qm'... Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Generated 387 translation(s) (387 finished and 0 unfinished) Updating '/home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_ru.qm'... Generated 410 translation(s) (410 finished and 0 unfinished) [ 24%] Building CXX object CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o [ 27%] Building CXX object CMakeFiles/quaternion.dir/client/accountregistry.cpp.o [ 29%] Building CXX object CMakeFiles/quaternion.dir/client/quaternionroom.cpp.o [ 32%] Building CXX object CMakeFiles/quaternion.dir/client/htmlfilter.cpp.o [ 35%] Building CXX object CMakeFiles/quaternion.dir/client/imageprovider.cpp.o [ 37%] Building CXX object CMakeFiles/quaternion.dir/client/activitydetector.cpp.o [ 40%] Building CXX object CMakeFiles/quaternion.dir/client/dialog.cpp.o [ 43%] Building CXX object CMakeFiles/quaternion.dir/client/logindialog.cpp.o [ 45%] Building CXX object CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o [ 48%] Building CXX object CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o [ 51%] Building CXX object CMakeFiles/quaternion.dir/client/mainwindow.cpp.o [ 54%] Building CXX object CMakeFiles/quaternion.dir/client/roomlistdock.cpp.o [ 56%] Building CXX object CMakeFiles/quaternion.dir/client/userlistdock.cpp.o [ 59%] Building CXX object CMakeFiles/quaternion.dir/client/kchatedit.cpp.o [ 62%] Building CXX object CMakeFiles/quaternion.dir/client/chatedit.cpp.o [ 64%] Building CXX object CMakeFiles/quaternion.dir/client/timelinewidget.cpp.o [ 67%] Building CXX object CMakeFiles/quaternion.dir/client/accountselector.cpp.o [ 70%] Building CXX object CMakeFiles/quaternion.dir/client/chatroomwidget.cpp.o [ 72%] Building CXX object CMakeFiles/quaternion.dir/client/systemtrayicon.cpp.o [ 75%] Building CXX object CMakeFiles/quaternion.dir/client/models/messageeventmodel.cpp.o [ 78%] Building CXX object CMakeFiles/quaternion.dir/client/profiledialog.cpp.o [ 81%] Building CXX object CMakeFiles/quaternion.dir/client/models/userlistmodel.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 [ 89%] Building CXX object CMakeFiles/quaternion.dir/client/models/orderbytag.cpp.o [ 91%] Building CXX object CMakeFiles/quaternion.dir/client/main.cpp.o [ 94%] Building CXX object CMakeFiles/quaternion.dir/qrc_resources.cpp.o /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.cpp: In member function 'void QuaternionRoom::checkForHighlights(const Quotient::TimelineItem&)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.cpp:123:47: warning: 'QString Quotient::Room::roomMembername(const QString&) const' is deprecated: Use safeMemberName() instead [-Wdeprecated-declarations] 123 | const auto memberName = roomMembername(localUserId); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.cpp:20: /usr/include/Quotient/room.h:342:25: note: declared here 342 | Q_INVOKABLE QString roomMembername(const QString& userId) const; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.cpp:127:94: warning: 'QString Quotient::Room::roomMembername(const QString&) const' is deprecated: Use safeMemberName() instead [-Wdeprecated-declarations] 127 | roomMemberExpressions[memberName] = QRegularExpression("(\\W|^)" + roomMembername(localUserId) + "(\\W|$)", ReOpt); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/Quotient/room.h:342:25: note: declared here 342 | Q_INVOKABLE QString roomMembername(const QString& userId) const; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/logindialog.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/logindialog.cpp:53:73: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 53 | connect(userEdit, &QLineEdit::editingFinished, m_connection.data(), [=] { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/logindialog.cpp:53:73: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/logindialog.cpp: In member function 'virtual void LoginDialog::apply()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/logindialog.cpp:209:9: error: 'connectSingleShot' was not declared in this scope 209 | connectSingleShot(m_connection.data(), &Connection::loginFlowsChanged, | ^~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:20: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:36:44: error: 'ConnectionsGuard' in namespace 'Quotient' does not name a template type; did you mean 'ConnectionData'? 36 | using ConnectionsGuard = Quotient::ConnectionsGuard; | ^~~~~~~~~~~~~~~~ | ConnectionData /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/userlistdock.cpp: In member function 'void UserListDock::showContextMenu(QPoint)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/userlistdock.cpp:128:71: warning: 'const EvT* Quotient::Room::getCurrentState(const QString&) const [with EvT = Quotient::RoomPowerLevelsEvent]' is deprecated: Use currentState().get() instead; make sure to check its result for nullptrs [-Wdeprecated-declarations] 128 | m_currentRoom->getCurrentState(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/userlistdock.cpp:31: /usr/include/Quotient/room.h:770:16: note: declared here 770 | const EvT* getCurrentState(const QString& stateKey = {}) const | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:21: error: 'ConnectionsGuard' was not declared in this scope 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid 90 | std::vector> m_connections; | ^~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:14: error: '' in namespace 'std' does not name a type 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/abstractroomordering.cpp:20: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:36:44: error: 'ConnectionsGuard' in namespace 'Quotient' does not name a template type; did you mean 'ConnectionData'? 36 | using ConnectionsGuard = Quotient::ConnectionsGuard; | ^~~~~~~~~~~~~~~~ | ConnectionData /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:21: error: 'ConnectionsGuard' was not declared in this scope 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid 90 | std::vector> m_connections; | ^~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:14: error: '' in namespace 'std' does not name a type 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp: In member function 'void UserListModel::setRoom(Quotient::Room*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:66:34: error: 'avatarChanged' is not a member of 'UserListModel::User' {aka 'Quotient::User'} 66 | connect(user, &User::avatarChanged, this, | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:70:17: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 70 | [=] { setRoom(nullptr); }); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:70:17: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp: In member function 'void UserListModel::userAdded(Quotient::User*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:156:37: error: 'avatarChanged' is not a member of 'Quotient::User' 156 | connect( user, &Quotient::User::avatarChanged, this, &UserListModel::avatarChanged ); | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp: In member function 'int UserListModel::findUserPos(User*) const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:215:53: warning: 'QString Quotient::Room::roomMembername(const Quotient::User*) const' is deprecated: Use safeMemberName() instead [-Wdeprecated-declarations] 215 | return findUserPos(m_currentRoom->roomMembername(user)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/userlistmodel.cpp:32: /usr/include/Quotient/room.h:339:25: note: declared here 339 | Q_INVOKABLE QString roomMembername(const Quotient::User* u) const; | ^~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/orderbytag.cpp:20: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:36:44: error: 'ConnectionsGuard' in namespace 'Quotient' does not name a template type; did you mean 'ConnectionData'? 36 | using ConnectionsGuard = Quotient::ConnectionsGuard; | ^~~~~~~~~~~~~~~~ | ConnectionData /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:21: error: 'ConnectionsGuard' was not declared in this scope 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid 90 | std::vector> m_connections; | ^~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:14: error: '' in namespace 'std' does not name a type 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomlistdock.cpp:30: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:36:44: error: 'ConnectionsGuard' in namespace 'Quotient' does not name a template type; did you mean 'ConnectionData'? 36 | using ConnectionsGuard = Quotient::ConnectionsGuard; | ^~~~~~~~~~~~~~~~ | ConnectionData /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:21: error: 'ConnectionsGuard' was not declared in this scope 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid 90 | std::vector> m_connections; | ^~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:90:14: error: '' in namespace 'std' does not name a type 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'void RoomListModel::addConnection(Quotient::Connection*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:50:5: error: 'm_connections' was not declared in this scope; did you mean 'connection'? 50 | m_connections.emplace_back(connection, this); | ^~~~~~~~~~~~~ | connection /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:52:13: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 52 | [=] { deleteConnection(connection); }); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:52:13: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'void RoomListModel::deleteConnection(Quotient::Connection*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:64:18: error: 'm_connections' was not declared in this scope; did you mean 'connection'? 64 | find(m_connections.begin(), m_connections.end(), connection); | ^~~~~~~~~~~~~ | connection /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:64:13: error: 'find' was not declared in this scope 64 | find(m_connections.begin(), m_connections.end(), connection); | ^~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:64:13: note: suggested alternatives: In file included from /usr/include/c++/12.2.1/iterator:66, from /usr/include/qt5/QtCore/qbytearray.h:53, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QLatin1String:1, from /usr/include/Quotient/util.h:9, from /usr/include/Quotient/ssosession.h:6, from /usr/include/Quotient/connection.h:9, from /usr/include/Quotient/room.h:12, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/abstractroomordering.h:20, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.h:22: /usr/include/c++/12.2.1/bits/streambuf_iterator.h:434:5: note: 'std::find' 434 | find(istreambuf_iterator<_CharT> __first, | ^~~~ In file included from /usr/include/c++/12.2.1/bits/ranges_algo.h:36, from /usr/include/c++/12.2.1/algorithm:63, from /usr/include/qt5/QtCore/qglobal.h:142, from /usr/include/Quotient/quotient_export.h:6, from /usr/include/Quotient/quotient_common.h:6, from /usr/include/Quotient/connection.h:8: /usr/include/c++/12.2.1/bits/ranges_util.h:466:30: note: 'std::ranges::find' 466 | inline constexpr __find_fn find{}; | ^~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'void RoomListModel::deleteTag(QModelIndex)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:96:25: error: 'm_connections' was not declared in this scope 96 | for (const auto& c: m_connections) | ^~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/moc_roomlistmodel.cpp:10, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/mocs_compilation.cpp:14: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:36:44: error: 'ConnectionsGuard' in namespace 'Quotient' does not name a template type; did you mean 'ConnectionData'? 36 | using ConnectionsGuard = Quotient::ConnectionsGuard; | ^~~~~~~~~~~~~~~~ | ConnectionData /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'void RoomListModel::connectRoomSignals(Room*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:241:26: warning: 'void Quotient::Room::unreadMessagesChanged(Quotient::Room*)' is deprecated: Since 0.7, use either partiallyReadStatsChanged or unreadStatsChanged [-Wdeprecated-declarations] 241 | connect(room, &Room::unreadMessagesChanged, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/Quotient/room.h:990:10: note: declared here 990 | void unreadMessagesChanged(Quotient::Room* room); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:21: error: 'ConnectionsGuard' was not declared in this scope 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid 90 | std::vector> m_connections; | ^~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/build/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:14: error: '' in namespace 'std' does not name a type 90 | std::vector> m_connections; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/quaternion.dir/build.make:315: CMakeFiles/quaternion.dir/client/logindialog.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'void RoomListModel::doSetOrder(std::unique_ptr&&)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:294:25: error: 'm_connections' was not declared in this scope 294 | for (const auto& c: m_connections) | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'int RoomListModel::totalRooms() const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:334:25: error: 'm_connections' was not declared in this scope 334 | for (const auto& c: m_connections) | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp: In member function 'virtual QVariant RoomListModel::data(const QModelIndex&, int) const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:361:51: warning: 'int Quotient::Room::unreadCount() const' is deprecated: Use partiallyReadStats() or unreadStats() instead [-Wdeprecated-declarations] 361 | unreadRoomsCount += r->unreadCount() != -1; | ~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:620:9: note: declared here 620 | int unreadCount() const; | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:397:29: error: 'm_connections' was not declared in this scope 397 | for (const auto& c: m_connections) | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp: In member function 'void RoomDialogBase::refillVersionSelector(QComboBox*, Connection*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:128:9: error: 'connectUntil' was not declared in this scope; did you mean 'connectNotify'? 128 | connectUntil(account, &Connection::capabilitiesLoaded, this, | ^~~~~~~~~~~~ | connectNotify /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:409:49: warning: 'int Quotient::Room::unreadCount() const' is deprecated: Use partiallyReadStats() or unreadStats() instead [-Wdeprecated-declarations] 409 | auto unreadCount = room->unreadCount(); | ~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:620:9: note: declared here 620 | int unreadCount() const; | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:419:40: warning: 'Quotient::Room::rev_iter_t Quotient::Room::readMarker() const' is deprecated: Use localReadReceiptMarker() or fullyReadMarker() [-Wdeprecated-declarations] 419 | % (room->readMarker() == room->historyEdge() ? "?" : "") | ~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:445:16: note: declared here 445 | rev_iter_t readMarker() const; | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:424:57: warning: 'Quotient::Room::rev_iter_t Quotient::Room::readMarker(const Quotient::User*) const' is deprecated: Use lastReadReceipt() to get m.read receipt or fullyReadMarker() to get m.fully_read marker [-Wdeprecated-declarations] 424 | auto localReadReceipt = room->readMarker(room->localUser()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/Quotient/room.h:438:16: note: declared here 438 | rev_iter_t readMarker(const User* user) const; | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:197:70: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 197 | connect(changeActionButton, &QAbstractButton::clicked, this, [=] { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:197:70: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:490:59: warning: 'int Quotient::Room::unreadCount() const' is deprecated: Use partiallyReadStats() or unreadStats() instead [-Wdeprecated-declarations] 490 | if (const auto unreadCount = room->unreadCount(); unreadCount >= 0) { | ~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:620:9: note: declared here 620 | int unreadCount() const; | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:494:37: warning: 'Quotient::Room::rev_iter_t Quotient::Room::readMarker() const' is deprecated: Use localReadReceiptMarker() or fullyReadMarker() [-Wdeprecated-declarations] 494 | if (room->readMarker() == room->historyEdge()) | ~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:445:16: note: declared here 445 | rev_iter_t readMarker() const; | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:508:20: warning: enumeration value 'Invalid' not handled in switch [-Wswitch] 508 | switch (room->joinState()) | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:508:20: warning: enumeration value 'Knock' not handled in switch [-Wswitch] /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:522:37: warning: 'int Quotient::Room::unreadCount() const' is deprecated: Use partiallyReadStats() or unreadStats() instead [-Wdeprecated-declarations] 522 | return room->unreadCount() > 0; | ~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:620:9: note: declared here 620 | int unreadCount() const; | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:528:20: error: 'toCString' was not declared in this scope; did you mean 'QString'? 528 | return toCString(room->joinState()); // TODO: drop toCString once on lib 0.7 | ^~~~~~~~~ | QString /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/profiledialog.cpp: In member function 'virtual void ProfileDialog::load()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/profiledialog.cpp:287:26: error: 'avatarChanged' is not a member of 'Quotient::User' 287 | connect(user, &User::avatarChanged, this, [this](User*, const Room* room) { | ^~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/profiledialog.cpp:294:26: error: 'nameChanged' is not a member of 'Quotient::User' 294 | connect(user, &User::nameChanged, this, | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp: In member function 'virtual void RoomSettingsDialog::load()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:245:62: warning: 'const EvT* Quotient::Room::getCurrentState(const QString&) const [with EvT = Quotient::RoomPowerLevelsEvent]' is deprecated: Use currentState().get() instead; make sure to check its result for nullptrs [-Wdeprecated-declarations] 245 | room->getCurrentState(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:22: /usr/include/Quotient/room.h:770:16: note: declared here 770 | const EvT* getCurrentState(const QString& stateKey = {}) const | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp: In member function 'virtual void RoomSettingsDialog::apply()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:289:9: error: 'connectUntil' was not declared in this scope; did you mean 'connectNotify'? 289 | connectUntil(room, &Room::upgraded, this, | ^~~~~~~~~~~~ | connectNotify /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/roomdialogs.cpp:295:9: error: 'connectSingleShot' was not declared in this scope 295 | connectSingleShot(room, &Room::upgradeFailed, | ^~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/quaternion.dir/build.make:511: CMakeFiles/quaternion.dir/client/models/userlistmodel.cpp.o] Error 1 make[2]: *** [CMakeFiles/quaternion.dir/build.make:539: CMakeFiles/quaternion.dir/client/models/abstractroomordering.cpp.o] Error 1 /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:120:58: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 120 | connect(m_chatEdit, &KChatEdit::copyRequested, this, [=] { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:120:58: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:127:13: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 127 | [=](const QImage& image) { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:127:13: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp: In member function 'void ChatRoomWidget::sendFile()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:367:41: warning: 'QString Quotient::Room::postFile(const QString&, const QUrl&, bool)' is deprecated: Use postFile(QString, MessageEventType, EventContent) [-Wdeprecated-declarations] 367 | auto txnId = currentRoom()->postFile(description.isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 368 | ? QUrl(attachedFileName).fileName() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | : description, | ~~~~~~~~~~~~~~ 370 | QUrl::fromLocalFile(attachedFileName)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:45: /usr/include/Quotient/room.h:820:13: note: declared here 820 | QString postFile(const QString& plainText, const QUrl& localPath, | ^~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp: In member function 'QString ChatRoomWidget::sendCommand(const QStringRef&, const QString&)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.cpp:504:47: warning: 'Quotient::JoinState Quotient::Room::memberJoinState(Quotient::User*) const' is deprecated: Use isMember() instead [-Wdeprecated-declarations] 504 | if (currentRoom()->memberJoinState(user) != JoinState::Join) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/Quotient/room.h:322:37: note: declared here 322 | Q_INVOKABLE Quotient::JoinState memberJoinState(Quotient::User* user) const; | ^~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/quaternion.dir/build.make:553: CMakeFiles/quaternion.dir/client/models/orderbytag.cpp.o] Error 1 /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp: In member function 'void TimelineWidget::setRoom(QuaternionRoom*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:97:43: warning: 'void Quotient::Room::readMarkerMoved(QString, QString)' is deprecated: Since 0.7, use fullyReadMarkerMoved [-Wdeprecated-declarations] 97 | connect(newRoom, &Quotient::Room::readMarkerMoved, this, [this] { | ^~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/../quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:4: /usr/include/Quotient/room.h:984:10: note: declared here 984 | void readMarkerMoved(QString fromEventId, QString toEventId); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:98:54: warning: 'Quotient::Room::rev_iter_t Quotient::Room::readMarker() const' is deprecated: Use localReadReceiptMarker() or fullyReadMarker() [-Wdeprecated-declarations] 98 | const auto rm = currentRoom()->readMarker(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:445:16: note: declared here 445 | rev_iter_t readMarker() const; | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp: In member function 'void TimelineWidget::showMenu(int, const QString&, const QString&, bool)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:194:71: warning: 'const EvT* Quotient::Room::getCurrentState(const QString&) const [with EvT = Quotient::RoomPowerLevelsEvent]' is deprecated: Use currentState().get() instead; make sure to check its result for nullptrs [-Wdeprecated-declarations] 194 | currentRoom()->getCurrentState(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:770:16: note: declared here 770 | const EvT* getCurrentState(const QString& stateKey = {}) const | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:181:15: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 181 | this, [=]{ showLoginWindow(); } ); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:181:15: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In member function 'void MainWindow::createMenu()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:197:37: warning: arithmetic between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion] 197 | ? QKeySequence(Qt::CTRL + Qt::Key_Q) : QKeySequence::Quit; | ~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp: In member function 'void TimelineWidget::reactionButtonClicked(const QString&, const QString&)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:274:72: warning: 'static constexpr auto Quotient::EventRelation::Annotation()' is deprecated: Use AnnotationType variable instead [-Wdeprecated-declarations] 274 | currentRoom()->relatedEvents(eventId, 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-0.0.95.1/client/timelinewidget.cpp:278:40: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 278 | e != nullptr && e->relation().key == key | ~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/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-0.0.95.1/client/mainwindow.cpp:345:38: warning: arithmetic between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion] 345 | joinAction->setShortcut(Qt::CTRL + Qt::Key_J); | ~~~~~~~~~^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp: In member function 'bool TimelineWidget::pendingMarkRead() const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.cpp:341:46: warning: 'Quotient::Room::rev_iter_t Quotient::Room::readMarker() const' is deprecated: Use localReadReceiptMarker() or fullyReadMarker() [-Wdeprecated-declarations] 341 | const auto rm = currentRoom()->readMarker(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:445:16: note: declared here 445 | rev_iter_t readMarker() const; | ^~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:790:47: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 790 | connect( c, &Connection::loggedOut, this, [=] | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:790:47: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:796:50: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 796 | connect( c, &Connection::networkError, this, [=]{ networkError(c); } ); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:796:50: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:821:53: warning: 'Quotient::BaseJob::UserConsentRequiredError' is deprecated: Use UserConsentRequired [-Wdeprecated-declarations] 821 | auto message = job->error() == BaseJob::UserConsentRequiredError | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/Quotient/converters.h:7, from /usr/include/Quotient/events/event.h:6, from /usr/include/Quotient/events/roomevent.h:6, from /usr/include/Quotient/events/callevents.h:6, from /usr/include/Quotient/eventitem.h:8, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/timelinewidget.h:5, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:25: /usr/include/Quotient/jobs/basejob.h:70:9: note: declared here 70 | WITH_DEPRECATED_ERROR_VERSION(UserConsentRequired), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:821:53: warning: 'Quotient::BaseJob::UserConsentRequiredError' is deprecated: Use UserConsentRequired [-Wdeprecated-declarations] 821 | auto message = job->error() == BaseJob::UserConsentRequiredError | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Quotient/jobs/basejob.h:70:9: note: declared here 70 | WITH_DEPRECATED_ERROR_VERSION(UserConsentRequired), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:847:20: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 847 | this, [=](const QString& msg){ loginError(c, msg); } ); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:847:20: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:874:60: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 874 | auto logoutAction = logoutMenu->addAction(menuCaption, [=] { logout(c); }); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:874:60: note: add explicit 'this' or '*this' capture /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:939:41: warning: 'void Quotient::AccountSettings::clearAccessToken()' is deprecated: Access tokens are not stored in QSettings any more [-Wdeprecated-declarations] 939 | reloginAccount->clearAccessToken(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/chatroomwidget.h:24, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:24: /usr/include/Quotient/settings.h:148:22: note: declared here 148 | Q_INVOKABLE void clearAccessToken(); | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:957:33: warning: 'void Quotient::AccountSettings::clearAccessToken()' is deprecated: Access tokens are not stored in QSettings any more [-Wdeprecated-declarations] 957 | account.clearAccessToken(); // Drop the legacy - just in case | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/settings.h:148:22: note: declared here 148 | Q_INVOKABLE void clearAccessToken(); | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In member function 'void MainWindow::invokeLogin()': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:1091:39: error: 'class Quotient::AccountSettings' has no member named 'accessToken'; did you mean 'clearAccessToken'? 1091 | accessToken = account.accessToken().toLatin1(); | ^~~~~~~~~~~ | clearAccessToken /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:1096:41: warning: 'void Quotient::AccountSettings::clearAccessToken()' is deprecated: Access tokens are not stored in QSettings any more [-Wdeprecated-declarations] 1096 | account.clearAccessToken(); // Clean the old place | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/settings.h:148:22: note: declared here 148 | Q_INVOKABLE void clearAccessToken(); | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:1104:17: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 1104 | [=] { | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/mainwindow.cpp:1104:17: note: add explicit 'this' or '*this' capture make[2]: *** [CMakeFiles/quaternion.dir/build.make:371: CMakeFiles/quaternion.dir/client/roomlistdock.cpp.o] Error 1 /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In constructor 'MessageEventModel::MessageEventModel(QObject*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:74:5: error: parse error in template argument list 74 | qmlRegisterUncreatableType("Quotient", 1, 0, "EventStatus", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:74:44: error: no matching function for call to 'qmlRegisterUncreatableType< >(const char [9], int, int, const char [12], const char [36])' 74 | qmlRegisterUncreatableType("Quotient", 1, 0, "EventStatus", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | "EventStatus is not a creatable type"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtQml/QtQml:9, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:23: /usr/include/qt5/QtQml/qqml.h:193:5: note: candidate: 'template int qmlRegisterUncreatableType(const char*, int, int, const char*, const QString&)' 193 | int qmlRegisterUncreatableType(const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString& reason) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtQml/qqml.h:193:5: note: template argument deduction/substitution failed: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:74:44: error: template argument 1 is invalid 74 | qmlRegisterUncreatableType("Quotient", 1, 0, "EventStatus", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | "EventStatus is not a creatable type"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtQml/qqml.h:225:5: note: candidate: 'template int qmlRegisterUncreatableType(const char*, int, int, const char*, const QString&)' 225 | int qmlRegisterUncreatableType(const char *uri, int versionMajor, int versionMinor, const char *qmlName, const QString& reason) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtQml/qqml.h:225:5: note: template argument deduction/substitution failed: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:74:44: error: template argument 1 is invalid 74 | qmlRegisterUncreatableType("Quotient", 1, 0, "EventStatus", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | "EventStatus is not a creatable type"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In member function 'void MessageEventModel::changeRoom(QuaternionRoom*)': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:163:39: warning: 'void Quotient::Room::readMarkerMoved(QString, QString)' is deprecated: Since 0.7, use fullyReadMarkerMoved [-Wdeprecated-declarations] 163 | connect(m_currentRoom, &Room::readMarkerMoved, | ^~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/../quaternionroom.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.h:22, from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:20: /usr/include/Quotient/room.h:984:10: note: declared here 984 | void readMarkerMoved(QString fromEventId, QString toEventId); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:178:39: error: 'fileTransferCancelled' is not a member of 'Quotient::Room' 178 | connect(m_currentRoom, &Room::fileTransferCancelled, | ^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In member function 'int MessageEventModel::readMarkerVisualIndex() const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:212:58: warning: 'QString Quotient::Room::readMarkerEventId() const' is deprecated: Use lastReadReceipt() to get m.read receipt or lastFullyReadEventId() to get an event id that m.fully_read marker points to [-Wdeprecated-declarations] 212 | if (auto r = findRow(m_currentRoom->readMarkerEventId()); r != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/room.h:453:13: note: declared here 453 | QString readMarkerEventId() const; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:527:50: warning: this statement may fall through [-Wimplicit-fallthrough=] 527 | return QStringLiteral("upgraded"); | ^ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/roomlistmodel.cpp:529:9: note: here 529 | case ObjectRole: | ^~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In member function 'bool MessageEventModel::isUserActivityNotable(const Quotient::Room::rev_iter_t&) const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:373:71: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 373 | if (!me->isLeave() && me->membership() != MembershipType::Ban) | ^~~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:31: /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/quaternion.dir/build.make:343: CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o] Error 1 make[2]: *** [CMakeFiles/quaternion.dir/build.make:525: CMakeFiles/quaternion.dir/client/models/roomlistmodel.cpp.o] Error 1 /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:487:42: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 487 | case MembershipType::Invite: | ^~~~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:488:42: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 488 | case MembershipType::Join: { | ^~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:491:63: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 491 | if (e.membership() == MembershipType::Invite) | ^~~~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:510:46: warning: 'QString Quotient::RoomMemberEvent::displayName() const' is deprecated: Use newDisplayName() instead [-Wdeprecated-declarations] 510 | if (e.displayName().isEmpty()) | ~~~~~~~~~~~~~^~ /usr/include/Quotient/events/roommemberevent.h:47:60: note: declared here 47 | [[deprecated("Use newDisplayName() instead")]] QString displayName() const | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:514:58: warning: 'QString Quotient::RoomMemberEvent::displayName() const' is deprecated: Use newDisplayName() instead [-Wdeprecated-declarations] 514 | .arg(e.displayName().toHtmlEscaped()); | ~~~~~~~~~~~~~^~ /usr/include/Quotient/events/roommemberevent.h:47:60: note: declared here 47 | [[deprecated("Use newDisplayName() instead")]] QString displayName() const | ^~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:522:44: warning: 'QUrl Quotient::RoomMemberEvent::avatarUrl() const' is deprecated: Use newAvatarUrl() instead [-Wdeprecated-declarations] 522 | if (e.avatarUrl().isEmpty()) | ~~~~~~~~~~~^~ /usr/include/Quotient/events/roommemberevent.h:51:55: note: declared here 51 | [[deprecated("Use newAvatarUrl() instead")]] QUrl avatarUrl() const | ^~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:529:42: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 529 | case MembershipType::Leave: | ^~~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:531:76: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 531 | e.prevContent()->membership == MembershipType::Invite) | ^~~~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:539:80: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 539 | e.prevContent()->membership == MembershipType::Ban) | ^~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:553:42: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 553 | case MembershipType::Ban: | ^~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:562:42: warning: 'using MembershipType = enum class Quotient::Membership' is deprecated: Use Membership instead [-Wdeprecated-declarations] 562 | case MembershipType::Knock: | ^~~~~ /usr/include/Quotient/events/roommemberevent.h:29:7: note: declared here 29 | using MembershipType [[deprecated("Use Membership instead")]] = Membership; | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:573:68: warning: 'QStringList Quotient::RoomAliasesEvent::aliases() const' is deprecated: m.room.aliases events are deprecated by the Matrix spec; use RoomCanonicalAliasEvent::altAliases() to get non-authoritative aliases [-Wdeprecated-declarations] 573 | QLocale().createSeparatedList(e.aliases())); | ~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:32: /usr/include/Quotient/events/simplestateevents.h:45:17: note: declared here 45 | QStringList aliases() const { return content().value; } | ^~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp: In member function 'virtual QVariant MessageEventModel::data(const QModelIndex&, int) const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:609:42: warning: 'using StateEventBase = class Quotient::StateEvent' is deprecated: StateEventBase is StateEvent now [-Wdeprecated-declarations] 609 | , [] (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-0.0.95.1/client/models/messageeventmodel.cpp:444: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::, MessageEventModel::data(const QModelIndex&, int) const::, QString}]' is deprecated: The new name for visit() is switchOnType() [-Wdeprecated-declarations] 444 | return visit(evt | ~~~~~^~~~ 445 | , [this] (const RoomMessageEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 446 | // clang-format on | ~~~~~~~~~~~~~~~~~~ 447 | using namespace MessageEventContent; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | | 449 | if (e.hasTextContent() && e.mimeType().name() != "text/plain") { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | // Naïvely assume that it's HTML | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | auto htmlBody = | ~~~~~~~~~~~~~~~ 452 | static_cast(e.content())->body; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 453 | auto [cleanHtml, errorPos, errorString] = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 454 | HtmlFilter::fromMatrixHtml(htmlBody, m_currentRoom); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 455 | // If HTML is bad (or it's not HTML at all), fall back | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 456 | // to returning the prettified plain text | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 457 | if (errorPos != -1) { | ~~~~~~~~~~~~~~~~~~~~~ 458 | cleanHtml = m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | static Settings settings; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 460 | // A manhole to visualise HTML errors | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 461 | if (settings.get("Debug/html", false)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 462 | cleanHtml += | ~~~~~~~~~~~~ 463 | QStringLiteral("
" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 464 | "At pos %1: %2") | ~~~~~~~~~~~~~~~~~~~~~~~ 465 | .arg(QString::number(errorPos), errorString); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 466 | } | ~ 467 | return cleanHtml; | ~~~~~~~~~~~~~~~~~ 468 | } | ~ 469 | if (e.hasFileContent()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ 470 | auto fileCaption = | ~~~~~~~~~~~~~~~~~~ 471 | e.content()->fileInfo()->originalName.toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 472 | if (fileCaption.isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 473 | fileCaption = m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | return !fileCaption.isEmpty() ? fileCaption : tr("a file"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 475 | } | ~ 476 | return m_currentRoom->prettyPrint(e.plainBody()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 477 | // clang-format off | ~~~~~~~~~~~~~~~~~~~ 478 | } | ~ 479 | , [this] (const RoomMemberEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 480 | // clang-format on | ~~~~~~~~~~~~~~~~~~ 481 | // FIXME: Rewind to the name that was at the time of this event | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 482 | const auto subjectName = | ~~~~~~~~~~~~~~~~~~~~~~~~ 483 | m_currentRoom->safeMemberName(e.userId()).toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 484 | // The below code assumes senderName output in AuthorRole | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | switch( e.membership() ) | ~~~~~~~~~~~~~~~~~~~~~~~~ 486 | { | ~ 487 | case MembershipType::Invite: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | case MembershipType::Join: { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | QString text {}; | ~~~~~~~~~~~~~~~~ 490 | // Part 1: invites and joins | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | if (e.membership() == MembershipType::Invite) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | text = tr("invited %1 to the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | .arg(subjectName); | ~~~~~~~~~~~~~~~~~~ 494 | else if (e.changesMembership()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 495 | text = tr("joined the room"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 496 | | 497 | if (!text.isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~ 498 | if (e.repeatsState()) | ~~~~~~~~~~~~~~~~~~~~~ 499 | text += ' ' | ~~~~~~~~~~~ 500 | //: State event that doesn't change the state | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 501 | % tr("(repeated)"); | ~~~~~~~~~~~~~~~~~~~ 502 | if (!e.reason().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 503 | text += ": " + e.reason().toHtmlEscaped(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 504 | return text; | ~~~~~~~~~~~~ 505 | } | ~ 506 | | 507 | // Part 2: profile changes of joined members | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | if (e.isRename() | ~~~~~~~~~~~~~~~~ 509 | && Settings().get("UI/show_rename", true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | if (e.displayName().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 511 | text = tr("cleared the display name"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | else | ~~~~ 513 | text = tr("changed the display name to %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514 | .arg(e.displayName().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 515 | } | ~ 516 | if (e.isAvatarUpdate() | ~~~~~~~~~~~~~~~~~~~~~~ 517 | && Settings().get("UI/show_avatar_update", true)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 518 | if (!text.isEmpty()) | ~~~~~~~~~~~~~~~~~~~~ 519 | //: Joiner for member profile updates; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520 | //: mind the leading and trailing spaces! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 521 | text += tr(" and "); | ~~~~~~~~~~~~~~~~~~~~ 522 | if (e.avatarUrl().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 523 | text += tr("cleared the avatar"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 524 | else | ~~~~ 525 | text += tr("updated the avatar"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | } | ~ 527 | return text; | ~~~~~~~~~~~~ 528 | } | ~ 529 | case MembershipType::Leave: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | if (e.prevContent() && | ~~~~~~~~~~~~~~~~~~~~~~ 531 | e.prevContent()->membership == MembershipType::Invite) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 532 | { | ~ 533 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 534 | ? tr("withdrew %1's invitation").arg(subjectName) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 535 | : tr("rejected the invitation"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 536 | } | ~ 537 | | 538 | if (e.prevContent() && | ~~~~~~~~~~~~~~~~~~~~~~ 539 | e.prevContent()->membership == MembershipType::Ban) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | { | ~ 541 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | ? tr("unbanned %1").arg(subjectName) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | : tr("self-unbanned"); | ~~~~~~~~~~~~~~~~~~~~~~ 544 | } | ~ 545 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 546 | ? e.reason().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~ 547 | ? tr("kicked %1 from the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 548 | .arg(subjectName) | ~~~~~~~~~~~~~~~~~ 549 | : tr("kicked %1 from the room: %2") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 550 | .arg(subjectName, | ~~~~~~~~~~~~~~~~~ 551 | e.reason().toHtmlEscaped()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | : tr("left the room"); | ~~~~~~~~~~~~~~~~~~~~~~ 553 | case MembershipType::Ban: | ~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | return (e.senderId() != e.userId()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | ? e.reason().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~ 556 | ? tr("banned %1 from the room") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | .arg(subjectName) | ~~~~~~~~~~~~~~~~~ 558 | : tr("banned %1 from the room: %2") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | .arg(subjectName, | ~~~~~~~~~~~~~~~~~ 560 | e.reason().toHtmlEscaped()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | : tr("self-banned from the room"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 562 | case MembershipType::Knock: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 563 | return tr("knocked"); | ~~~~~~~~~~~~~~~~~~~~~ 564 | default: | ~~~~~~~~ 565 | ; | ~ 566 | } | ~ 567 | return tr("made something unknown"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 568 | // clang-format off | ~~~~~~~~~~~~~~~~~~~ 569 | } | ~ 570 | , [] (const RoomAliasesEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 571 | return tr("has set room aliases on server %1 to: %2") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 572 | .arg(e.stateKey(), | ~~~~~~~~~~~~~~~~~~ 573 | QLocale().createSeparatedList(e.aliases())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 574 | } | ~ 575 | , [] (const RoomCanonicalAliasEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 576 | return (e.alias().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 577 | ? tr("cleared the room main alias") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 578 | : tr("set the room main alias to: %1").arg(e.alias()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 579 | } | ~ 580 | , [] (const RoomNameEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 581 | return (e.name().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 582 | ? tr("cleared the room name") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 583 | : tr("set the room name to: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | .arg(e.name().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 | } | ~ 586 | , [this] (const RoomTopicEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | return (e.topic().isEmpty()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | ? tr("cleared the topic") | ~~~~~~~~~~~~~~~~~~~~~~~~~ 589 | : tr("set the topic to: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 590 | .arg(m_currentRoom->prettyPrint(e.topic())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 591 | } | ~ 592 | , [] (const RoomAvatarEvent&) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 593 | return tr("changed the room avatar"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | } | ~ 595 | , [] (const EncryptionEvent&) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 596 | return tr("activated End-to-End Encryption"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | } | ~ 598 | , [] (const RoomCreateEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | return (e.isUpgrade() | ~~~~~~~~~~~~~~~~~~~~~ 600 | ? tr("upgraded the room to version %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 601 | : tr("created the room, version %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 602 | ).arg(e.version().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 | ? "1" : e.version().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 604 | } | ~ 605 | , [] (const RoomTombstoneEvent& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | return tr("upgraded the room: %1") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | .arg(e.serverMessage().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 608 | } | ~ 609 | , [] (const StateEventBase& e) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 610 | // A small hack for state events from TWIM bot | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 611 | return e.stateKey() == "twim" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 612 | ? tr("updated the database", "TWIM bot updated the database") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 613 | : e.stateKey().isEmpty() | ~~~~~~~~~~~~~~~~~~~~~~~~ 614 | ? tr("updated %1 state", "%1 - Matrix event type") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 615 | .arg(e.matrixType()) | ~~~~~~~~~~~~~~~~~~~~ 616 | : tr("updated %1 state for %2", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 617 | "%1 - Matrix event type, %2 - state key") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | .arg(e.matrixType(), e.stateKey().toHtmlEscaped()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | } | ~ 620 | , tr("Unknown event") | ~~~~~~~~~~~~~~~~~~~~~ 621 | ); | ~ 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-0.0.95.1/client/models/messageeventmodel.cpp:627:32: warning: 'QByteArray Quotient::Event::originalJson() const' is deprecated: Use fullJson() and stringify it with QJsonDocument::toJson() or by other means [-Wdeprecated-declarations] 627 | return evt.originalJson(); | ~~~~~~~~~~~~~~~~^~ /usr/include/Quotient/events/event.h:308:16: note: declared here 308 | QByteArray originalJson() const; | ^~~~~~~~~~~~ /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:653: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] 653 | 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-0.0.95.1/client/models/messageeventmodel.cpp:761:49: warning: 'using StateEventBase = class Quotient::StateEvent' is deprecated: StateEventBase is StateEvent now [-Wdeprecated-declarations] 761 | 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-0.0.95.1/client/models/messageeventmodel.cpp:769:20: error: 'const class Quotient::RoomEvent' has no member named 'isReplaced'; did you mean 'isRedacted'? 769 | return evt.isReplaced() ? EventStatus::Replaced : EventStatus::Normal; | ^~~~~~~~~~ | isRedacted make[2]: *** [CMakeFiles/quaternion.dir/build.make:483: CMakeFiles/quaternion.dir/client/profiledialog.cpp.o] Error 1 /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:797:72: warning: 'static constexpr auto Quotient::EventRelation::Annotation()' is deprecated: Use AnnotationType variable instead [-Wdeprecated-declarations] 797 | 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-0.0.95.1/client/models/messageeventmodel.cpp: In lambda function: /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:802:72: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 802 | return r.key == e->relation().key; | ~~~~~~~~~~~^~ In file included from /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:38: /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-0.0.95.1/client/models/messageeventmodel.cpp: In member function 'virtual QVariant MessageEventModel::data(const QModelIndex&, int) const': /home/buildozer/aports/community/quaternion/src/Quaternion-0.0.95.1/client/models/messageeventmodel.cpp:805:73: warning: 'Quotient::EventRelation Quotient::ReactionEvent::relation() const' is deprecated: Use eventId(), key(), or content().value instead [-Wdeprecated-declarations] 805 | 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-0.0.95.1/client/models/messageeventmodel.cpp:852: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] 852 | return visit( | ~~~~~^ 853 | evt, [](const RoomCreateEvent& e) { return e.predecessor().roomId; }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 854 | [](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) | ^~~~~ make[2]: *** [CMakeFiles/quaternion.dir/build.make:217: CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o] Error 1 make[2]: *** [CMakeFiles/quaternion.dir/build.make:357: CMakeFiles/quaternion.dir/client/mainwindow.cpp.o] Error 1 make[2]: *** [CMakeFiles/quaternion.dir/build.make:497: CMakeFiles/quaternion.dir/client/models/messageeventmodel.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/quaternion.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 >>> ERROR: quaternion: build failed >>> quaternion: Uninstalling dependencies... (1/208) Purging .makedepends-quaternion (20221220.222819) (2/208) Purging qt5-qtquickcontrols (5.15.6_git20220816-r0) (3/208) Purging cmake (3.25.1-r0) (4/208) Purging libsecret-dev (0.20.5-r0) (5/208) Purging libsecret (0.20.5-r0) (6/208) Purging qt5-qtquickcontrols2-dev (5.15.6_git20220907-r0) (7/208) Purging qt5-qtquickcontrols2 (5.15.6_git20220907-r0) (8/208) Purging qt5-qtgraphicaleffects (5.15.6_git20220816-r0) (9/208) Purging qt5-qttools-dev (5.15.6_git20220907-r1) (10/208) Purging libquotient-dev (0.7.0-r0) (11/208) Purging olm-dev (3.2.13-r1) (12/208) Purging qt5-qtmultimedia-dev (5.15.6_git20220907-r0) (13/208) Purging libquotient (0.7.0-r0) (14/208) Purging qt5-qtkeychain-dev (0.13.2-r0) (15/208) Purging qt5-qtkeychain (0.13.2-r0) (16/208) Purging gnome-keyring (42.1-r0) (17/208) Purging qt5-qtmultimedia (5.15.6_git20220907-r0) (18/208) Purging libgcrypt-dev (1.10.1-r0) (19/208) Purging qt5-qtdeclarative-dev (5.15.6_git20220908-r0) (20/208) Purging qt5-qttools (5.15.6_git20220907-r1) (21/208) Purging qt5-qtwayland (5.15.6_git20220927-r1) (22/208) Purging git-perl (2.39.0-r0) (23/208) Purging perl-git (2.39.0-r0) (24/208) Purging perl-error (0.17029-r1) (25/208) Purging qt5-qtbase-dev (5.15.6_git20221010-r1) (26/208) Purging qt5-qtbase-sqlite (5.15.6_git20221010-r1) (27/208) Purging qt5-qtbase-odbc (5.15.6_git20221010-r1) (28/208) Purging qt5-qtbase-postgresql (5.15.6_git20221010-r1) (29/208) Purging qt5-qtbase-mysql (5.15.6_git20221010-r1) (30/208) Purging qt5-qtbase-tds (5.15.6_git20221010-r1) (31/208) Purging dbus-dev (1.14.4-r0) (32/208) Purging fontconfig-dev (2.14.1-r0) (33/208) Purging freetype-dev (2.12.1-r0) (34/208) Purging glib-dev (2.74.3-r2) (35/208) Purging bzip2-dev (1.0.8-r4) (36/208) Purging docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-deinstall (37/208) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (38/208) Purging gettext-dev (0.21.1-r1) (39/208) Purging gettext-asprintf (0.21.1-r1) (40/208) Purging gettext (0.21.1-r1) (41/208) Purging libxml2-utils (2.10.3-r2) (42/208) Purging libxslt (1.1.37-r0) (43/208) Purging python3 (3.11.1-r1) (44/208) Purging libpng-dev (1.6.39-r2) (45/208) Purging libsm-dev (1.2.4-r0) (46/208) Purging mesa-dev (22.3.1-r0) (47/208) Purging libxdamage-dev (1.1.6-r0) (48/208) Purging libxshmfence-dev (1.3.2-r0) (49/208) Purging mesa-gles (22.3.1-r0) (50/208) Purging mesa-osmesa (22.3.1-r0) (51/208) Purging mesa-xatracker (22.3.1-r0) (52/208) Purging openssl-dev (3.0.7-r1) (53/208) Purging perl (5.36.0-r0) (54/208) Purging sqlite-dev (3.40.0-r0) (55/208) Purging sqlite-libs (3.40.0-r0) (56/208) Purging qt5-qtdeclarative (5.15.6_git20220908-r0) (57/208) Purging qt5-qtbase-x11 (5.15.6_git20221010-r1) (58/208) Purging xdg-utils (1.1.3-r4) (59/208) Purging xset (1.2.5-r0) (60/208) Purging xprop (1.2.6-r0) (61/208) Purging qt5-qtbase (5.15.6_git20221010-r1) (62/208) Purging icu-libs (72.1-r1) (63/208) Purging icu-data-full (72.1-r1) (64/208) Purging gtk+3.0 (3.24.35-r2) Executing gtk+3.0-3.24.35-r2.post-deinstall (65/208) Purging gtk-update-icon-cache (3.24.35-r2) (66/208) Purging hicolor-icon-theme (0.17-r2) (67/208) Purging libatk-bridge-2.0 (2.46.0-r0) (68/208) Purging cups-libs (2.4.2-r1) (69/208) Purging avahi-libs (0.8-r6) (70/208) Purging at-spi2-core (2.46.0-r0) (71/208) Purging dbus-libs (1.14.4-r0) (72/208) Purging libffi-dev (3.4.4-r0) (73/208) Purging clang15-libclang (15.0.6-r2) (74/208) Purging llvm15-libs (15.0.6-r1) (75/208) Purging gst-plugins-base (1.20.5-r0) (76/208) Purging pango (1.50.12-r0) Executing pango-1.50.12-r0.pre-deinstall (77/208) Purging gdk-pixbuf (2.42.10-r2) Executing gdk-pixbuf-2.42.10-r2.pre-deinstall (78/208) Purging shared-mime-info (2.2-r2) Executing shared-mime-info-2.2-r2.post-deinstall (79/208) Purging gcr-base (3.41.1-r1) (80/208) Purging gstreamer (1.20.5-r0) (81/208) Purging cairo-gobject (1.17.6-r3) (82/208) Purging harfbuzz (6.0.0-r0) (83/208) Purging graphene (1.10.8-r1) (84/208) Purging libatk-1.0 (2.46.0-r0) (85/208) Purging glib (2.74.3-r2) (86/208) Purging wayland-libs-cursor (1.21.0-r1) (87/208) Purging mesa-egl (22.3.1-r0) (88/208) Purging wayland-libs-client (1.21.0-r1) (89/208) Purging gnutls (3.7.8-r2) (90/208) Purging p11-kit (0.24.1-r1) (91/208) Purging mesa-gbm (22.3.1-r0) (92/208) Purging wayland-libs-server (1.21.0-r1) (93/208) Purging libffi (3.4.4-r0) (94/208) Purging gettext-libs (0.21.1-r1) (95/208) Purging libintl (0.21.1-r1) (96/208) Purging util-linux-dev (2.38.1-r1) (97/208) Purging libfdisk (2.38.1-r1) (98/208) Purging libmount (2.38.1-r1) (99/208) Purging libsmartcols (2.38.1-r1) (100/208) Purging libblkid (2.38.1-r1) (101/208) Purging pcre2-dev (10.42-r0) (102/208) Purging libedit-dev (20221030.3.1-r0) (103/208) Purging bsd-compat-headers (0.7.2-r3) (104/208) Purging ncurses-dev (6.3_p20221217-r0) (105/208) Purging zlib-dev (1.2.13-r0) (106/208) Purging libpcre2-32 (10.42-r0) (107/208) Purging libpcre2-16 (10.42-r0) (108/208) Purging libxxf86vm-dev (1.1.5-r0) (109/208) Purging libxfixes-dev (6.0.0-r0) (110/208) Purging libxext-dev (1.3.5-r0) (111/208) Purging libx11-dev (1.8.2-r1) (112/208) Purging xtrans (1.4.0-r2) (113/208) Purging libxcb-dev (1.15-r0) (114/208) Purging xcb-proto (1.15.2-r1) (115/208) Purging libxau-dev (1.0.11-r0) (116/208) Purging mesa-gl (22.3.1-r0) (117/208) Purging mesa (22.3.1-r0) (118/208) Purging xcb-util-renderutil (0.3.10-r0) (119/208) Purging cairo (1.17.6-r3) (120/208) Purging xcb-util-image (0.4.1-r0) (121/208) Purging libxkbcommon-x11 (1.4.1-r0) (122/208) Purging xcb-util-wm (0.4.2-r0) (123/208) Purging libxmu (1.1.4-r0) (124/208) Purging libxi (1.8-r0) (125/208) Purging libxv (1.0.12-r0) (126/208) Purging libxrandr (1.5.3-r0) (127/208) Purging libxinerama (1.1.5-r0) (128/208) Purging libxtst (1.2.4-r0) (129/208) Purging libxxf86vm (1.1.5-r0) (130/208) Purging libxext (1.3.5-r0) (131/208) Purging libxcursor (1.2.1-r1) (132/208) Purging libxdamage (1.1.6-r0) (133/208) Purging libxft (2.3.7-r0) (134/208) Purging libxrender (0.9.11-r0) (135/208) Purging libxt (1.2.1-r1) (136/208) Purging libxcomposite (0.4.6-r0) (137/208) Purging libxfixes (6.0.0-r0) (138/208) Purging libx11 (1.8.2-r1) (139/208) Purging xcb-util-keysyms (0.4.1-r0) (140/208) Purging xcb-util (0.4.1-r0) (141/208) Purging libxcb (1.15-r0) (142/208) Purging libxau (1.0.11-r0) (143/208) Purging libxdmcp-dev (1.1.4-r0) (144/208) Purging libxdmcp (1.1.4-r0) (145/208) Purging libbsd (0.11.7-r0) (146/208) Purging libmd (1.0.4-r0) (147/208) Purging libice-dev (1.1.1-r0) (148/208) Purging libsm (1.2.4-r0) (149/208) Purging libice (1.1.1-r0) (150/208) Purging libuuid (2.38.1-r1) (151/208) Purging libdrm-dev (2.4.114-r0) (152/208) Purging linux-headers (6.1.0-r0) (153/208) Purging libdrm (2.4.114-r0) (154/208) Purging libpciaccess-dev (0.17-r0) (155/208) Purging libpciaccess (0.17-r0) (156/208) Purging hwdata-pci (0.365-r0) (157/208) Purging mesa-glapi (22.3.1-r0) (158/208) Purging libxshmfence (1.3.2-r0) (159/208) Purging nettle (3.8.1-r0) (160/208) Purging libtasn1 (4.19.0-r0) (161/208) Purging libunistring (1.1-r0) (162/208) Purging fontconfig (2.14.1-r0) (163/208) Purging freetype (2.12.1-r0) (164/208) Purging libarchive (3.6.2-r1) (165/208) Purging libbz2 (1.0.8-r4) (166/208) Purging libpng (1.6.39-r2) (167/208) Purging libxkbcommon (1.4.1-r0) (168/208) Purging xkeyboard-config (2.37-r0) (169/208) Purging libxml2 (2.10.3-r2) (170/208) Purging xz-libs (5.4.0-r0) (171/208) Purging tiff (4.5.0-r1) (172/208) Purging libjpeg-turbo (2.1.4-r0) (173/208) Purging libwebp (1.2.4-r1) (174/208) Purging pixman (0.42.2-r0) (175/208) Purging libepoxy (1.5.10-r0) (176/208) Purging fribidi (1.0.12-r0) (177/208) Purging graphite2 (1.3.14-r2) (178/208) Purging wayland-libs-egl (1.21.0-r1) (179/208) Purging libinput-libs (1.22.0-r0) (180/208) Purging libevdev (1.13.0-r0) (181/208) Purging mtdev (1.1.6-r1) (182/208) Purging eudev-libs (3.2.11-r6) (183/208) Purging rhash-libs (1.4.3-r1) (184/208) Purging libuv (1.44.2-r0) (185/208) Purging olm (3.2.13-r1) (186/208) Purging freetds (1.3.16-r0) (187/208) Purging unixodbc (2.3.11-r0) (188/208) Purging readline (8.2.0-r0) (189/208) Purging libpq (15.1-r1) (190/208) Purging mariadb-connector-c (3.3.3-r0) (191/208) Purging expat-dev (2.5.0-r0) (192/208) Purging expat (2.5.0-r0) (193/208) Purging brotli-dev (1.0.9-r10) (194/208) Purging brotli (1.0.9-r10) (195/208) Purging libgpg-error-dev (1.46-r1) (196/208) Purging libgcrypt (1.10.1-r0) (197/208) Purging libgpg-error (1.46-r1) (198/208) Purging gdbm (1.23-r0) (199/208) Purging mpdecimal (2.5.1-r1) (200/208) Purging xorgproto (2022.2-r0) (201/208) Purging linux-pam (1.5.2-r1) (202/208) Purging alsa-lib (1.2.8-r0) (203/208) Purging cdparanoia-libs (10.2-r11) (204/208) Purging libtheora (1.1.1-r16) (205/208) Purging libvorbis (1.3.7-r0) (206/208) Purging libogg (1.3.5-r2) (207/208) Purging opus (1.3.1-r1) (208/208) Purging orc (0.4.33-r0) Executing busybox-1.35.0-r29.trigger OK: 391 MiB in 98 packages