Package Details: spectral-matrix 854-2

Git Clone URL: https://aur.archlinux.org/spectral-matrix.git (read-only, click to copy)
Package Base: spectral-matrix
Description: Glossy cross-platform client for Matrix
Upstream URL: https://gitlab.com/spectral-im/spectral
Licenses: GPL-3.0-or-later
Conflicts: spectral-matrix-git
Submitter: tbk
Maintainer: None
Last Packager: tbk
Votes: 3
Popularity: 0.000000
First Submitted: 2020-03-17 15:04 (UTC)
Last Updated: 2020-06-06 17:09 (UTC)

Latest Comments

« First ‹ Previous 1 2

RubenKelevra commented on 2020-04-21 07:00 (UTC)

I have issues building this package on my system:

make[2]: Entering directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
[ 63%] Generating qrc_res.cpp
Scanning dependencies of target spectral
make[2]: Leaving directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
make[2]: Entering directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
[ 65%] Building CXX object CMakeFiles/spectral.dir/spectral_autogen/mocs_compilation.cpp.o
In file included from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build/spectral_autogen/UVLADIE3JM/moc_matriximageprovider.cpp:10,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build/spectral_autogen/mocs_compilation.cpp:6:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h: In member function ‘void MatrixImageProvider::setConnection(Quotient::Connection*)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h:59:34: warning: ‘void QBasicAtomicPointer<X>::store(QBasicAtomicPointer<X>::Type) [with X = Quotient::Connection; QBasicAtomicPointer<X>::Type = Quotient::Connection*]’ is deprecated: Use storeRelaxed [-Wdeprecated-declarations]
   59 |     m_connection.store(connection);
      |                                  ^
In file included from /usr/include/qt/QtCore/qatomic.h:46,
                 from /usr/include/qt/QtCore/qglobal.h:1302,
                 from /usr/include/qt/QtGui/qtguiglobal.h:43,
                 from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/qt/QtWidgets/qapplication.h:43,
                 from /usr/include/qt/QtWidgets/QApplication:1,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/controller.h:4,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/accountlistmodel.h:4,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build/spectral_autogen/UVLADIE3JM/moc_accountlistmodel.cpp:10,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build/spectral_autogen/mocs_compilation.cpp:2:
/usr/include/qt/QtCore/qbasicatomic.h:245:59: note: declared here
  245 |     QT_DEPRECATED_VERSION_X_5_14("Use storeRelaxed") void store(Type newValue) noexcept { storeRelaxed(newValue); }
      |                                                           ^~~~~
[ 67%] Building CXX object CMakeFiles/spectral.dir/src/accountlistmodel.cpp.o
[ 69%] Building CXX object CMakeFiles/spectral.dir/src/controller.cpp.o
[ 71%] Building CXX object CMakeFiles/spectral.dir/src/emojimodel.cpp.o
[ 73%] Building CXX object CMakeFiles/spectral.dir/src/imageclipboard.cpp.o
[ 75%] Building CXX object CMakeFiles/spectral.dir/src/matriximageprovider.cpp.o
In file included from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.cpp:1:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h: In member function ‘void MatrixImageProvider::setConnection(Quotient::Connection*)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h:59:34: warning: ‘void QBasicAtomicPointer<X>::store(QBasicAtomicPointer<X>::Type) [with X = Quotient::Connection; QBasicAtomicPointer<X>::Type = Quotient::Connection*]’ is deprecated: Use storeRelaxed [-Wdeprecated-declarations]
   59 |     m_connection.store(connection);
      |                                  ^
In file included from /usr/include/qt/QtCore/qatomic.h:46,
                 from /usr/include/qt/QtCore/qglobal.h:1302,
                 from /usr/include/qt/QtQml/qtqmlglobal.h:47,
                 from /usr/include/qt/QtQuick/qtquickglobal.h:43,
                 from /usr/include/qt/QtQuick/qquickimageprovider.h:43,
                 from /usr/include/qt/QtQuick/QQuickAsyncImageProvider:1,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h:5,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.cpp:1:
/usr/include/qt/QtCore/qbasicatomic.h:245:59: note: declared here
  245 |     QT_DEPRECATED_VERSION_X_5_14("Use storeRelaxed") void store(Type newValue) noexcept { storeRelaxed(newValue); }
      |                                                           ^~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.cpp: In member function ‘virtual QQuickImageResponse* MatrixImageProvider::requestImageResponse(const QString&, const QSize&)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.cpp:114:50: warning: ‘X* QBasicAtomicPointer<X>::load() const [with X = Quotient::Connection; QBasicAtomicPointer<X>::Type = Quotient::Connection*]’ is deprecated: Use loadRelaxed [-Wdeprecated-declarations]
  114 |   return new ThumbnailResponse(m_connection.load(), id, requestedSize);
      |                                                  ^
In file included from /usr/include/qt/QtCore/qatomic.h:46,
                 from /usr/include/qt/QtCore/qglobal.h:1302,
                 from /usr/include/qt/QtQml/qtqmlglobal.h:47,
                 from /usr/include/qt/QtQuick/qtquickglobal.h:43,
                 from /usr/include/qt/QtQuick/qquickimageprovider.h:43,
                 from /usr/include/qt/QtQuick/QQuickAsyncImageProvider:1,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.h:5,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/matriximageprovider.cpp:1:
/usr/include/qt/QtCore/qbasicatomic.h:244:58: note: declared here
  244 |     QT_DEPRECATED_VERSION_X_5_14("Use loadRelaxed") Type load() const noexcept { return loadRelaxed(); }
      |                                                          ^~~~
[ 76%] Building CXX object CMakeFiles/spectral.dir/src/messageeventmodel.cpp.o
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp: In constructor ‘MessageEventModel::MessageEventModel(QObject*)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:45:37: warning: ‘int qmlRegisterType() [with T = Quotient::FileTransferInfo]’ is deprecated: Use qmlRegisterAnonymousType instead [-Wdeprecated-declarations]
   45 |   qmlRegisterType<FileTransferInfo>();
      |                                     ^
In file included from /usr/include/qt/QtQml/QtQml:9,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:13:
/usr/include/qt/QtQml/qqml.h:138:74: note: declared here
  138 | QT_DEPRECATED_VERSION_X_5_14("Use qmlRegisterAnonymousType instead") int qmlRegisterType()
      |                                                                          ^~~~~~~~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:45:37: warning: ‘int qmlRegisterType() [with T = Quotient::FileTransferInfo]’ is deprecated: Use qmlRegisterAnonymousType instead [-Wdeprecated-declarations]
   45 |   qmlRegisterType<FileTransferInfo>();
      |                                     ^
In file included from /usr/include/qt/QtQml/QtQml:9,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:13:
/usr/include/qt/QtQml/qqml.h:138:74: note: declared here
  138 | QT_DEPRECATED_VERSION_X_5_14("Use qmlRegisterAnonymousType instead") int qmlRegisterType()
      |                                                                          ^~~~~~~~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp: In function ‘bool hasValidTimestamp(const Quotient::TimelineItem&)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:210:24: warning: ‘QDateTime Quotient::RoomEvent::timestamp() const’ is deprecated: Use originTimestamp() [-Wdeprecated-declarations]
  210 |   return ti->timestamp().isValid();
      |                        ^
In file included from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/eventitem.h:21,
                 from /usr/include/Quotient/room.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.h:6,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:1:
/usr/include/Quotient/events/roomevent.h:50:55: note: declared here
   50 |     [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const {
      |                                                       ^~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp: In member function ‘QDateTime MessageEventModel::makeMessageTimestamp(const rev_iter_t&) const’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:216:40: warning: ‘QDateTime Quotient::RoomEvent::timestamp() const’ is deprecated: Use originTimestamp() [-Wdeprecated-declarations]
  216 |   auto ts = baseIt->event()->timestamp();
      |                                        ^
In file included from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/eventitem.h:21,
                 from /usr/include/Quotient/room.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.h:6,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:1:
/usr/include/Quotient/events/roomevent.h:50:55: note: declared here
   50 |     [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const {
      |                                                       ^~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:225:37: warning: ‘QDateTime Quotient::RoomEvent::timestamp() const’ is deprecated: Use originTimestamp() [-Wdeprecated-declarations]
  225 |     return {rit->event()->timestamp().date(), {0, 0}, Qt::LocalTime};
      |                                     ^
In file included from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/eventitem.h:21,
                 from /usr/include/Quotient/room.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.h:6,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:1:
/usr/include/Quotient/events/roomevent.h:50:55: note: declared here
   50 |     [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const {
      |                                                       ^~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:228:36: warning: ‘QDateTime Quotient::RoomEvent::timestamp() const’ is deprecated: Use originTimestamp() [-Wdeprecated-declarations]
  228 |     return {it->event()->timestamp().date(), {0, 0}, Qt::LocalTime};
      |                                    ^
In file included from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/eventitem.h:21,
                 from /usr/include/Quotient/room.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.h:6,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/messageeventmodel.cpp:1:
/usr/include/Quotient/events/roomevent.h:50:55: note: declared here
   50 |     [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const {
      |                                                       ^~~~~~~~~
[ 78%] Building CXX object CMakeFiles/spectral.dir/src/roomlistmodel.cpp.o
[ 80%] Building CXX object CMakeFiles/spectral.dir/src/spectralroom.cpp.o
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In member function ‘QDateTime SpectralRoom::lastActiveTime() const’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:168:53: warning: ‘QDateTime Quotient::RoomEvent::timestamp() const’ is deprecated: Use originTimestamp() [-Wdeprecated-declarations]
  168 |   return messageEvents().rbegin()->get()->timestamp();
      |                                                     ^
In file included from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/events/encryptionevent.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.h:4,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:1:
/usr/include/Quotient/events/roomevent.h:50:55: note: declared here
   50 |     [[deprecated("Use originTimestamp()")]] QDateTime timestamp() const {
      |                                                       ^~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In member function ‘QString SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:357:16: error: ‘RoomCanonicalAliasEvent’ does not name a type
  357 |       [](const RoomCanonicalAliasEvent& e) {
      |                ^~~~~~~~~~~~~~~~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:362:7: error: expected identifier before ‘[’ token
  362 |       [](const RoomNameEvent& e) {
      |       ^
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:362:32: error: creating array of functions
  362 |       [](const RoomNameEvent& e) {
      |                                ^
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:362:33: error: expected ‘)’ before ‘{’ token
  362 |       [](const RoomNameEvent& e) {
      |                                 ^~
      |                                 )
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:357:9: note: to match this ‘(’
  357 |       [](const RoomCanonicalAliasEvent& e) {
      |         ^
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In lambda function:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:363:17: error: ‘e’ was not declared in this scope
  363 |         return (e.name().isEmpty()) ? tr("cleared the room name")
      |                 ^
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In member function ‘void SpectralRoom::addLocalAlias(const QString&)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:409:31: warning: ‘QStringList Quotient::Room::localAliases() const’ is deprecated: Use aliases() [-Wdeprecated-declarations]
  409 |   auto aliases = localAliases();
      |                               ^
In file included from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.h:16,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:1:
/usr/include/Quotient/room.h:194:17: note: declared here
  194 |     QStringList localAliases() const;
      |                 ^~~~~~~~~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In member function ‘void SpectralRoom::removeLocalAlias(const QString&)’:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:419:31: warning: ‘QStringList Quotient::Room::localAliases() const’ is deprecated: Use aliases() [-Wdeprecated-declarations]
  419 |   auto aliases = localAliases();
      |                               ^
In file included from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.h:16,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:1:
/usr/include/Quotient/room.h:194:17: note: declared here
  194 |     QStringList localAliases() const;
      |                 ^~~~~~~~~~~~
In file included from /usr/include/Quotient/events/roomevent.h:21,
                 from /usr/include/Quotient/events/stateevent.h:21,
                 from /usr/include/Quotient/events/encryptionevent.h:22,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.h:4,
                 from /home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:1:
/usr/include/Quotient/events/event.h: In instantiation of ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’:
/usr/include/Quotient/events/event.h:377:17:   recursively required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/usr/include/Quotient/events/event.h:377:17:   required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMessageEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:395:26:   required from here
/usr/include/Quotient/events/event.h:377:17: error: could not convert ‘Quotient::visit<Quotient::RoomEvent, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString>((* & event), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)> >((* & visitor2))), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)> >((* & visitors#0))), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)> >((* & visitors#1))), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)> >((* & visitors#2))), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)> >((* & visitors#3))), (* & std::forward<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)> >((* & visitors#4))), (* & std::forward<QString>((* & visitors#5))))’ from ‘Quotient::fn_return_t<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)> >’ {aka ‘void’} to ‘Quotient::fn_return_t<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)> >’ {aka ‘QString’}
  377 |     return visit(event, std::forward<FnT2>(visitor2),
      |            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 |
      |                 Quotient::fn_return_t<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)> > {aka void}
  378 |                  std::forward<FnTs>(visitors)...);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/Quotient/events/event.h: In instantiation of ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = void]’:
/usr/include/Quotient/events/event.h:377:17:   recursively required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/usr/include/Quotient/events/event.h:377:17:   required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMessageEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:395:26:   required from here
/usr/include/Quotient/events/event.h:376:25: error: invalid static_cast from type ‘const Quotient::RoomEvent’ to type ‘event_type1&’ {aka ‘int&’}
  376 |         return visitor1(static_cast<event_type1&>(event));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/Quotient/events/event.h:376:57: error: return-statement with a value, in function returning ‘Quotient::fn_return_t<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)> >’ {aka ‘void’} [-fpermissive]
  376 |         return visitor1(static_cast<event_type1&>(event));
      |                                                         ^
/usr/include/Quotient/events/event.h:378:49: error: return-statement with a value, in function returning ‘Quotient::fn_return_t<SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)> >’ {aka ‘void’} [-fpermissive]
  378 |                  std::forward<FnTs>(visitors)...);
      |                                                 ^
/usr/include/Quotient/events/event.h: In instantiation of ‘static Quotient::event_type_t Quotient::EventTypeRegistry::initializeTypeId() [with EventT = int; Quotient::event_type_t = long unsigned int]’:
/usr/include/Quotient/events/event.h:124:75:   required from ‘static Quotient::event_type_t Quotient::EventTypeTraits<EventT>::id() [with EventT = int; Quotient::event_type_t = long unsigned int]’
/usr/include/Quotient/events/event.h:132:53:   required from ‘Quotient::event_type_t Quotient::typeId() [with EventT = int; Quotient::event_type_t = long unsigned int]’
/usr/include/Quotient/events/event.h:312:38:   required from ‘bool Quotient::is(const Quotient::Event&) [with EventT = int]’
/usr/include/Quotient/events/event.h:377:17:   recursively required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/usr/include/Quotient/events/event.h:377:17:   required from ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMessageEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomMemberEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAliasesEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(int)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:395:26:   required from here
/usr/include/Quotient/events/event.h:95:53: error: ‘matrixTypeId’ is not a member of ‘int’
   95 |         return initializeTypeId(EventT::matrixTypeId());
      |                                 ~~~~~~~~~~~~~~~~~~~~^~
/usr/include/Quotient/events/event.h: At global scope:
/usr/include/Quotient/events/event.h:371:26: error: ‘Quotient::fn_return_t<FnT> Quotient::visit(const BaseEventT&, FnT1&&, FnT2&&, FnTs&& ...) [with BaseEventT = Quotient::RoomEvent; FnT1 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>; FnT2 = SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomAvatarEvent&)>; FnTs = {SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::EncryptionEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomCreateEvent&)>, SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::StateEventBase&)>, QString}; Quotient::fn_return_t<FnT> = QString]’, declared using local type ‘SpectralRoom::eventToString(const Quotient::RoomEvent&, Qt::TextFormat, bool) const::<lambda(const Quotient::RoomTopicEvent&)>’, is used but never defined [-fpermissive]
  371 | inline fn_return_t<FnT1> visit(const BaseEventT& event, FnT1&& visitor1,
      |                          ^~~~~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp: In lambda function:
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:289:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  289 |             if (e.repeatsState())
      |             ^~
/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/src/spectralroom.cpp:291:11: note: here
  291 |           case MembershipType::Join: {
      |           ^~~~
make[2]: *** [CMakeFiles/spectral.dir/build.make:251: CMakeFiles/spectral.dir/src/spectralroom.cpp.o] Error 1
make[2]: Leaving directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/spectral.dir/all] Error 2
make[1]: Leaving directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
make: *** [Makefile:150: all] Error 2
make: Leaving directory '/home/ruben/.cache/yay/spectral-matrix/src/spectral-817/build'
==> ERROR: A failure occurred in build().
    Aborting...
Error making: spectral-matrix

pioneer commented on 2020-04-05 23:07 (UTC)

Actually, I have edited this PKGBUILD to match the latest commit from the master branch, and it went smoothly. So maybe just updating the PKGBUILD will do the job.

tbk commented on 2020-03-28 09:21 (UTC)

@pioneer Unfortunately I can not diagnose the issue from the log snippet you provided.

CMakeFiles/Makefile2 line 115 is $(MAKE) -f CMakeFiles/spectral.dir/build.make CMakeFiles/spectral.dir/build

Are there any logs in the CMakeFiles/spectral.dir directory?

pioneer commented on 2020-03-27 14:22 (UTC)

Fails with the following:

...
In file included from /usr/include/qt/QtCore/qatomic.h:46,
                 from /usr/include/qt/QtCore/qglobal.h:1302,
                 from /usr/include/qt/QtGui/qtguiglobal.h:43,
                 from /usr/include/qt/QtGui/qfontdatabase.h:43,
                 from /usr/include/qt/QtGui/QFontDatabase:1,
                 from /var/tmp/pamac-build-pioneer/spectral-matrix/src/spectral-817/src/main.cpp:1:
/usr/include/qt/QtCore/qbasicatomic.h:245:59: note: declared here
  245 |     QT_DEPRECATED_VERSION_X_5_14("Use storeRelaxed") void store(Type newValue) noexcept { storeRelaxed(newValue); }
      |                                                           ^~~~~
make[2]: Leaving directory '/var/tmp/pamac-build-pioneer/spectral-matrix/src/spectral-817/build'
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/spectral.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-pioneer/spectral-matrix/src/spectral-817/build'
make: *** [Makefile:147: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-pioneer/spectral-matrix/src/spectral-817/build'
==> ERROR: A failure occurred in build().
    Aborting...